Crocoblock / jetformbuilder

80 stars 16 forks source link

BUG / NOT WORKING - SELECT field -> Generate Dynamically > Get values list from JetEngine Query #324

Closed franitpro closed 1 year ago

franitpro commented 1 year ago

I tried to use this feature but my select field / drop down list did not get populated. The select/dropdown list items comes blank for me.. Can you help me out please.

Did it work for anyone? It is a BUG as it does not populate the data no matter what JE querybuilder query I use.

Steps to replicate the BUG:

Step 1: Create a JE query buider query and have its queryid set to 48 Step 2: Create Jetformbuilder form and name it meal plan test form Step 3 : Add a Select Field then select the FILL OPTIONS FROM as "Generate Dynamically" then select GENERATOR FUNCTION as "Get values list from JetEngine Query" and then set FIELD NAME to 48|ID|post_title|post_author

Step 4: Create a new page and add a Jetform meal plan test form

Below are snapshots of my querybuilder and form settings

image

image

image

Originally posted by @franitpro in https://github.com/Crocoblock/jetformbuilder/issues/312#issuecomment-1660872796

ihslimn commented 1 year ago

query id is in this context is not a Query ID setting, but an id of the query - you can see it in the URL when editing the query

franitpro commented 1 year ago

my URL is http://localhost123.local/wp-admin/admin.php?page=jet-engine-query&query_action=edit&id=8

so the query id should be 8 in my case?

franitpro commented 1 year ago

Thanks @ihslimn Your information worked.. I was struggling to identify the issue and it just did not cross my mind to look at the url. Cheers

raygooseph commented 1 month ago

Ran into this same problem - my query is now working but the drop down still is not.

Have been trying to fix this for quite some time now so I can launch the new site... hoping to get some help!

image image image image