I have the "Value Not Empty" rule in effect, but some users are entering spaces in the field instead of typing a real response, and it is getting past the rule. Is there a way to force them to type something other than the spaces?
Go to Components > BreezingForms > Manage Scripts and then click on the value_notempty script to edit it.
Now replace this:
function ff_valuenotempty(element, message) { if (element.value!='') return ''; if (message=='') message = "Please enter "+element.name+".\n"; ff_validationFocus(element.name); return message; } // ff_valuenotempty
with this:
function ff_valuenotempty(element, message) { if ( ff_trim(element.value) ) return ''; if (message=='') message = "Please enter "+element.name+".\n"; ff_validationFocus(element.name); return message; } // ff_valuenotempty
Then click on the SAVE icon in the lower right-hand corner of the screen. Test it out -- it should work for you now.