Changes

Jump to: navigation, search

Passing Values Using Parameters

72 bytes removed, 18:33, 24 November 2011
no edit summary
'''Syntax:'''
:<font size="3">'''/urltopage?parameter1var1=@variable1@&parameter2var2=@variable2@'''</font>
* ''urltopage'' is the relative [[URL]] to the destination page.
* ''variable1'', ''variable2'' etc. are the variable names (eg. @firtsname@).
* ''parameter1var1'', ''parameter2var1'' corresponding names for the variables
'''Portal'''
* Create a [[Portal]] shortcut and associate the link with that shortcut.
/urltopage?parameter1var1=@variable1@&parameter2var2=@variable2@
<pre>
<input type="button" class=Button value="Button Label"
onClick='parent.location.href="/urltopage?parameter1var1=@variable1@&parameter2var2=@variable2@"'/>
</pre>
* Create a [[Custom Field Type: Read Only – System Variables|Read Only - System Variables]] Custom Field with:
<pre>
<a href="/urltopage?parameter1var1=@variable1@&parameter2var2=@variable2@">Click Here</a>
</pre>
var para2=document.getElementById('field2');
para1.value = unescape(params["parameter1var1"]);para2.value = unescape(params["parameter2var2"]);
0
edits

Navigation menu