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

How to use the pattern type for xtFormValidationInline #34

Closed
knottydon opened this issue Apr 20, 2015 · 2 comments
Closed

How to use the pattern type for xtFormValidationInline #34

knottydon opened this issue Apr 20, 2015 · 2 comments

Comments

@knottydon
Copy link

Good day,

Can you provide documentation on how to use the Pattern type in your xtForm inline validation? Everything is working so far except pattern. Is it supposed to support RegEx? Thanks for your reply.

@knottydon
Copy link
Author

I'm planning to use Pattern type for Phone inputs. Thanks!

@knottydon
Copy link
Author

Finally got it to work. Use type "pattern" in the input tag and insert the Regex pattern in the pattern attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant