Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Throw a popup message just after pressing SAVE button?

Avatar

Level 8

Hello

I want to throw a message IMMEDIATELY after clicking the SAVE button by user, so, i put JS as below in the Pre-Save event of the form, but its not working, directly am getting the file-download manager dialog box, pls. let me know how to achieve my requirement?

Thank you

1 Reply

Avatar

Level 3

Try

below script on  javaScript and PreSave event of the form

xfa.event.cancelAction = 1;

xfa.host.messageBox("Pls. dont forward......");

Regards,

Jay