I've created a dynamic list for current meds in a listbox. I would like to program it to pre-select automatically the entire med list. The providers then will deselect which ever meds they want.
I've created an action button for them to "select all" but they prefer to have it pre-selected. Thanks in advance!
Here is an idea to try. For my example, I am assuming the Listbox is a document variable versus an OBS term. You need to place some code in the MEL Function section of VFE.
{global First_time }
{ if First_time <> "no" then
DOCUMENT.LISTBOX = MEDS_AFTER("comma")
First_time = "no"
else "" endif }
I haven't really tested this, but this general concept will get you started on a way to pre-populated a listbox. If you are not real familiar with MEL Function area and writing MEL code, please let me know.
If you need more explanation and assistance, please email me at:
Ernie Turner can you send her a form that already has these checked off so she can see the code? I looked and I do not have one. Thanks!! Or anyone else out there 🙂