Home Forums Plugin Support WP User Frontend (Free Version) Can the forms save multiple values for the check box fields?

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Philipp 4 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14458

    Russell
    Member
    Post count: 2

    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!

    #14486

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #14487

    Russell
    Member
    Post count: 2
    This reply has been marked as private.
    #14491

    Tareq Hasan
    Keymaster
    Post count: 2831

    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 ๐Ÿ™‚

    #30299

    Philipp
    Member
    Post count: 2

    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 5 posts - 1 through 5 (of 5 total)

The topic ‘Can the forms save multiple values for the check box fields?’ is closed to new replies.