Can the forms save multiple values for the check box fields?

This topic contains 4 reply and 3 voices, and was last updated by Philipp 9 years, 4 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
January 16, 2014 at 4:27 am 14458
Philipp Hello, I am having issues getting this plugin to work with my Query Search Filter plugin. The author of that program told me the problem is with the way WP User Frontend saves data. Apparently for checkbox fields, when a user checks off more than one value, the form isnt saving the multiple values but only one. So when a person searches that meta field for a particular value, they will get incorrect results. Does anyone know how to fix this issue so evey value that is checked off in a checkbox field is saved and searchable? Thanks!
January 16, 2014 at 2:27 pm 14486
Tareq Hasan Tareq Hasan

The plugin does saves those checkbox values, currently it stores multiple checkbox values in the single field.

To change this behaviour, it needs to change code in multiple places and I am not going into that trouble. You can see how to extend tutorial here. The trick you need to do is, when submitting the form, save the values in another new custom field separately. Thats all I can help you with.

January 16, 2014 at 2:32 pm 14487
Russell Russell This reply has been marked as private.
January 16, 2014 at 3:46 pm 14491
Tareq Hasan Tareq Hasan

Buying the pro version will help you to achieve more functionalities. Also I can give you some codes that you can save them in different fields 🙂

November 12, 2014 at 8:12 pm 30299
Philipp Philipp

Hey! I bought the pro version and am now trying to creat forms with checkboxes so users can select from multiple choices and also give not only radio box answers.

However the form is only saving correctly when only one checkbox is selected. As soon as I select two or more checkboxes the post created by the form is empty.

I don’t see how the Extend Tutorial can help here. Any thoughts, ideas or a direction in which you could point me?

Viewing 4 Posts - 1 through 4 (of 4 total)