Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scriptlet inside Javascript function ?

843836Feb 18 2004 — edited Aug 21 2008
Folks

I have 2 blocks in JSP page , I display these blocks based on some objects, Some times i display both the blocks,
and some times i display any one of the blocks, I do have a Javascript function which validates fields of these two blocks when the user hits submit button, Now i am not able to validate , when one of the block is not displayed,It keeps looks for the fields in that block(which is not displayed), I need to know how to validate these conditions,

thanks
mathew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2008
Added on Feb 18 2004
9 comments
3,969 views