Hi guys, I've searched for this but couldn't find a satisfying answer. Maybe I'm even thinking too complex and the answer is pretty simple. Anyway - I've got the following problem.
I've got a form with 6 fields (strings and integers - but that's not the point). The first 3 and the last 3 depend on each other. What I mean by that is that if either field 1,2 or 3 has a value the other 2 got to have a value too, while the other 3 (4,5 and 6) don't. Or you can turn it around and write something into field 4,5 or 6 and the other 2 have to be filled in, while 1,2 and 3 don't have to be filled.
Just so you know - I'm using XML-field-validators in Struts 2. I thought something like this might work, but didn't.
Maybe anyone of you has got an answer to that. Thanks in advance.
Regards, Rama Krishna.
Joined: Mar 30, 2008
Thanks - that's what I ended up with.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Validating certain fields while leaving others out