I have a block within a block that has a form but I didn't want to go to the next step without the form being validated, any suggestions on how to do this besides adding a button that needs to be clicked or visible to validate the form?
Hi Diogo,
You should try to validate the data in the web block itself and then send the result of validation like isValid or not in an event to the parent.
regards
Hi Vikas,
But how can I validate the form without a button? or how make a auto click with a hidden button?
Hi,
As you mentioned that don't want to go on next step without validate. So here you have some event trigger for next step. You can use that next step trigger for validation. It will be helpful if you can provide the UI of the screen.
Hi Diogos,
Please see the attachment file it will help you
can you please tell us how are you going to the next step? like my onClick of a link or scroll or any other way?
Thanks