teamcfadvance / ValidateThis

An object oriented validation framework for ColdFusion objects
http://www.validatethis.org
44 stars 32 forks source link

Replace jquery.field with single getValue function. #88

Closed ghost closed 9 years ago

ghost commented 9 years ago

This fix is for jQuery client side validation. The current jQuery Field Plug-in did not correctly handle input fields with [type="email"] causing getValue to return "". getValue is used within DoesNotContainOtherProperties, EqualTo, and Required with a dependent.

As that is the only function used from that plug-in I've replaced the entire thing. If you have a better solution please let me know. I've only been using this framework for a few days.