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 To Change The Value of Radio Button

    Asked by zrll2 on August 12, 2015 at 02:18 AM

    Hi, is it possible to change the value of radio select box based on another (previous) radio select result? Many thanks.



    This is a re-post of a comment on How to Pass Field Value to Another Field?

    select thanks select box another
  • Profile Image
    JotForm Support

    Answered by beril on August 12, 2015 at 03:18 AM

    Hi Friend,

    If I understand your requirement correctly, you want to change input values of radio button. It is not possible to change the values of radio button

    However you can use our dynamic dropdown widget alternatively. Basically, by changing the next dropdown option based on previous dropdown.

    Here is the link :

     http://widgets.jotform.com/widget/dynamic_dropdowns

     

    Let us know if you need further assistance with the feature.

  • Profile Image

    Answered by zrll2 on August 12, 2015 at 04:05 AM
    Hi, I just discovered it *is *possible to change the value of the radio
    button using a bit of Javascript injection.
    An example here is:
    http://www.business.uwa.edu.au/iaee-2016/program/call-for-papers/submission/
    If you select *The presenter is a: Non-student,* then the *Preferred
    session* automatically selects *Concurrent only *option.
    For your information I did this by inserting
    *document.getElementById('#input_13_0').checked
    = true* into *Preferred session* in the Conditions wizard.
    Maybe you want to update the manual to include this hidden functionality?
    :-)
    Cheers, Richard
    ...
  • Profile Image
    JotForm Support

    Answered by beril on August 12, 2015 at 04:23 AM

    Thank you for your letting us your suggestion. We added this to our feature requests list.

    We will consider implementing it in the future.

  • Profile Image

    Answered by Richard on August 13, 2015 at 02:17 AM

    Hi again,

     

    Thanks for the suggestion -

    I've tried dynamic dropdown widget, however it has a serious bug in Firefox - any other javascript code stops working on that page (e.g. the Previous / Next page buttons, the accordion box stops expanding / thrinking).

     

    Could you please get your engineers to fix the bug asap? Many thanks.

     

    Richard