Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Form field validation examples? #92

Closed
kokujin opened this issue Jul 31, 2017 · 3 comments
Closed

Form field validation examples? #92

kokujin opened this issue Jul 31, 2017 · 3 comments

Comments

@kokujin
Copy link

kokujin commented Jul 31, 2017

Could someone point me to the form field validation examples? Thanks

@Chalarangelo
Copy link
Owner

Hello, there! What exactly do you mean by form field validation examples?

@kokujin
Copy link
Author

kokujin commented Aug 2, 2017

HI @Chalarangelo , I meant that I did not see any examples of how fields are marked as invalid and error messages are displayed.

@Chalarangelo
Copy link
Owner

Well, invalid fields are marked as invalid the normal way (i.e. if you type something like blahblah in a email field, it will go red). I did not include invalid or hover-over fields in the documentation page, as this can be easily tested right there, but I might update the docs soon enough (although there's a few changes I am going to be making in the next few days to the input_control module, so it might be a while before these are shown).

As far as error messages are concerned, there is no built-in support, however you can use some other module or just plaintext to show error messages as necessary. I will look into the idea, if it can be implemented with a pure CSS solution (I have something in mind), although this will certainly take a long time to build and test, as there are a lot of things that need to be considered.

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

No branches or pull requests

2 participants