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

Make old experiment validation changes dynamic #25

Closed
priyald17 opened this issue Jul 24, 2013 · 0 comments
Closed

Make old experiment validation changes dynamic #25

priyald17 opened this issue Jul 24, 2013 · 0 comments

Comments

@priyald17
Copy link
Contributor

Code from branch experimentValidation (commits 7349eb4 to fe074a3) (7 commits) already merged into newCreationFlow via develop.

Now, restructure this validation to be dynamic (where possible, done as the user passes through the field).

Includes from before: experiment title, input variable names, start date must not be after end date, list inputs must have at least one list option, email address field validation (admins and published).

New: validation of likert steps (should be a valid nonnegative number)

EDIT: New: validation of timeout (should be a valid nonnegative number)

Master Issue: #63

@ghost ghost assigned priyald17 Jul 24, 2013
priyald17 added a commit that referenced this issue Jul 30, 2013
…de them dynamic. Also added validation for likert steps. The new validation model now validates all entities dynamically, and where needed, validates some entities upon experiment submission. TODO: unit testing.
priyald17 added a commit that referenced this issue Jul 30, 2013
priyald17 added a commit that referenced this issue Jul 30, 2013
…re on both the experiment/input model objects and the panels that fire value change events.
priyald17 added a commit that referenced this issue Aug 1, 2013
…ng, refactoring, etc.). Added validation for negative numbers on likert. Modified input name validation so it uses a regex rather than just checking for spaces. Added validation for timeout. Fixed date validation bug (fixing late start date by moving it to same day as the end date did not work) by pulling date values from the start and end boxes rather than from value change events.
priyald17 added a commit that referenced this issue Aug 1, 2013
…cumentation and tests to indicate that email TLD's such as co.uk are accepted.
priyald17 added a commit that referenced this issue Aug 5, 2013
…s in ExperimentDAO to null while removing sensitive fields.
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