BuddyDev

Search

BuddyPress User Contact Form additional fields

  • Participant
    Level: Initiated
    Posts: 4
    Farhad Iskenderov on #15929

    Hello,
    I use “BuddyPress User Contact Form” plugin.
    Can I add additional fields to my contact form? Like dropdown menu, radio buttons..

    Thank You

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #15939

    Hi Frahad,
    Yes It is possible to do so with some code.

    Please share the fields you will like and I or one of my team members will help you with that.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    Farhad Iskenderov on #15940

    Hi Brajesh,
    I would like to add these fields:

    Phone number
    Country (dropdown menu)
    Adults (dropdown menu)

    Thank you !

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #15941

    Thank you. Please allow me to share the code in couple of hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #15945

    Hi Farhad,
    Here is an example showing how to do it.

    https://gist.github.com/sbrajesh/867910ebf78f2fe3a2550886e199e05e

    Please put it in your functions.php or bp-custom.php and It will work.

    Feel free to extend it.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    Farhad Iskenderov on #15948

    Hi Brajesh,
    Thank you very match!!

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #15949

    You are welcome.

The topic ‘BuddyPress User Contact Form additional fields’ is closed to new replies.

This topic is: not resolved