my Block contains multiple Inputs. One is required another one contains an email address. The Required option is selected for one Input, and the Type is set to Email for the other. The Outline of the Input turns red when the values are not valid.
How can I catch these invalid inputs before saving it to the data base?
Thank you for writing us!
It seems like you added save login on “click” event for “Submit” button of our form.
Could you, please, try to move your save logic to “submit” form event. This event is fired only when form inputs are valid.