Okay
  Public Ticket #3363525
Creating a table using Ultimate Member registration entries
Closed

Comments

  • Jordan Smith started the conversation

    I am building a registration form that has the normal user info (that I do not need to call on this table) plus a bunch of sections below that I do want to call like:

    What is your T-Shirt Size?    Short Paragraph        shirt_size
    What local market are you based out of?    Short Paragraph        local_market
    Are you willing to travel?     Radio Button       willing_to_travel
    


    I want to build a table where my project managers can search the list of employees based on the meta key criteria.

    How do I find the meta key in the WP data tables? (shirt_size,  local_market, etc)

    Thanks!

  •  1,849
    Miloš replied

    Hi, Jordan.

    Sorry to disappoint you, but for something like this, a custom SQL Query is needed to pull the metadata as you described, our support is not able to cover writing or debugging custom Queries,

    but we will do our best to advise.

    -

    As the custom posts/fields and metadata are a part of the WordPress database;

    pulling this data can only be done through MySQL query-based tables.

    Please note: Using this plugin feature requires at least a basic knowledge of SQL. It is assumed that you can create the table in some MySQL data manager (e.g., PHPMyAdmin, MySQL Workbench), and prepare a SQL query that will return the data you need. 

    A good way to achieve this can be experimenting using our WPDB SQL Query Constructor tool.

    - Please note: this tool is not an ultimate query generator. It simply constructs a suggestion of a query. We are constantly working to improve it, but SQL is such a complicated and flexible language that full automation for constructing queries is next to impossible. 

    Consequently, the more complicated the query, the higher is the probability that it will not return exactly what you need. So, you will often need to play around with the resulting query.

    Please be advised that writing custom SQL Queries or debugging Queries does not fall under what our support covers.

    You can check out this official page of WP codex,  for help with writing custom Queries.


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables