allow for data to be set in the initialization routine
Fix - allow for data to be set in the initialization routine

Also, fixes a bug with validateOnChange not being set correctly