Implement client-side registration form validation.
Input forms that need validation will have AJAX requests performed to get validation decisions live. All but a few important and common form fields perform generic validation; these will need a back-end handler in the future in order to have them validated through AJAX requests. Information is conveyed on focus and blur for both errors and successes.
Showing
- common/djangoapps/student/tests/test_create_account.py 6 additions, 4 deletionscommon/djangoapps/student/tests/test_create_account.py
- common/djangoapps/student/tests/test_long_username_email.py 3 additions, 1 deletioncommon/djangoapps/student/tests/test_long_username_email.py
- common/static/common/js/utils/edx.utils.validate.js 11 additions, 5 deletionscommon/static/common/js/utils/edx.utils.validate.js
- common/test/acceptance/tests/lms/test_lms.py 1 addition, 4 deletionscommon/test/acceptance/tests/lms/test_lms.py
- conf/locale/en/LC_MESSAGES/django.po 69 additions, 60 deletionsconf/locale/en/LC_MESSAGES/django.po
- conf/locale/en/LC_MESSAGES/djangojs.po 4 additions, 0 deletionsconf/locale/en/LC_MESSAGES/djangojs.po
- lms/static/js/spec/student_account/register_spec.js 144 additions, 33 deletionslms/static/js/spec/student_account/register_spec.js
- lms/static/js/student_account/tos_modal.js 1 addition, 0 deletionslms/static/js/student_account/tos_modal.js
- lms/static/js/student_account/views/FormView.js 82 additions, 34 deletionslms/static/js/student_account/views/FormView.js
- lms/static/js/student_account/views/RegisterView.js 262 additions, 32 deletionslms/static/js/student_account/views/RegisterView.js
- lms/static/sass/views/_login-register.scss 25 additions, 6 deletionslms/static/sass/views/_login-register.scss
- lms/templates/student_account/form_field.underscore 72 additions, 41 deletionslms/templates/student_account/form_field.underscore
- openedx/core/djangoapps/user_api/accounts/__init__.py 24 additions, 8 deletionsopenedx/core/djangoapps/user_api/accounts/__init__.py
- openedx/core/djangoapps/user_api/accounts/api.py 163 additions, 129 deletionsopenedx/core/djangoapps/user_api/accounts/api.py
- openedx/core/djangoapps/user_api/accounts/tests/test_api.py 2 additions, 9 deletionsopenedx/core/djangoapps/user_api/accounts/tests/test_api.py
- openedx/core/djangoapps/user_api/accounts/tests/testutils.py 30 additions, 0 deletionsopenedx/core/djangoapps/user_api/accounts/tests/testutils.py
- openedx/core/djangoapps/user_api/errors.py 5 additions, 0 deletionsopenedx/core/djangoapps/user_api/errors.py
- openedx/core/djangoapps/user_api/tests/test_views.py 19 additions, 4 deletionsopenedx/core/djangoapps/user_api/tests/test_views.py
- openedx/core/djangoapps/user_api/validation/tests/test_views.py 77 additions, 52 deletions...x/core/djangoapps/user_api/validation/tests/test_views.py
- openedx/core/djangoapps/user_api/validation/views.py 40 additions, 6 deletionsopenedx/core/djangoapps/user_api/validation/views.py
Loading
Please register or sign in to comment