Home Forums Plugin Support WP User Frontend Pro Strange behavior when adding checkbox to form

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  DeanT765 5 years, 10 months ago.

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

    DeanT765
    Participant
    Post count: 14

    Everything has been functioning great, custom repeat fields and all. Except for adding a checkbox to one of my forms.

    I just want a checkbox to return a boolean in the meta field but instead when displaying the form, a textbox that requires a URL (?) is shown next to the checkbox, and whatever URL is entered is the data stored in the meta field as seen when “Show all custom meta fields” is checked in Settings.

    Any clue?

    #5302

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can I check this live? May be you could post your login details as private reply, would easier to guess whats going on.

    #5303

    DeanT765
    Participant
    Post count: 14
    This reply has been marked as private.
    #5304

    Tareq Hasan
    Keymaster
    Post count: 2831

    Seems like a input box is there and found out I accidentally put it there in the new version while fixing a bug!!!

    Please open /class/render-form.php and delete the line 977.

    #5305

    DeanT765
    Participant
    Post count: 14

    Awesome that does the trick! Appreciate the help.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Strange behavior when adding checkbox to form’ is closed to new replies.