DH-IT-Portal-Development / ethics

Ethical Committee web application in Django
http://fetc.hum.uu.nl
MIT License
2 stars 1 forks source link

Field required warnings on first pass #124

Open miggol opened 3 years ago

miggol commented 3 years ago

When a user visits a proposal form page for the first time, they are greeted with loads of red warnings about fields being required or not being filled in correctly. I could imagine this not being experienced as user-friendly if they haven't even had the chance to fill them in yet

Sometimes, multiple markers are shown, as in attached pic. Not as much a bug as an annoyance. We could probably make a "first pass" marker to disable them when the user first sees the form. The double warning might be a separate issue.

image

tymees commented 3 years ago

What do you mean with multiple markers?

I do see the doubled error, but as you point those out seperately I'm at a loss what you mean :P

miggol commented 3 years ago

Instead of markers I just mean warnings, really

tymees commented 3 years ago

Ah okay!

Yeah those double warnings elude me somewhat too, have been there for years. Never had the time to look into it tho

tymees commented 2 years ago

Just had a brainwave; maybe we could check the HTTP referer, and only show the errors when that corresponds to our current view?

miggol commented 2 years ago

What a lovely stateless hack. But this would not help with all the red warnings popping up when you visit the page for the first time, right? I've clarified the issue

Meesch commented 2 years ago

Ty zegt: laat links liggen als het te lang duurt om dit te solven

tymees commented 1 year ago

When upgrading to DSC3 we can try using Bootstrap's .was-validated to suppress the checks visibility, that should actually fix our problems

tymees commented 1 year ago

Removed a comment for a different issue, whoops