Can anyone please tell me how to add a translation into a multiline edit box by clicking an option from a list box?
Thank you
{DOCUMENT.MLEF = DOCUMENT.Listbox}
jjordet said:
{DOCUMENT.MLEF = DOCUMENT.Listbox}
May I ask where would I add this mel in?
Thank you
put it in the code panel on the right. everytime the listbox changes, the MLEF will be updated. caviat...changes made to the MLEF will be overwritten with the listbox info.
Got it! Thanks again!
Any idea on how to make the selection from another list box not make the previous selection dissapear?
I have to list boxes and one multiedit box. They will both be going into the one ME box.
I click on one list box and the translation goes in, but when I click on the other list box the previouse translation from the other list box dissapears.
??
{DOCUMENT.MLEF = DOCUMENT.Listbox1 + hret + DOCUMENT.Listbox2}
You are awesome. Thank you!
Can you do the same thing if the multi line edit field is tied to an obs term? Would it be something like this:
{obsnow("GEN APPEAR") = DOCUMENT.Listbox1 + hret + DOCUMENT.Listbox2}
I have some coding written like this:
{CFMT(OBSNOW("GEN APPEAR", PE(OBSNOW("GEN APPEAR"),DOCUMENT.GEN,DOCUMENT.GEN1,DOCUMENT.GEN2)), "", " ", "B", "")}
but when you click something in another list box, it creates the item checked in the previous list box to duplicate (sometimes up to 15 times if you choose that many other items!)
{obsnow("GEN APPEAR", DOCUMENT.Listbox1 + hret + DOCUMENT.Listbox2)}
obs assignment works a bit differently - use a comma to separate the obsterm shortname from what is being pushed to it.
Thanks Paul! That works, but it makes me click twice to insert it. We talked about this in class last week, so I am thinking that I need to assign a document variable to the multiline edit field too and write a statement that assigns the obs terms in the field to the right? Am I on the right track?
I would try that. Sounds like a watcher expression firing timing issue due to the obs term.