@wuiExampleAppend(FORM ID, FIELD, APPEND, [DISPLAY], [URL], [TITLE], [VALIDATE])

Shows text in document and loads text into form if user clicks on it.

The following parameters are recognized:

FORM ID

The form ID of the input field to update.

FIELD

The form field to update.

APPEND

The value to append into the form field.

[DISPLAY]

What to display in the document (defaults to LOAD).

[URL]

Optional URL to jump to if clicked.

[TITLE]

Optional mouse over title description.

[VALIDATE]

Optional javascript code to validate field after load insertion.

This macro allows one to append text into the document which the end user can click on. When the end user clicks on the text, the example value provided will be appended into the referenced form field.

This macro is defined as:

@htmlEntity("a","@fnb("@param(3)","@param(2)")","
@ifEqual("@param(5)",,,"@toolTipAttr("@param(5)")")
@ifEqual("@param(4)","","@htmlAttr("style","cursor: pointer; white-space: nowrap;")","@htmlAttr("href","@param(4)")")
@htmlAttr("onclick","document.getElementById('@param(0)').@param(1).value = document.getElementById('@param(0)').@param(1).value + ' @param(2)'; NstDom.setCursorFocusEnd(document.getElementById('@param(0)').@param(1));@ifEqual("@param(6)","",""," @param(6)")")")