
Branch: bdw429s/lucee:develop
Branch: lucee/lucee:develop
Open
Description
When using cfajaxproxy, if you call myProxy.setForm( 'myForm' ) empty text fields will not get submitted. That is because the serialize method checks to see if there is a value, but an empty string evaluates to false in JavaScript.
The formToArray() method already filters form elements with a null value so this check is unnecessary anyway.
I have modified the minified file since I can't find the non-minified version.