Comprehensive Extensible Data Documentation and Access Repository (CED²AR) was designed to improve the documentation and discoverability of both public and restricted data
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.
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.