National Data Archive (NADA) is an open source data cataloging system that serves as a portal for researchers to browse, search, compare, apply for access, and download relevant census or survey information. It was originally developed to support the establishment of national survey data archives.
A small improvement on the "Review and submit" page in the "Data deposit" section. Currently, when there is an error in the "share_email" field, the message displayed is not very clear.
This fix allows you to have a detailed message with the correct translations.
I've also added a check on the field before the POST request to see whether it's empty or not.
Error message before
Error message after
An alert message is also shown to the user if the email has been send successfully. Currently there's no notification if the email has been send.
Hello,
A small improvement on the "Review and submit" page in the "Data deposit" section. Currently, when there is an error in the "share_email" field, the message displayed is not very clear. This fix allows you to have a detailed message with the correct translations. I've also added a check on the field before the POST request to see whether it's empty or not.
Error message before Error message after
An alert message is also shown to the user if the email has been send successfully. Currently there's no notification if the email has been send.