wood burning stoves*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: http://aspose.com/file-tools
subject: Still on Validation
Similar Threads
Struts Validation Empty alert Box
html:text inside logic:iterate
On htm:multibox
Checkbox and Multibox validation
html:multibox and disabled attribute