Hi all,
In FM I could point several buttons to the same method using a scriptparameter.
With some if statements I could distinguish which button was pressed and run
parts of the method.
This must be very simple but I can't see how.
if (forms.main.elements['name'] == 'buttonname1' )
{
//do stuff
}
if (forms.main.elements['name'] == 'buttonname2' )
{
//do stuff
}