Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

JavaScript Self-Referencing Campaigns

400 bytes added, 13:21, 20 March 2012
no edit summary
</syntaxhighlight>
== Step 4. Call Create the Self-Referencing Function. ==
You need to modify the code below for it to work for you.
<syntaxhighlight lang="javascript" line start="1">
/*--------------------------------------
// The Self Referencing Lookup settings
}
</syntaxhighlight>
 
== Step 5. Call the Self-Referencing Function. ==
 
You now need to add the automated lookup to a field. This is usually done on the onChange of the value being looked up. i.e. if you search on a phone number, edit the phone number question and in the onChange of the box, add
 
<syntaxhighlight lang="javascript">
fn_SelfReferencing();
</syntaxhighlight>
 
 
 
And that should be it and you ready to test and use.
7,528
edits