After upgrading some forms from 4.5 to 5.0, form.callingFormName and form.getCallingFormName(); generate a nullpointer excepion.
A form calls another form (in a before form event), using:
Code: Select all
var parms = {};
parms.LOGINPROPERTIES=fields.LOGINPROPERTIES.stringValue;
form.callForm('LOGIN', parms);
Code: Select all
testpersonen.FORMID.value = form.callingFormName;
using:
Code: Select all
form.getCallingFormName();
also triggers the nullpointer exception.
The two forms work as intended on V4.5
Is this a (know) bug, or is there something wrong with this code?
Regards,
David