What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Checkbox - can I save a different value than the displayed option text?

    Asked by G3Tech on April 28, 2011 at 01:32 AM

    I saw an example on the forum where there was HTML put in the options properties box.  That opens up some new thinking for me!  For one, I believe there's some HTML that will let you submit different text value for the field than the text describing the checkbox option.  Is there a format I can use to add this to a Jotform? 

    Example:
    [box] I have read the rules and I agree to follow them.

    Checking the box would send a "Y" to the database (blank or N for no check?) instead of putting "I have read the rules and I agree to follow them" in the database. 

    Thanks,
    GGG

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 28, 2011 at 04:47 PM

    Hi,

    I believe that that is not possible. The displayed option text is written in the source code as  <label>option</label>, so any codes you type in place of option will not affect the value of the checkbox that is submitted.

    Hope this post answers your question. Thank you for using Jotform.

    Regards,
    Neil