All the script does is update the form entries into the various database tables. This is not unlike the Server Actions within Wappler. It is very quick and easy to do.
If you have more questions, please give us a few more details like your database setup (i.e. No of Tables involved). I am itching to help you with this.