ncrncornell / ced2ar

Comprehensive Extensible Data Documentation and Access Repository (CED²AR) was designed to improve the documentation and discoverability of both public and restricted data
https://www.ncrn.cornell.edu/projects/#Metadata_Standards_and_Tools
Other
6 stars 1 forks source link

web usability issue with form boxes on xml upload screen #1

Open MatthewRichardsonICPSR opened 8 years ago

MatthewRichardsonICPSR commented 8 years ago

When I attempt to upload a new XML file, I'm presented with a file field and three boxes. If I enter a bad character (like a space) in the boxes, it takes me to the same screen but my data entry has been lost.

Try using HTML5 validation here. It'll keep the user on the same screen so s/he doesn't lose his/her data entry. Also, it's easier to code than writing a bunch of javascript to validate the input, though it doesn't mitigate the need for validation in the java.