spring - Validate input field to display another input field on the same page -


Using Spring 3.0 I have a page on the web proxy that has the password input field, when the user enters the password Later, I agree that if the password is correct then display the email id input field on the same page.

How can I get it into the flow?

Thanks

Your example is a page that has a conditionally displayed element The easiest way to do this is to create 2 pages (page 1 and page 2) if you are not using Ajax. Page1 has only the password field. Page 2 has both a password field and email field. After submitting the user page 1, if the password has been validated, the view-state infections which page 2 displays after submitting the user page 1, if the password is not valid, there is a transition in view-state Displays Page 1.

Do not bring me a flame, it is an answer targeted at the new level of the interpreter's experience).


Comments