- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Remove 'true' and 'false' from your validation script. If you look at the Value tab for the object, you probably have Error checked for the Validation Script Message. I believe the presence of 'true' in your validation script causes the built-in validation to fire.
How about...
if (!(this.isNull || this.rawValue.length == 0)) {
if (this.rawValue > 40) {
xfa.host.messageBox("The total cannot be more than 40!");
}
}