You need to sign in to do that
Don't have an account?
JayPS_
How to pass record data from a custom object to a Java Script Alert box using an S-control?
Hi,
I have built a custom object called "conferences" which has 2 fields named "Conference name" and "Number of attendees". I need to pass data from these fields to a Java Script Alert box using an S-control. The S-control needs to be added as a custom link to the Conferences page layout. Can someone please help me out with the Javascript code I need to use to make this happen in my S-control?
P.S. I am very new to Javascript.
Thanks
JayPS_
Hi,
You can use Merge Fields in the s-control body to assign their values to javascript vars and then manipulate them the way you want.
For exapmle:
var name = '{Lead.Name}';
alert(name);
Let me know how it goes,
Leny
Hi,
Thanks for your help!
JayPS_