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

Required field validation doesn't work #14

Closed
himanpatel opened this issue Oct 20, 2015 · 4 comments
Closed

Required field validation doesn't work #14

himanpatel opened this issue Oct 20, 2015 · 4 comments

Comments

@himanpatel
Copy link

i am using it in my project and if i remove your js validation works perfectly and if i add it then my required field validation stopped working.

@himanpatel
Copy link
Author

v1.0.2
No Js Error on console

@jerichozis
Copy link

The problem of whole plugin is that it use value as a placeholder. And its completely crash ever validation atempt.So,i figured out solution.
1 - Go to plugin js file
2 - Replace all "value" with "placeholder"
3 - Profit! Now it works as a placeholder.

And a little comment to developer:
Im using your plugin with fairly popular "validate.js" plugin. And i had perform this trick to make this plugin work with your.Can you add some custom option to placeholdem to use it like a ,strictly speaking, placeholder.

@jackrugile
Copy link
Owner

Hey, thanks for bringing this to my attention you guys. I apologize for the delay on updates. I'll try to take a look at this soon, give it some tests, and get it implemented.

@jackrugile
Copy link
Owner

Just wanted to give a heads up that this plugin is officially inactive. I've updated the readme to reflect that. Thanks for using the plugin and I apologize for any inconvenience.

This project is no longer being developed or maintained. The effect this plugin gives is visually appealing, but it's a bad practice in terms of usability and accessibility. On top of that, manipulating the values of different HTML5 input types directly has a lot of issues (text, email, number, search, etc.). I suggest using an alternative styling for labels and placeholders, such as Floating Labels.

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

3 participants