• Resolved victoriaamoroso

    (@victoriaamoroso)


    Hello! Thank you so much for a useful plugin.
    I recently started to use the conditional form capabilities on the form at the bottom of this site

    One of the questions in the form states: Are you an independent contractor (IC)*? and if the user clicks Yes on the radio button, a drop down text appears. It was working a week ago and has stopped. I’ll paste my code below.

    <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ style=”font-size:14px”>
    <tr>
    <td width=”50%” valign=”top” align=”left” style=”padding-right:50px; text-align:left”>
    [text* agency-name placeholder “Agency Name*”]
    [tel* YourPhone placeholder “Phone Number*”]
    <b>State*</b> (select from dropdown):
    [select* State placeholder”select one” “Alabama ” “Alaska ” “Arizona ” “Arkansas ” “California ” “Colorado ” “Connecticut ” “Delaware ” “District of Columbia” “Florida ” “Georgia ” “Hawaii ” “Idaho ” “Illinois” “Indiana ” “Iowa ” “Kansas ” “Kentucky ” “Louisiana ” “Maine ” “Maryland ” “Massachusetts ” “Michigan ” “Minnesota ” “Mississippi ” “Missouri ” “Montana” “Nebraska ” “Nevada ” “New Hampshire ” “New Jersey ” “New Mexico ” “New York ” “North Carolina ” “North Dakota ” “Ohio ” “Oklahoma ” “Oregon ” “Pennsylvania” “Rhode Island ” “South Carolina ” “South Dakota ” “Tennessee ” “Texas ” “Utah ” “Vermont ” “Virginia ” “Washington ” “West Virginia ” “Wisconsin ” “Wyoming”]
    [text* ZipCode placeholder “Zip Code”]
    <b style=”font-size:14px;”>Are you an independent contractor (IC)*?</b> [radio independentcontractor default:0 “YES” “NO”]
    [group group-746]
    <fieldset>Travel Leaders Network only offers membership to credentialed Travel Agencies which meet a minimum annual sales threshold. If you’re an Advisor or an Independent contractor that’s currently with a Travel Leaders Network member agency, we encourage you to speak with your agency’s management to learn how you can access our programs. And if you’re not with a member agency and want to find one, visit travelleadershosts.com.
    </fieldset>
    [/group]

    <b style=”font-size:14px;”>Member of:*</b> [checkbox member “AMEX” “BCD” “ENSEMBLE” “SIGNATURE” “TRAVELSAVERS” “VIRTUOSO” “OTHER” “NONE”] <br>
    <b style=”font-size:14px;”>Registered with:*</b> [checkbox registered “ARC” “IATA” “CLIA” “ASTA” “TIDS” “TRUE” “TSID” “OTHER” “NONE”]
    </td>

    <td width=”50%” valign=”top” align=”left” style=”text-align:left”>
    [text* contact-name placeholder “Your Full Name*”]
    [email* your-email placeholder “Email Address*”]
    <b>Annual sales volume*</b> (select from dropdown): [select* volume placeholder”select one” “Less than $250,000” “$250,001 to $750,000” “$750,001 to $1,250,000” “$1,250,001 to $2,500,000” “$2,500,000 to $5,000,000” “$5,000,000+”]
    <b>Percentage of annual CORPORATE sales*</b> (select from dropdown):
    [select CorporateSales placeholder”select one” “0%-15%” “15%-30%” “30%-45%” “45%-60%” “60%+”]
    <b>Percentage of annual LEISURE sales*</b> (select from dropdown):
    [select LeisureSales placeholder”select one” “0%-15%” “15%-30%” “30%-45%” “45%-60%” “60%+”]

    <div style=”text-align:right; font-size:12px; color:#ee3132″> * Required Fields</div>
    </td>
    </tr>
    <tr>
    <td colspan=”2″ style=”padding-top:20px; text-align=”left”>
    <b>Enter your comments below so our representative can further assist you</b>
    [textarea textarea-702 “”]

    <div align=”center”>[recaptcha]</div>

    [submit “SUBMIT”]
    </td>
    </tr>

    </td>
    </tr>
    </table>

    Would you be able to assist please?
    Thank you so much!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    there was no update, so it’s probably something you changed. check your conditions and see if they are uppercase.

    if that doesn’t work try creating a smaller form and see if that works.

    also make sure all your field names are unique.

    keep in mind that groups resolve to div elements in HTML, so be careful nesting them in tables. try checking the generated HTML with an HTML validator

    Thread Starter victoriaamoroso

    (@victoriaamoroso)

    Thank you for getting back to me so quickly!

    So taking your advice, I tried making a new page and inserting your tutorial code, but the drop downs wont even appear. Here is the link

    Any idea on what I could be doing wrong?

    Plugin Author Jules Colle

    (@jules-colle)

    Hey, you have javascript errors on your page. Press F12 to open your developer console for more info.

    JavaScript errors cause all successive Javascript to break. That’s why the form does not work. You need to fix these errors first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Fields Not Working’ is closed to new replies.