I am trying to set some required fields in a PDF file that I will embed in a page. I have the code below:
event.rc = true;
if (event.value == ” ” || event.value ==null )
app.alert(“This is a REQUIRED FIELD’!”);
event.rc = false;
If a space is entered it returns the error.
If the field is just returned through it does not report the error.
what am I missing in my code?
- The topic ‘Checking form fields for Null entry?’ is closed to new replies.