File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validwhen validation rule

 
Nicola Guy
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have code that will perform the validwhen validation rule because I can't find it anywhere and have no idea how to go about writing it from scratch

Thanx

Nicola
 
Nicola Guy
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help??
Its kinda urgent

??
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javascript or java?
 
Nicola Guy
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its in javascript
 
Marc Winder
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't found much in the documentation or floating around in cyberspace so I'm going to write my own JavaScript function for the validator-rules.xml. When I get it working I'll let you know.
 
Nicola Guy
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx
it would be very welcome
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Float rule in validator-rules.xml



2. You can config for validate data in validator.xml


3. In jsp file



This will help you.
 
Nicola Guy
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so will this do the required validation only if another field is populated
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic