Discussions

Expand all | Collapse all

Validate step by step?

  • 1.  Validate step by step?

    Posted 30 days ago
    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.  RE: Validate step by step?

    Posted 30 days ago

    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
    ------------------------------



  • 3.  RE: Validate step by step?

    Posted 27 days ago
    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
    ------------------------------