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

    How can I capture the value of a checkbox field?

    Asked by Bill on April 03, 2012 at 06:31 PM

    I have a checkbox for sign up for my newsletter.  If checked the answer is Yes

    When I print the values using a post I get this

    submission_id=199300545531311204&formID=10823056232&ip= &firstname8=billy &lastname=rabbitt &email4=bill@rabbit.com &signme%5B%5D=Yes &indcontractor7=My.Travel.Agency&hostagency6=XYZCompany


    But I have not been able to obtain the value of signme.  I have tried with the %5B%5D, I have tried signme, I have tried signme10 and pretty much everything else I can think of.


    I had this same problem with the Full Name widget and I could never get the first name and last name as separate values.




  • Profile Image
    JotForm Support

    Answered by abajan on April 03, 2012 at 09:17 PM

    Hi Bill

    With regards to the Full Name field, you may find this thread helpful.

    As far as capturing the Sign me up... checkbox's value goes, it might just be a matter of casing: changing "signme" to "signMe". I will need to test this solution for myself because I suspect that it may not be as straightforward as I think but in the meantime you may find How to Post Submission Data to Thank You Page in the Advanced Features section of our user guide helpful.

    ~ Wayne