Cubic Compass Software

- Support Wiki

Dialogue Script : HiddenField

Modified: 2008/10/24 04:13 by mleach - Categorized as: Dialogue Script
Edit

Dialogue Script : HiddenField

Syntax
<dlog:HiddenField id={unique HiddenField ID} 
fieldname={object field name} value={value} 
param={CGI param} ></dlog:HiddenField>

Usage
Associates a hidden value with a web form.

Attributes
id: (Required) A unique identifier for the control. Multiple hidden fields displaying the same field may be used on a page, but each HiddenField control must have a unique ID.

fieldname: (Required) The Salesforce custom field name to associate with the hidden value.

param: (optional) Populates the HiddenField from a URL parameter.



Example
// This usage will create or update field 'LeadSource' with the static value 'Web'
<HiddenField:Label id="LeadSourceField" fieldname="LeadSource" value="Web"></dlog:HiddenField>,

// This usage will dynamically populate the hidden value from the current object ID <HiddenField:Label id="ObjectReferenceId" value="{!Id}"></dlog:HiddenField>,

// This usage will dynamically populate the hidden value from a CGI param <HiddenField:Label id="ObjectReferenceId" param="recordID"></dlog:HiddenField>,

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.