Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-222

Login button should be enabled at all times

    Details

    • Complexity:
      Undetermined

      Description

      Background

      The Reference Application login screen requires you to select a session location before the Login button is enabled. This has proven to be confusing for quite a few users.

      Instead we should remove that dynamic behavior, and let the button always be enabled. But we'll show an error message if the user tries to log in without specifying a location.

      Acceptance Criteria

      1. When you go to the login page, the Login button should always be enabled (even if you have not chosen a session location)
      2. If the user clicks the Login button without any session location being chosen, then a "Required" error message should appear next to the "Location for this session" heading.

      Dev Notes

      The relevant code is in login.gsp (+/- LoginPageController) in the referenceapplication module.

      I would do this with client-side validation, but server-side would also work fine.

        Attachments

        1. after_login.png
          after_login.png
          62 kB
        2. location_not_selected.png
          location_not_selected.png
          62 kB
        3. login_button_enable.png
          login_button_enable.png
          60 kB

          Activity

            People

            • Assignee:
              wyclif Wyclif Luyima
              Reporter:
              wyclif Wyclif Luyima
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: