It's not a secret anymore!
The moose likes Struts and the fly likes Still on Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Still on Validation" Watch "Still on Validation" New topic

Still on Validation

Hiroyuki Suzuki

Joined: Jul 25, 2007
Posts: 24
hello guys..its me again..

I have a problem regarding my validation of html:text which is in the array and the validation will depends if the corresponding checkbox has been selected.

this is my JSP
bitratebox is for the multibox
bitrateTxt is for the text

when I tried to write it in my validation.xml a
FOR bitrateTxt[0] when bitratebox[0] is checked

I used bitrateTxt[0] because the generated html will look like this


Is my validdation correct? I cant make this work properly..
Please teach me the incorrect part.
Thank you..
I agree. Here's the link:
subject: Still on Validation
It's not a secret anymore!