addedValueMacros.customInputFormLink
Syntax
{addedValueMacros.customInputFormLink(entityID, formID, whatText, whatTarget=nil, anchor=nil, class=nil, title=nil, accesskey=nil, hreflang=nil, tabindex=nil,onmouseOver="", onmouseOut="", onClick="", template="", rowIndex=nil)}
- entityID - a way to identify what to edit, depending on the value of the attribute Of value of the requested form. In
- messages - empty means current message, or a msgnum or a shortcut
- members - empty means current member,or a member key (typically an email address)
- gems - a gem number
- formID - the name of a form whose usage must be Update or Row Update.
- whatText - a string which will be the text of the link.
- whatTarget - optional, value of the target attribute for the link.
- anchor - optional, value of the anchor attribute for the link.
- class - optional, value of the class attribute for the link.
- title - optional, value of the title attribute for the link.
- accessKey - optional, value of the accesskey attribute for the link.
- hrefLang - optional, value of the hreflang attribute for the link.
- tabindex - optional, value of the tabindex attribute for the link.
- onmouseOver - optional, value of the onmouseOver attribute for the link.
- onmouseOut - optional, value of the onmouseOut attribute for the link.
- onClick - optional, value of the onClick attribute for the link.
- template - optional, the name of a template to use to render the page where the form appears.
- rowIndex - required if the form usage is Row Update, otherwise ignored. Specifies the row number to udpate of entity.
Examples
| {addedValueMacros.customInputFormLink("123", "contactEmailer")} |
Semantics
Creates a link to an addedValues created page that contains a custom form and handles submissions from it. If any of the optional parameters whatTarget, anchor, title, title, accessKey, hrefLang, tabindex, onmouseOver, onmouseOut, onClick are present they are used to build the link.
See also