maxatwork / form2js

Javascript library for collecting form data
http://maxatwork.github.com/form2js/
MIT License
640 stars 137 forks source link

Handle boolean true values in incoming json for checkboxes #40

Closed danielalexiuc closed 12 years ago

danielalexiuc commented 12 years ago

"true" != true 

Added code to handle boolean (true) in addition to the existing string ("true").

This allows truthy values in json to be booleans.