#3606 Project reg validation needs to happen sooner

v1.0.0
closed
sf-1 (616)
General
Cory Johns
2015-08-20
2012-01-17
No

The project shortname validation occurs onchange (or maybe onblur?) so it only shows up once the user has left the field and scrolled down the page where they might miss it. Let's change this to keyup with a short settimeout so it happens sooner.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-01-20
    • size: --> 1
     
  • Jenny Steele - 2012-01-20
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2012-02-07
    • status: in-progress --> code-review
    • qa: Cory Johns
     
  • Jenny Steele - 2012-02-07

    On allura js/3606. To test, go to the project reg screen at /p/add_project. Enter invalid data in the URL Name field like "no". You will get an invalid message pretty quickly. Without blurring the field, enter more chars to make it valid like "nottooshort" and observe that you get validation feedback reasonably quickly. Change it to "not too short" and see the invalid message in a timely manner.

     
  • Cory Johns - 2012-02-10

    It seems like the common use case is for the user to type in the project name field and have that auto-complete the short name field. It seems that it would be better to (also) do the validation (and update the short name field) while the user types in the project name field. This may be outside the scope of this story, though.

     
  • Cory Johns - 2012-02-10
    • status: code-review --> closed
     
  • Cory Johns - 2012-02-10

    Per discussion, creating a separate ticket. This is good; merged to dev.

     

Log in to post a comment.