Forum Discussion

CaroleVandenbe2's avatar
CaroleVandenbe2
Qrew Trainee
4 years ago

Validate step by step?

Need direction on how to build a form that will require a user to fill out some fields before proceeding to a next set of fields. 

So, not required fields, as they shouldn't be required to save the form, necessarily, but to even go to the next section of a form. 

I'm thinking I may have to do this manually via some validation code but is there any other way?  

Thanks!!!

------------------------------
Carole Vandenberg
------------------------------

2 Replies

  • PaulPeterson1's avatar
    PaulPeterson1
    Qrew Assistant Captain

    Perhaps not the most elegant solution, but here's a suggestion.

    You could make everything but the the first section read-only when the form loads, create a rich text field that shows any validation errors for each section. Once the validation returns an empty string the next section is editable.  Repeat for each subsequent section.



    ------------------------------
    Paul Peterson
    ------------------------------
    • CaroleVandenbe2's avatar
      CaroleVandenbe2
      Qrew Trainee
      Thank you so much, Paul - that is a good idea.  You're right in that it would be easier to have something more elegant, but it is what it is and I knew I'd probably need some strategic guidance on how to do this.  That you gave!  :)

      ------------------------------
      Carole Vandenberg
      ------------------------------