I would like to call a userevent beforesubmit in a client script.
So submit is pressed in a client script and then want to forward some values that I have fetched in the client script to the user event script (beforesubmit), which must then update some records with the given values. So the that the concerned records are updated via the userevent script and not via the client script.
Does anyone have a template for a client script that sends data to a userevent script?