Page 1 of 1

On Record Selection Event

PostPosted: Thu Feb 21, 2013 9:09 pm
by akaash
Hi all,

I wrote a function that I know is working because it get's loaded by the onLoad event. Any ideas on how I get the same function to be triggered when I toggle between my records?

Thanks,

Re: On Record Selection Event

PostPosted: Thu Feb 21, 2013 11:26 pm
by patrick
attach it to the onRecordSelection event of the form?

Re: On Record Selection Event

PostPosted: Fri Feb 22, 2013 12:08 am
by akaash
Hi Patrick,

Yeah that's what I did, but it didn't work until I called the function in the script editor... When I put the function in the form and wrote the piece of code:

function onRecordSelection(event) {
myfunction();
}

it worked. Seems very strange...