my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Still on Validation" Watch "Still on Validation" New topic
Author

Still on Validation

Hiroyuki Suzuki
Greenhorn

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
and
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



Actionform

Is my validdation correct? I cant make this work properly..
Please teach me the incorrect part.
Thank you..
 
Consider Paul's rocket mass heater.
 
subject: Still on Validation
 
Similar Threads
html:multibox and disabled attribute
Struts Validation Empty alert Box
html:text inside logic:iterate
On htm:multibox
Checkbox and Multibox validation