Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress Registration page auto suggest plugin


  • rajsandy11
    Participant

    @rajsandy11

    Hi all,
    When a user registers on my site he/she has to select country field, Its hard to select from 100’s of countries list. I need something like auto suggest i.e, when a user types ‘I’ it should populate China, India, Indonesia etc.,
    how to achieve this on buddypress registration page ??

    Note: I created Country field in backend and entered countries list manually.

Viewing 7 replies - 1 through 7 (of 7 total)

  • sharmavishal
    Participant

    @sharmavishal

    The auto suggest portion is a theme feature via javascript. check the following

    http://www.webgeekly.com/tutorials/jquery/3-steps-to-creating-a-jquery-autocomplete-drop-down-menu/


    rajsandy11
    Participant

    @rajsandy11

    Thanks for the replay, I already seen some tutorials… If we go with javascript we have to enter the values manually and assign it to a input tag and we call it using javascript/jquery with an ID, But I already added values in buddypress profile fields (Country Field). How can i use that values and auto suggest on frontend ??


    rajsandy11
    Participant

    @rajsandy11

    Here is a simple tutorial https://jqueryui.com/autocomplete/

    But my problem is i already added country values in buddypress profile filed as drop down

    Backend:
    Country:(select field)
    Afghanistan
    Anguilla
    Albania etc….

    Frontend Registration Form
    I need to populate the values here in input field with automatic suggestion.

    I just want some script or plugin to achieve it


    danbp
    Moderator

    @danbp

    Hi,

    here a script to load an xprofile country list
    and here an autoload JS script

    And here some instructions for enqueuing a JS to login/register page.

    Happy coding !


    rajsandy11
    Participant

    @rajsandy11

    @danbp
    Thanks for the replay, Script to load xprofile list is working well, I also had state and city fields in my registraion form… Is there any script to achieve conditional selects ??? i mean if i select a country it should populate states belong to that country and if i select state from that list it should populate cities belong to that city only.

    Thanks


    danbp
    Moderator

    @danbp

    No idea ! Google is your friend.
    I would better let my users enter country, state and cities themselve as using a huge and complicated script.
    I guess also that your question is not related to BuddyPress, but only to customizing a BP feature which is not intended for multisearch at all.

    See Gravity Forms or a similar plugin for this.


    rajsandy11
    Participant

    @rajsandy11

    Thanks again, Will search on google

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar