Skip to content

Form submition and validation #1963

Discussion options

You must be logged in to vote

Hi!

You can use the submitCallback option where you can pass a method that is beeing called after the validation is performed. Checkout this example to see how it works:
https://tailwind-elements.com/docs/standard/forms/validation/#custom-validation

Read about the submitCallback option on our API section:
https://tailwind-elements.com/docs/standard/forms/validation/#docsTabsAPI - section options

You can also listen for our events that are emitted after validating components:
https://tailwind-elements.com/docs/standard/forms/validation/#docsTabsAPI - section events

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nick22ll
Comment options

Answer selected by Nick22ll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants