setForm() not submitting blank text fields.

Open
#24 · Created  · Last updated

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.

0 attachments

0 comments

Loading commits...