Thank you for your reply. I appended your text to what I already have and it does work when an invalid number is entered however, the message is also displayed as soon as the form is opened. This is what I tried first as a validate event:
F.P1.Elections.HCRA.HCRAAmount::validate - (JavaScript, client)
50 <= this.rawValue && this.rawValue <=10000
if ((this.rawValue <50)||(this.rawValue >10000))
{this.rawValue=null;}
if(this.rawValue < 50 || this.rawValue > 10000)
{xfa.host.messageBox("Your value must be between 50 and 10000");}
It seems that when the form is opened, it sees the field is blank, recognizes it as being <50, thereby prompting the message to be displayed. Is that just the way it works or can the message be displayed only if the incorrect amount is entered?
I also tried using your text as a mouseUp event. It then gave the message only if I clicked in the field. It doesn't display if I tab to the field, and then I'm back to the same problem of the incorrect amount not being accepted and no explanation given. However, at this point, the user would be forced to return to the field, click in it and would then get your message.
I believe that will work for this form (along with a basic Tool Tip). I'm very new with the scripting portion of creating forms so if there's a less clumsy way to get the message across, I'd appreciate any other suggestions. Otherwise, thank you again for your help.