- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Sonya,
We just need to get a another check in the if statement to look at a null condition:
if (this.rawValue !== null && this.rawValue < "25000")
{
this.rawValue = "25000";
xfa.host.messageBox("The minimum value for this field is 25,000. \n\nI have reset the field to this minimum value for you. \n\nThank you!", "Minimum value", 0, 0);
}Basically if the field is null, then the error message will not appear. It will only appear if the field has a value AND that value is less than 25000.
I hope that helps,
Niall
Views
Replies
0 Likes
Total Likes