ExplorusDataSolutions / OGC-CHISP

OGC Climatology-Hydrology Information Sharing Pilot - This use case focuses on exchanging cross-border hydrologic data (stream flow and groundwater levels) with a unified alert service. Stream/river gauge and groundwater well locations are associated with a river network that in turn is associated with a set of basins (watersheds) (For the purposes of this Pilot, a simple geometric buffer will be used to identify gauge and well locations rather than catchments). For any well or stream gauge location, a web service provides access to the gauge and well information on all upstream stream segments or in all contributing basins. An event service provides subscribers a notification if any upstream streamflow or well water level reaches or exceeds a user-defined threshold. Selected river basins cross the U.S./Canada border. Data providers include state, provincial, and federal agencies. Based on sensor events, a flood is determined to be imminent and alerts are sent to the authorities in the affected areas.
http://chisp.explorus.org/
0 stars 0 forks source link

subscription form numeric validator #55

Closed whyvez closed 11 years ago

whyvez commented 11 years ago

all three fields should be validated for a numeric value using same notification pattern as email

mlhch commented 11 years ago

Done for review. http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map

whyvez commented 11 years ago

should not be able to submit form if values are not number or are left empty.

minutes is required threshold at least one is required

whyvez commented 11 years ago

can you also remove those toggle controls?

mlhch commented 11 years ago

done. http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map

whyvez commented 11 years ago

from comment above:

should not be able to submit form if values are not number or are left empty.

minutes is required threshold at least one is required

can still submit without entering value in minutes

mlhch commented 11 years ago

Done. use bootstrap Validation states, see http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map Also, once use fill email to subscribe, the email will login automatically, then list all its POI and SOI

whyvez commented 11 years ago

if i add invalid entry then try to submit it doesn't work which is intended but if i change the value back to valid and try to submit again the form doesn't post.

mlhch commented 11 years ago

Done this time. see http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map