addedValueMacros.customInputFormLinkPopup
Syntax
{addedValueMacros.customInputFormLinkPopup(entityID, formID, whatText, title = "", width="500", height="400", scroll= false, template="", rowIndex=nil, class=nil, accesskey=nil, hreflang=nil, tabindex=nil, onmouseOver="", onmouseOut="")}
- entityID - a way to identify what to edit, depending on the value of the attribute Of value of the requested form. In
- messages - "" means current message, or a msgnum or a shortcut
- members - "" means current member, or member key (typically an email address)
- gems - a gem number
- formID - the name of a form whose usage is Update or Row Update
- whatText - a string which will the text of anchor link.
- title - optional, javascript acceptable title of new window (aphanumeric or _ only)
- width - optional, width of new window in pixels
- height - optional, height of new window in pixels.
- scroll - optional, determines if the new window will have srcoll bars
- template - optional, name of a Frontier html template, which is stored in the websites #templates table
- rowIndex - required if the form usage is Row Update, otherwise ignored. It determines the number of the row to edit or add, in the chosen entity.
- class - optional, the class attribute of the link
- accesskey - optional, the accesskey attribute of the link
- hreflang - optional, optional, the hreflang attribute of the link
- tabindex - optional, optional, the tabindex attribute of the link
- onmouseOver - optional, the onmouseOver attribute of the link
- onmouseOut - optional, the onmouseOut attribute of the link
Examples
| {addedValueMacros.customInputFormLinkPopup("porsche 911", "changeStockLevel", "Register Sale" )} |
Semantics
Creates a link to a javascripted popup Window with an addedValues created page with a form that invokes a custom input form. The windows title, height, width and scolling capabilities are initialised by the eponymous optional parameters. The Manila template used by the page, which can be defined by a number of plugins, determines the look and feel of the popup page.
See also