WordPress.org

Ready to get started?Download WordPress

Forums

Fast Secure Contact Form
Different custom fields based on subject ? (3 posts)

  1. Iamhere
    Member
    Posted 2 years ago #

    Hi Mike

    Is it possible to use html / if statement in the "HTML before form field" to target which subject the user has selected ?

    Example: Subject is car, bike, bus

    On selection of car, extra field 1 shows (e.g. car model dropdown)
    On selection of bike extra field 2 shows (e.g. bike age radio)
    on selection of bus, extra field 3 shows (e.g. bus trips per year text field)

    Thanks

    http://wordpress.org/extend/plugins/si-contact-form/

  2. Iamhere
    Member
    Posted 2 years ago #

    can't edit - so here's code eg something like this

    HTML before form field 1 <?php if (select id="si_contact_subject_ID1";) continue else; return;

    You get the idea! ?

    Can it be done!!

    I found this about contact form 7 - but would rather stick with SiCF :-)
    http://wordpress.org/support/topic/plugin-contact-form-7-this-is-how-to-showhide-fields-with-jquery?replies=18

  3. Mike Challis
    Member
    Plugin Author

    Posted 1 year ago #

    sorry conditional fields are not an option at this time

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic