PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

One particular field disappears from my form completely - display:none is there

  1. beedle
    Member

    Trying to set up a check box for Terms and Conditions. Weird thing is that there's a style="display:none;" getting added to this field.

    <li id="field_1_25" class="gfield" style="display: none; ">
        <label class="gfield_label">You must agree to the contest rules before entering:</label>
        <div class="ginput_container">
            <ul class="gfield_checkbox" id="input_1_25">
                <li class="gchoice_25_1">
                    <input name="input_25.1" type="checkbox" value="Agreed to terms" id="choice_25_1" tabindex="115">
                    <label for="choice_25_1">I have read and agree to the Contest Rules above.</label>
                </li>
            </ul>
        </div>
    </li>

    I noticed that there are a number of posts in the forum about conflicts with other plugins (read one re Superfish). Wondering if that is my issue, but any help would be appreciated.

    Here's a link to the form I'm testing. http://goo.gl/GVlGO

    Thanks.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  2. Richard Vav
    Administrator

    Your problem isn't being caused by a plugin conflict, the reason the terms check box is being set to display: none is becuse you have enabled conditional logic on field 1 so that the terms check box is only displayed if they select 'war horse'.

    If you remove the conditional logic from field 1 the terms check box will be visible, I think what you want is to add your conditional logic to the form settings so the submit button is only enabled once they check the terms box.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  3. beedle
    Member

    Thanks very much, richardvav. Not sure how/when that got flipped on. There were two of us working on the form so we can blame each other. :)

    Thanks for the easy solve.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  4. Richard Vav
    Administrator

    No problem!

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink