USGS-WiM / SiGLDMS

Data management system for SiGL
Other
0 stars 5 forks source link

Multi-site editing: more accurate validation for lat/long #179

Closed jlbruce closed 7 years ago

jlbruce commented 8 years ago

Can we restrict the lat/long validation to more accurate values? Lat: positive decimal number between 22 and 55 Long: negative decimal number between -130 and -55

Also, can we change the validation error messages: "Latitude must be between 22.0 and 55.0 (NAD83 digital degrees)." "Longitude must be between -130.0 and -55.0 (NAD83 digital degrees)."

troddick commented 7 years ago

Done. And I think I may have improved the removal of the invalid flag I was setting and removing when they make a mistake and then fix it. Hopefully this will fix some of the other validation issues.