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.
Pass multiple values for radio buttons (conditions)Asked by Aiden123 on August 03, 2016 at 01:31 PM
We are trying to collect two values for the phone by using radio buttons... instead of having 2 phone fields, we would only have a phone field. The radio buttons (options: home or mobile) would determine the name of the field when the phone value is passed.
Phone: this field would allow someone to enter their phone and require them to click either a mobile radio button or a home radio button, which would in turn pass the corresponding value:
So you fill out your number in the phone field, choose the mobile radio button, and the phone number comes through the mobile_phone field.
Is this at all possible?
Here is the form:
No that is not possible. A way around this could be creating two phone fields, and show a specific one depending on the selection: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer
Let us know if you need more help.