Is it possible to have multiple check boxes selected as default?

  • Profile Image
    andrewapodaca
    Asked on September 25, 2010 at 02:21 AM

    If i have three check box selections: apple, banana, pear, I would like to have all items 'checked' at inception.

    By having the user deselect any item NOT desired is helpful vs. having them select the items. Reason for this is that the selections and context for the form solution is complex and the 'deselect' feature would work much better.

    thank you and fantastic service! Really like the new version.

    Andrew

  • Profile Image
    aytekin
    Answered on September 27, 2010 at 08:25 AM

    This could be possible but you will need to use the Full Source Code on your web site.

    To get full form source code, open your form on the Form Builder:
    1. Open "Setup & Share" tab on toolbar,
    2. Click on "Share Form"
    3. Click on "Advanced Options"
    4. Click on "Full Source Code".

    Then, copy it your web site, and find those checkbox fields. Add "checked" near them. Example:

    Before:

    <input type="checkbox" class="form-checkbox" id="input_4_1" name="q4_saa[]" value="Apple" />

    After:

    <input type="checkbox" class="form-checkbox" id="input_4_1" name="q4_saa[]" value="Apple" checked />

  • Profile Image
    andrewapodaca
    Answered on September 29, 2010 at 02:39 AM

    thank you! Always amazed at your coverage on this board. Thanks again for a great service.

  • Profile Image
    aytekin
    Answered on September 29, 2010 at 08:44 AM

    You're welcome. It's my pleasure.

  • Profile Image
    englipedia
    Answered on September 07, 2011 at 11:26 PM

    How would you suggest going about adding this extra code if I'm utilizing the Save Forms function, where you add in Page Breaks? You know, the function where you essentially make two forms instead of one, and the first one simply being the submitters name and email?

    When I add the source code into my website, I only add the name/email code and then it automatically jumps to the other code, which is still located on jotform, where I need to gain access to input the above suggested code.

     

    Suggestions?

  • Profile Image
    allanftd
    Answered on September 08, 2011 at 12:36 AM

    Hi englipedia,

    Thank you for your message. The suggested code above should work for all forms in general. But in order for us to better understand your concern, may we ask which among your forms you would like to add this custom code?

    We'll await your response.

    JOTFORM SUPPORT

  • Profile Image
    englipediaES
    Answered on September 08, 2011 at 12:54 AM

    I will eventually transition all my forms to this new method, but the one I'm testing it out on is this one: http://www.jotform.com/form/12491925242 

    Do you understand what was getting at in my last post?

    I followed all the steps jotform listed to apply the Save Form function to form linked above. To implement this function, you are required to make two forms: Form 1 and Form 2. Form 1 is only needed to send an email to the person filling out the form for the purposes they should get interupted while completing it, they can return sometime later and start where they left out.

    The real meat of the form is located in Form 2. Form 2 contains the source code that needs changing, but inevitible it's Form 1's source code that pasted into my website via Jotform's instructions on the Save Forms thread.

    I've got a couple workarounds I'm testing out. I'll let you know if I figure anything out.

  • Profile Image
    allanftd
    Answered on September 08, 2011 at 01:49 AM

    Hi englipedia/englipediaES,

    I have tested your form. In effect, you are using two different forms:

    FORM 1: http://www.jotform.com/form/12491925242 and 

    FORM 2: http://www.jotform.com/form/1248074723

    The above workaround provided by Aytekin should be applied to the full source code of FORM 2, specifically on the check box field (Parts of Learning and Class Size). 

    Please keep us updated witht he results of your testing. We're very eager to lend you a hand if needed.

    JOTFORM SUPPORT