DMXzone Database Updater PHP Support Product Page

Answered

Clear form fields on update and insert

Asked 28 Mar 2016 21:01:28
1
has this question
28 Mar 2016 21:01:28 Brad Lawryk posted:
IS there a way to clear the form fields after updating or inserting a record?

Replies

Replied 29 Mar 2016 07:21:14
29 Mar 2016 07:21:14 Teodor Kuduschiev replied:
Hello Brad,
You can easily do this using the call js behavior, on onSuccess event:

 document.getElementById("myForm").reset();

Replied 29 Mar 2016 13:57:15
29 Mar 2016 13:57:15 Brad Lawryk replied:
Man, I keep forgetting about calling a js behaviour .... thanks.

Reply to this topic