Idea Details

Expanded support for escape= in PDM_MACRO

Last activity 2 days ago
Anonymous Member's profile image
By: Anonymous Member
12-03-2019 08:06 AM

Currently the escape= tag is support in PDM_MACRO for lsCol and dtlHTMLEditBox but attempting to use it in dtlTextbox produces an AHD04622 Undefined arguments error.​
It is possible to work around this using a hidden field to set the value with a PDM_FMT but that takes extra time.

example of work around

<input type="hidden" name=SET.summary value=<PDM_FMT ESC_STYLE=JS2>"$args.summary"</PDM_FMT>>

<PDM_MACRO name=dtlTextbox hdr="Summary" attr=summary colspan=4 keeplinks=yes size=120 spellchk=yes>


It would be simpler to just have

<PDM_MACRO name=dtlTextbox hdr="Summary" attr=summary escape=JS2 colspan=4 keeplinks=yes size=120 spellchk=yes>