Check with button if a field contains a specific character else message box if not
hi guys,
can little please?
i have button , add javascript in check fields.
if field contains "-" character nothing
else appear message.
if ((name_7.rawvalue.match(/-/)==0 ) {
}
else {app.alert("fill in -!");}
thanks,
encleadus
hi,
the match function return null if there no match, try;
if (name_7.rawvalue.match(/-/)==null)
{
app.alert("fill in -!");
}
More discussions in LiveCycle Designer
adobe
Comments
Post a Comment