Notifications
Clear all
Topic starter
I'll try and keep this brief.
To make a form in our patient portal shorter, I combined 12 list boxes into a single observation term. In VFE I want to write code to decipher that.
Right now I basically have this:
{if obs1 = "value a" then obs2 = "value b" else "" endif}
It works, however it doesn't check the box, it just displays the value. How can I make it check the appropriate box?
Posted : August 22, 2013 1:52 am
I've done it this way.
Say you add a check box into your form, and "code" as the value
Then add this to the MEL in the form.
{
! if document.yourCheckBox == "" AND document.formopen == "YES"
then
document.yourCheckBox = "code"
else ""
end if
}
Posted : September 8, 2013 2:07 pm