Im using Adobe Professional Live cycle designer 7.0 to design pdf form. Also, Im using an existing pdf (supplied by the customer), which is designed through teleform designer (with adobe 6.0) model for this design. In the existing one, the javascript methods are working fine for restricting keys, validation, etc. But these scripts are not working in designer as the designer is using XFA model.
Im trying to restrict the key inputs (like only numbers/characters should be entered). But I couldnt find the equivalent statements for some of the statements (which are used in the teleform pdf).
For eg.
event.rc = true. Allows keystroke to be added to entry. event.rc = false. Prevents keystroke being added to entry in the following function:
function TFTemplate_KeyStroke( mask )
{
if (event.willCommit) {
return;
}
var value = AFMergeChange( event );
if (!mask.test( value )) {
event.rc = false;
app.beep( 0 );
}
}
But I couldnt find the matching statements in Designer for event.willCommit, AFMergeChange(),event.rc, etc.
If I get, I can restrict the inputs.
Expecting any solutions from you...
Thanks in Advance...