Hello everybody,

I have a form and I would like to validate some of its fields server-side 
without waiting for the user to submit the form (so f.ex I would validate a 
field when it loses the focus, or something like that; this is not important).

I can manually code Ajax calls myself, to make the client pass the values to 
the server and have the server tell the client whether the value is valid, but 
before doing so I would like to figure out if Tapestry already has some such 
capability I could use to make the work easier (and more Tapestry-style in 
general).

JFI, the reason why I need to do this server-side validation without submitting 
the form is that I have to integrate into my Tapestry application a 3rd party 
JavaScript component that shows groups of input fields in different steps but 
uses only one big form to contain the fields for all the steps, and submits the 
form only after the last step, but I want to validate each step before allowing 
to proceed to the next step.
IMO this plugin's design is bad because it doesn't have built-in support for 
server-side validation of each step, but I am requested to try make it work 
with Tapestry anyway if that's possible.

Thanks in advance for any possible comment or suggestion :)

Reply via email to