Require Field if Displayed

Comments

4 comments

  • Avatar
    Penny Lau

    Hi Dan, any field that is not displayed on the form will not be required. Required only applies to the fields that show up on the form. So it is not necessary to have extra validation to the number field. Let me know if that makes sense to you!

    Penny

    2
    Comment actions Permalink
  • Avatar
    Karl Simms

    Hi dan
    Can you not just put the number field as required? Then set it’s conditional to select_field==1.

    That would say that the number field is now true so it can’t continue if it’s false.

    As penny said if you set a conditional on a required field it only shows when that is true, otherwise it doesn’t show so it’s not active

    0
    Comment actions Permalink
  • Avatar
    Dan Belknap

    That makes sense, thanks! I was making it more complicated than it needs to be.

    0
    Comment actions Permalink
  • Avatar
    Karl Simms

    You’d be surprised how often I do that to mate good luck with your project :)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk