KR.smartForm.onClick()
DESCRIPTION
KR.smartForm.onClick() permet d'effectuer des traitements personnalisés avant que le client JavaScript valide le formulaire et effectue l'appel pour créer une transaction.KR.smartForm.onClick() accepte en paramètre soit un callback, soit une promesse (Promise).
You can stop the execution string by returning false at the end of processing:
Return value | Behavior |
---|---|
false | The execution is interrupted. Error handling does not take place. The transaction is not created. |
true | The execution continues normally when the callback is executed. |