[Vtigercrm-developers] Chrome "double" posting...
Alan Lord
alanslists at gmail.com
Thu Jul 5 08:56:23 GMT 2018
On 04/07/18 18:46, nilay khatri wrote:
> Just as an addition try to return a value as well (true or false based
> on the validation).
I don't believe it requires a return value. It works without and there
is nothing to return "to" in reality.
This code is triggered by an event (Vtiger_Edit_Js.recordPresaveEvent).
I just needed to the code to stop execution after the form.submit() call.
Simply calling "return;" does that.
Al
More information about the vtigercrm-developers
mailing list