I have Adobe 9.0 Pro and have a form that I have required fields in. I copied a javascript from a Developers Tips page so that On Blur, the user must enter information in a particular field before going on. It does work but you cannot get out of the warning. Here is what I copied:
f = getField(event.target.name)
if (f.value.length == 0)
{
f.setFocus()
//Optional Message - Comment out the next line to remove
app.alert("This field is required. Please enter a value.")
}
If this is the correct javascript to use, is there a piece missing to allow the user to go to the field and fill it in? If so, what needs to be added? If this is not correct, can you tell me what I can put in so that people cannot go further without completing the required field?
Thank you.