Alertbox on submit email if a subform is visible


hello,

 

i'm trying create script show alertbox reminding user must join needed files email before sending it. message must shown if specific subform visible, if not, must tranfer email directly.

 

i'm using lc subit email button standard in lc es2 , i've been meddling around , can't find script probleme. i've used general alertapp. need message appear if subform visible.. hoping can me this. in advance help.

 

melanie

hi,

 

you can use script in presubmit event of mail button.

it check visibility of subform , prompt message if visible.

 

form1.#subform[0].emailsubmitbutton1::presubmit:form - (javascript, client) if (subform1.presence == "visible") {         // show warning message           xfa.host.messagebox("stop");         // cancel submit process           xfa.event.cancelaction = true; } 


More discussions in LiveCycle Designer


adobe

Comments