Tools and News for Developers using the AllClients Platform

“display” field

Landing Pages

About

Allows user to set the visibility of a section of content on a page.

Parameters

  • label – Label displayed to user when filling out form (required)
  • default – Default Value (optional)
  • tip – Tips and advice displayed to user at entry
  • sort – Use this value to override display order of fields (vs default which is order in html)

Example

In the example below, the special display field is used. (It must always be placed in style attribute of a tag, usually a div tag)

The only possible default value will be none  (in reference to the CSS attribute  display:none)

No other default values are possible.

<div style="<!-- type:display; 
 label:"Show Privacy Policy";
 tip: "You can decide if you would like a privacy 
 policy";
 default:"none"; -->">

 Privacy Policy:<br>

 <!-- type:editor; label:"Privacy Policy";
 default:"Privacy Policy Goes Here"; --><br>
</div>