Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add frontend validation for VAT number syntax #13

Open
Tjitse-E opened this issue Sep 26, 2024 · 0 comments
Open

Add frontend validation for VAT number syntax #13

Tjitse-E opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Tjitse-E
Copy link
Member

Tjitse-E commented Sep 26, 2024

This extension only exempts customers from VAT if their VAT Number is valid. What the extension does not do is validate the syntax. So it's possible for customers to enter the VAT Number with dots/spaces/etc.

Let's add a custom client side form validation to address this https://docs.hyva.io/checkout/hyva-checkout/devdocs/form-api/form-validations.html#client-side

@Tjitse-E Tjitse-E self-assigned this Sep 26, 2024
@Tjitse-E Tjitse-E added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant