Default a masked input field to a radio button value

  • Profile Image
    conniemixter
    Asked on June 24, 2020 at 06:44 PM

    I would like to be able to have the default value of a masked input field change depending on a radio button selection.  If the user overrides the default, further support for the override is required.

    In my form, the user selects the salary group which has a predefined rate.  I would like this rate to display in the masked rate field, allow them to override the rate by entering a different amount, and then require justification in the text box following the masked rate field if the rate is changed.

  • Profile Image
    Welvin
    Answered on June 24, 2020 at 09:15 PM

    I see you have the Masked Input widget next to the Rate field that is a calculation widget. The conditional logic will change the field value, so overriding manually won't be possible. 

    My suggestion would be to conditionally do these all. So, do the following:

    1. Add an "Other" option in the wage selections.

    2. Add another calculation widget, this is for Other option to be used later.

    3. Set up a condition to show the first calculation widget when A or B or C is selected.

    4. Set up another condition to show the second calculation widget when Other is selected.

    Her'es a demo form you can check: https://form.jotform.com/201753726250047

    I hope that works for you.