Hey!

I just walked through some sling example apps and I was missing an
example to validate posted form data in sling. Sometimes you have to
check if required fields have been set or an correct email has been
provided.
If validation fails the form should be displayed with the posted data
again to the user with an error message and the data should not be
stored. Validating the data with JS on client side seems not to be very
secure because a user may disable the JS checks.
How do you realize this kind of validation in "sling-style"? Writing an
own POST-script or is there an another way?

cheers

Reply via email to