Support » Plugin: Calculated Fields Form » Line Text DS field don’t load data

  • Resolved cchavarria

    (@cchavarria)


    Hi there!

    I’m trying to load the “description” (bio) logged user data, using the Line Text DS Field. (List values of “User Data” option from “Define Datasource” drop list is to limited)

    I’m using this custom query:

    SELECT meta_value AS text FROM wp_usermeta WHERE umeta_id = 140

    Also tried “Query structure” fields but data don’t loads. The query is correct, it works at testing. What I’m doing wrong???

    I tried putting LIMIT 1 an also without “AS text”. Thanks a lot in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Sorry for the late, after the modifications in the WordPress forum, I have not been receiving the notifications for new entries.

    If you are using a “Line Text DS” field the correct query would be:

    SELECT meta_value AS value FROM wp_usermeta WHERE umeta_id = 140

    The AS text is used with fields that require a text and value, as DropDown DS, Radio Buttons DS, and Checkbox DS.

    Please, be sure that exists an entry in the table with umeta_id = 140, and that the prefix used by WordPress in your website is wp_

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Line Text DS field don’t load data’ is closed to new replies.