Radio button to display different fields

  • Profile Image
    AlexKotov
    Asked on July 21, 2014 at 07:50 AM

    Hi,

    I'm creating a form that should allow the visitors of the site to ask me questions about services offered. And I'd like to give them a choice of the way how I will answer their questions - by E-mail or by phone.

    The first field should be 'Your name'. It's simple.

    The second field should be 'How do you want us to reply to you?' It has two radio buttons: 'by E-mail' and 'by phone'. By default, the 'by E-mail' option is selected and therefore third field is 'Your E-mail'. But, if the visitor selects 'by phone', the third field changes to 'Your phone' and 'Your E-mail' field is no more displayed.

    See the pics attached.

    Is it possible to create such thing with JotForm?

     

  • Profile Image
    ceren
    Answered on July 21, 2014 at 08:16 AM

    Hello AlexKotov,

    You can achieve your requirements by applying conditions for Show / Hide fields based on a selection.

    Here is related user guide:

    Smart Forms Using Conditional Logic

    If you need further assistance please let us know.

     

     

  • Profile Image
    AlexKotov
    Answered on July 21, 2014 at 08:47 AM

    Thank you!

    It works great!

  • Profile Image
    KadeJM
    Answered on July 21, 2014 at 09:41 AM

    On behalf of our Developer whom was able to help you here you are very welcome! :0)