Admin Manual - HTML Fields and Template Tags Pika 3.x
From PikaDocs
Here are examples of the types of template tags that can be used in Pika.
| Table of contents |
Single Line Text Box
<input type="text" name="fieldname" value="%%[fieldname]%% tabindex="1">
Multi Line Text Box
<textarea name="fieldname" rows="5" cols="30" tabindex="1">%%[fieldname]%%</textarea>
Popup Menu
Menus serve to limit the data that can be entered by a user into a particular field to a set of predefined values. For example, if a given field in Pika CMS should have either an "A", "B", or "C" value, a menu can be used to make sure a well-meaning user does not enter the value �D" into that field. Once a menu has been entered into Pika CMS, it can be used on an unlimited number of fields. The list of values for menus are stored on the database; each menu is in a separate database table.
To display a menu on Pika CMS form, simply add a template tag to the appropriate HTML template file, according to the following format:
%%[fieldname menu source=menuname]%%
...where fieldname is the name of the field where the menu value should be stored, and menuname is the name of the menu. The tag will be replaced with an HTML menu by the Pika CMS template function.
Note that this method adds a blank entry to every menu. To display a menu without this extra blank entry, add the option "show_blank=no", like so:
%%[fieldname menu source=menuname show_blank=no]%%
Check Box
%%[fieldname checkbox]%%
Radio Button
%%[fieldname radio source=menuname]%%
Text Lookup
%%[fieldname text source=menuname]%%
