Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Reference
Commands

CHOICES

This will insert a drop-down allowing the user to select text to display on the page.

The relation id must be a valid relationship that points to a list of objects to select.

The text-data on the selected objects will be inserted in the page.

If the tag is a "div" then a "div" element will be wrapped around each selected element.
If the tag is a "p" then a "span" element will be wrapped around each selected element.
If the tag is a "ul" or "ol" then an "li" element will be wrapped around each selected element.

Number Name Default Type Description
1 rel_id 0 Integer Relationship Object ID
2 query String

Valid answers query. If this is left blank then it will select the objects according to the relationship definition.
You can also just enter the Id of a list of objects.

3 tag div or ul String

The name of the element surrounding the selected items.

This will default to "div" if the relationship is one to one, or "ul" if not.

4 class String The class to apply to the surrounding element.
5 target String The id of the element to add the dropdown to. If empty then it will be kept inline.
6 label Name of relationship String The label to display to the left of the displayed choices.
- default object id 0 Integer The default Object ID to use for a choice
to add a Comment.