1
0
-1

How can i set up a mondatory rule for a radio button group that will prvent users from clicking on "Continue" before they  make a selection.

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      While Kristan is correct, the easier option is to set the mandatory rule on the button group object to be Always Mandatory.

      If you do need to do a rule to disable the next button based on field entry you will need to take into consideration the wizard page the form is currently on, this can be done by using sfc.getPhaseValue("wizard") to get the current wizard page which will be a string of the wizard page number from generation time (i.e. if page 2 is hidden and you are on the second visible page it will be "3") and in the Triggering Conditions tab on the script insert an event under Additional Events called phase_wizard which will run this script when the wizard phase value changes.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Great, thank you both very much

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi Nadir, 

          You can add an editablity or visibility rule to the Next button that will not allow the user to move forward unless the radio button group has a value or specific value. 

          {AreYouReadyToCoGroup}!=""

           

            CommentAdd your comment...