KR.smartForm.onClick()
DESCRIPTION
KR.smartForm.onClick() allows you to perform custom processing before the JavaScript client validates the form and makes the call to create a transaction. KR.smartForm.onClick() accepts either a callback or a Promise as a parameter.
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. |