C
H
O
I
C
E

<-- Back to Tags

{CHOICE(obj_id, tag, class, target)}

The object being referred to should contain a title and a text area.

The text area can consist of XML elements <true> and <false> or just text which would constitute the true content.

Parameters
Number Name Default Type Description
1 obj_id 0 Integer The ID of the object containing the text to display.
2 tag div String The tag to place around the selected text.
3 class String The class to use on the element surrounding the displayed text.
4 target String

The id of the element to add the checkbox to. If empty then it will be kept inline.

5 label Space String The label to display to the left of the displayed choices.
Log in to add a Comment.