Select menus left empty by the visitor are having values added to them when updated in the CP because FreeForm is showing the first item in a menu's list by default, even though that's not the data in the database.

Once the form is updated, that default item from the top of the list gets added to the data.

For example, the default list of States (which is not a required field in our form) displays "Alabama" by default at: /cp/addons/settings/freeform/edit_entry&form_id=#&entry_id=#

So we can't update this entry without updating Alabama, in the database, even though our user left it blank.

Short of adding "No Selection" as value to all select fields left blank, what is the intent? How should this be working? Should I be pushing a non-breaking space into the value of a nonselected menu?

Is this just a bug?

Please advise. Thanks.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.