I have a form that has buttons to insert patient instructions into a multiline edit box. I would like a hard return after each button is clicked but I'm not sure how to get that in there. I have tried using escape characters and HRET but so far nothing works.
Any help would be appreciated.
Assuming that each button checks the MLE for null or already having text in it, then update the statement the button executes to include the return if the MLE is already populated:
{if document.mle == "" then document.mle = "instructions" else document.mle=document.mle + hret + "instructions"}
if SETVALUES:
{"text" + hret}
if RUNPROCESS:
DOCUMENT.variable = "text" + hret
DOCUMENT.variable = DOCUMENT.variable + "text" + hret
or
OBSNOW("obs term", "text" + hret)
OBSNOW("obs term", OBSNOW("obs term") + "text" + hret)
Not sure if it would make a difference but have you tried \n\r instead of hret?