Skip to:
Content
Pages
Categories
Search
Top
Bottom

Select box value pairs

  • @jineu

    Participant

    How do we format the select box value pairs so that only that value is stored in the DB?

    For example, a dropdown (select box) in the custom profile field. The value we want to store in the DB is only “US; but dropdown label for the user reads: United States.

    What is the format of the text to put in a drop down to do this?

Viewing 1 replies (of 1 total)
  • @venutius

    Moderator

    I don’t think they work that way, I also looked at BuddyPress Xprofile Custom Fields but that did not allow for that, just a single field to enter the value. You might want to suggest it as a feature request on BuddyPress Trac:

    https://buddypress.trac.wordpress.org/

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