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

Merge client-side and server-side form validation #8

Open
Kaixhin opened this issue Oct 8, 2015 · 0 comments
Open

Merge client-side and server-side form validation #8

Kaixhin opened this issue Oct 8, 2015 · 0 comments

Comments

@Kaixhin
Copy link
Owner

Kaixhin commented Oct 8, 2015

The new experiment and optimisation pages currently use submit and on-change validation respectively. In addition there is validation code server-side (which is necessary for an API). To abide by the DRY principle, perhaps the server-side code can be sent as a function to the client-side, and both forms can utilise on-change validation.

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