Record producer client script onSubmit

wakespirit
Kilo Guru

Dear all,

When we define a client script on record producer of type onSubmit

Q1  : Does this script is executer before record gets submit, at same time record gets submit, or after record gets submit and recorded ?

 

Q2 : I am calling my record producer by using a GlideModal APi, is there a way to close the GlideModal on this onSubmit script ? I have try GlildeWindow.get().destroy()  but it does not work

Any idea ?

regards

10 REPLIES 10

Hi 

Can you try with window.close()  once?