Forum
Multi-step form with validation
Hi
Trying to figure out if I can use Perch for project...
I know Perch Forms does both client side and server side validation.
- Validation normally only happens when the
submit
button is pressed - but with a multi-step form the
submit
button won't be visible until the last step - Users will press
next
to proceed to the next step - I need a way to check if any required fields in the current step have been missed
Looking at the docs, I found a page about API Form validators, would this be a way to achieve the functionally I'm looking for?
Thanks
Your best bet would be to use some JavaScript validation.
Hi Drew
Yes, I was intending to use JavaScript, for the
client side
validation. I've seen some great examples.But I was wondering if I could still use the
server side
validation built into Perch?Yes, that will still run.