Closed kodinkat closed 1 year ago
@kodinkat Looks like a lot change here. Would you be able to summarize?
@kodinkat Looks like a lot change here. Would you be able to summarize?
@corsacca
Sure thing - A new get_link_submission_field_validation_js_code()
function has been introduced; with the main purpose of validating D.T fields against setting constraints - Initially, this is just focussed on the number
field; but, has scope for more to be added.
This new function is/can be referenced by ML Types during form submission, to validate payload fields, before final push. If validation fails, a relevant error message is shown and form submission halts.
Thanks @kodinkat !