Appendix B, Gateway Directives Reference 101
Entry-Related Directives
Arguments
label=text. Use "text" as the label on the button. If not provided, the text "Edit"
is used.
Example
<!-- DS_EDITBUTTON "label=Edit Person" -->
DS_DELETEBUTTON
Description
Displays a button which, when clicked, allows deletion of an entry. This
directive must appear within a DS_ENTRYBEGIN...DS_ENTRY_END block.
Typically used in edit templates.
Arguments
label=text. Use "text" as the label on the button. If not provided, the text
"Delete" is used.
Example
<!-- DS_DELETEBUTTON "label=Remove Person" -->
DS_SAVEBUTTON
Description
Displays a button which, when clicked, saves changes to an entry. Typically
used in edit templates. This directive must appear within a
DS_ENTRYBEGIN...DS_ENTRY_END block.
Arguments
label=text. Use "text" as the label on the button. If not provided, the text
"Save" is used.
checksubmit=javascript. only submit changes if javascript expression is true.