How to change the form value before sending

Hi, I want to encrypt the password value of a form by CryptoJS before sending to server. How to use the ‘BeforeSend’ event? Thx.

I mean, only change the sending value, and remains the control’s original value.

Unfortunately such feature is not available.
You may try to format your value on your backend.

Hi. The remaining solution is get the form values with form.getValue(), transform the result and send this with dhx.ajax.post. It could be great to have a callback to manipulate the form values before submitting them.