I have a userok popup that is being triggered when text is entered in a multiline edit field, if I change it to just an edit field it does not trigger. I have tried deleting the multiline edit and recreating and no matter what it continues to trigger the popup when it should not. Has anyone else ran into something like this?
Are there any functions over in the MEL whiteboard area in VFE? What does the popup say?
I have the popup set to notify the user if they try to close the form that they have not clicked to send a referral, in the event they are not ready to send I gave them the ability to close the form. Once reopened and documentation continues all is fine until they get to the multiline edit field. As soon as you start to type it pops up with the user ok below. If I change it to an edit field with the same document variable it works as it should.
Here is the code that runs the userok:
{IF DOCUMENT.CARDIOSNDFLAG == "" AND DOCUMENT.CARDIOPOPUP == "" THEN userok("You may now close the form. Be aware the referral has NOT been sent, You MUST click the Send Referral button in order to send this referral") else IF DOCUMENT.CARDIOSNDFLAG <> "" AND DOCUMENT.CARDIOPOPUP == "no" THEN userok("Your Referral has been sent") else "" endif endif}
The multiline edit field is named DOCUMENT.CARDCOMMENTS
And which of the two pop-ups is coming up? The "Your referral has been sent"? or the other one? and what is the MEL language in your action button to send the referral? Does it set document.cardiosndflag to something? What is populating the document.cardiopopup? If you email me the dlg I might get a clearer picture of whats happening. There are a lot of variables that could be causing this. Can you email it to me? [email protected]