Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

how to force the form not to close / customize the messagebox at save time

$
0
0

Hello all!

I'm using AEM/designer to design a form, at the time a user clicks red cross to close the form--> "Do you want to save the form <form name>?" Click save button --> save the form --> enable validation script and pop up warning message at form presave event.

questions:

1. how do i customize the text "Do you want to save the form <form name>?"

2. if he clicks save button and the form is saved and pops up warning message that some fields are empty, he clicks "OK", how can i keep him stay on the form?

on the internet, i can only find script to force one to close the form:

event.target.closeDoc(false); // or param value = true

app.execMenuItem("Close"); 

But I cannot find one script to keep the form open. Is it possible or not?

 

Thank you in advance!


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>