Check Box and Radio button

Root > 3. Customisation

 

 

    Follow WiredContact on Twitter
 

<#Checkbox...>
Displays data from the primary table in a <input type=checkbox...> tag primarily for the following functions: Entity, Subentity, Lead. Some action must be performed to save the data that was changed. In the Entity function, if Dynamic pages (Ajax) are enabled, the save is automatic. If not, the Save icon must be clicked. For Lead and SubEntity - the Save icon or button must be clicked.
 

Primary Parameters

  • Any parameter that is not defined by WiredContact is passed through to the tag on the HTML form. This is how Class=[classname] and Style="[style parameters]" are passed.
  • Field=[field name] - the name of the field that holds the data for the record you want to display.
  • Checked=[field value] - the value in the database the field will have when checked.
  • UnChecked=[field value] - the value in the database the field will have when not checked.

Example 
<tr><td class=ContactBoldText align=left><#LABEL Field=lead_lock options=l></td>
<td class=ContactBoldText><#checkbox field=lead_lock checked="Y"></td></tr>

 <#Radio...> Displays data from the primary table in a <input type=radio...> tag primarily for the following functions: Entity, Subentity, Lead. Some action must be performed to save the data that was changed. In the Entity function, if Dynamic pages (Ajax) are enabled, the save is automatic. If not, the Save icon must be clicked. For Lead and SubEntity - the Save icon or button must be clicked.

Primary Parameters

  • Any parameter that is not defined by WiredContact is passed through to the tag on the HTML form. This is how Class=[classname] and Style="[style parameters]" are passed.
  • Field=[field name] - the name of the field that holds the data for the record you want to display.
  • Value=[field value] - the value in the database the field will have when checked.
  • Label=[field value] - Label text placed in front of the tag. It parameter is omitted, the Value will be used. Use Label="" to suppress the label.

Add Feedback