SnowpitData / Snowpilot

D7 mods to accomodate snowpilot web app
4 stars 1 forks source link

Clientside field validation #1

Open jimurl opened 8 years ago

jimurl commented 8 years ago

Add clientside field validation to snowpit-profile node form

jimurl commented 8 years ago

Using clientside validation module and clientside validation form module. the first module installs the https://jqueryvalidation.org/ , which we might be able to access directly for more complex validations; for example, involving 2 fields such as a Unit of Measure field and a value field ( i.e. Farenheit should be -40 -> 65 degrees, C should be -40 -> 17, or whatever.

jimurl commented 8 years ago

Clientside validation module works fine for verifying, clientside, the standard drupal cck/content restrictions. WE can use the stability test "Propagation Saw test" -> length of isolated column field to test out using jqueryvalidation plugin outside of Clientside Validation module. This field is ideal because it is a text field , but it should really only accept integer input.