How to change the form value before sending


#1

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


#2

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


#3

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


#4

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.