Previous Topic: Understanding List Forms

Next Topic: Edit in List Customization

The lsWrite Macro

The lsWrite macro specifies text for the list section of a list (the portion between the <pdm_list> and the </pdm_list> tags). Text specified for the text argument of this macro is deferred, and not written to the output HTML until the lsEnd macro.

lsWrite [both=no|yes]

text=”xxx”

both

Specifies that the text operand is to be written both immediately to the output HTML and to the deferred text buffer. This can be useful to output JavaScript to conditionally bypass both the setup and the list information output by a subsequent lsCol macro. Optional; defaults to no.

text

Specifies the text generated by this macro. Text specified is deferred until the lsEnd macro.

It is often desirable to include pdm tags and references to form variables in the text output by an lsWrite macro. To prevent these from being interpreted by the web engine during parsing of the lsWrite macro itself, follow these syntax rules: