I have a form that I would like to trigger a page break in the text translation, if a specific field is filled out. I've seen in another question that someone has used {numtoascii(012)} in handouts, but has anyone tried this in a form? If so, how would I go about making it happen dependent on if the specific field is filled out?
Thanks in advance!
-Amy Hinton
I have used this in a form before.
You could add it to the specific object.
This would render the field with a pagebreak afterwards.
{CFMT(OBSNOW("obsterm"), "", "", "B", numtoascii(012))}
Or you could create a conditional statement.
{if OBSNOW("obsterm")"" then numtoascii(012) else "" endif}
Another term you can use is HRET ...it stands for Hard Return. Or yet if this is in the Translation Tab for the Chart Note, you could do something as simple as this:
{if OBSNOW("obsterm")=="value" then "
" else "" endif}
Thanks, I appreciate the quick feedback!
I ended up using the following {if DOCUMENT.VARIABLE"" then numtoascii(012) else "" endif} and it worked perfectly! Thanks again to you both!