I am trying to set up an Action button to include the previous and/or updated information from an observation term to the note. I have a multi-line edit field set to New observation (default previous) with the default translation cleared. I want the action button to add the text to the note if wanted by the provider.
I am stumped whether to use RUNPROCESS or SETVALUES. I can get it to work only if a change has been made to the previous observation.
It is probably something obvious I am missing but suggestions would be appreciated.
Thanks!
This is how I've done it. May not be the cleanest way but it works.
Create a visibility region that is always hidden. Place a check box in there. Set your button to Run Process and make it check the box when pressed. For your text translation set it up that If the box is checked it will put in the translation, else "".
Hope this isn't too confusing and that it helps. Let me know if you need me to explain any better.
{if(DOCUMENT.TEXT == Yes) then CFMT(OBSANY("OBS"), "")
else ""
endif}
You wouldn't even need the action button and visibility field. just a check box