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

Added basic client side form validation #7

Merged
merged 2 commits into from
Oct 11, 2017
Merged

Conversation

vaani98
Copy link
Contributor

@vaani98 vaani98 commented Oct 11, 2017

Hey, I just added a small JS function to make sure that the input string can't be left blank.
I also gave the form a name so that I could access the value of the input string from inside the function and I called the function on the submission of the form
(I hope that this is how you do it?)
Thanks!

@TheAdnan
Copy link
Owner

Hey, could you move the script tag to the bottom of the page?

@vaani98
Copy link
Contributor Author

vaani98 commented Oct 11, 2017

Done, I hope it's okay now?

@TheAdnan TheAdnan merged commit d8f987e into TheAdnan:master Oct 11, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants