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 more client-side validation #36

Open
quantumlicht opened this issue Dec 5, 2012 · 6 comments
Open

Add more client-side validation #36

quantumlicht opened this issue Dec 5, 2012 · 6 comments

Comments

@quantumlicht
Copy link
Owner

convert type for
alcool ,prix

limit number of selected encepagement
make sure all text field don't contain numbers

@quantumlicht
Copy link
Owner Author

strip all white spaces. use proper tag escaping functions
strip white spaces in code saq.

@quantumlicht
Copy link
Owner Author

remove possible "," from prix and alcool, replace with "."

@quantumlicht
Copy link
Owner Author

check if the username already exists in the database. make ajax call to a model, passing the requested username and after we query the db to find a match and the ajax response will be a boolean.

@quantumlicht
Copy link
Owner Author

check that no more than 5 cepage are selected

@quantumlicht
Copy link
Owner Author

limit number of tags that can be submitted by user

@quantumlicht
Copy link
Owner Author

We need to capitalize the tags that are submitted.

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

No branches or pull requests

1 participant