• JohnX

    (@xbootenk)


    Hi Chad,

    I added a new street value to my “Street” select field in WP-Members Fields (adding Rockledge Lane,).

    On editing user Bob Fletcher who has no Street stored, I find Rockledge Lane in the Street pull-down list so I select it and save. On returning to the Fletcher record, the street has not been stored.

    I will activate you again so you can check it out on your own user record at my site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Did you add both a display value and stored value pair when you added this?

    Select fields (single and multiple), multiple checkbox, and radio groups all must have a display/stored value pair unless the value is an empty/placeholder value.

    For example:

    Display Value|stored_value,
    Rockledge Lane|rockledge_lane,
    Main Street|Main Street,
    etc|etc

    Note the last value should not use a comma at the end. Also, I generally use an underscore, but I want to emphasize in the example above that the display value and the stored value can be exactly the same. In some cases, where you may be integrating with another plugin or application, the values must be the same (for example, MailChimp uses the same value for both display and saved value).

    Thread Starter JohnX

    (@xbootenk)

    Duh!

    That was it. Needed two values…

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New Select field value not being saved.’ is closed to new replies.