• I’ve created some custom fields with the UM registration form. This works great!
    I’m now trying to get the meta to show in some gravity form fields. I’m using the default value as {user:customfield}. For dropdown lists, it’s returning a numerical value that relates to the sequence of the option. For all other values, it’s returning ‘array’.
    Is it possible when using tags like {user:customfield} that I could request the string instead?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ljcn

    (@ljcn)

    So it seems that all these custom fields are saving a numerical value rather than the string in the database. Before I switch to another plugin that saves the value as a string, has anyone else managed a workaround?

    For example, in both the ‘usermeta’ and ‘um_metadata’ tables the responses are recorded as:
    umeta_id 2530
    user_id 50
    meta_key favourite_color
    meta_value 6

    or

    umeta_1d 2530
    user_id 20
    meta_ket favourite_color
    meta_value 4

    These display as the string values (i.e. light blue, dark red) on the user’s profile though whilst using the UM forms. Where can I find the php script that manages this?

    Thread Starter ljcn

    (@ljcn)

    Another update

    When a user first registers at the site, the values are entered as ‘green, blue’ etc
    However, if the value is amended on their profile then it switches to a numerical value.

    Would really appreciate some help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User Meta – Display value’ is closed to new replies.