Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add Textbox to Checkbox list


  • rosemalfoy93
    Participant

    @rosemalfoy93

    Hello everyone, I’m new to buddypress so forgive me if it’s a silly query.

    I want to add a textbox at the end of my checkbox list. So if my last checkbox option is ‘others’ a textbox needs to be displayed. Whatever the user writes in this should be added to the checkbox array. In the profile, when the field is mentioned instead of the option ‘others’, whatever the user types in the checkbox needs to be displayed.

    I tried implementing https://gist.github.com/boonebgorges/73f79d6a7d551ebcedad/
    The textbox value however doesn’t get saved. It gives me this error ‘There was a problem updating some of your profile information. Please try again.’

    I have put the code mentioned in the git in my bp-profile.php Is there something I’m missing?

  • You must be logged in to reply to this topic.
Skip to toolbar