Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JetForm - Query Option #4131

Open
Dcfranklyn opened this issue Oct 7, 2021 · 5 comments
Open

JetForm - Query Option #4131

Dcfranklyn opened this issue Oct 7, 2021 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@Dcfranklyn
Copy link

Hello,

Plugin: Jet Form Builder / JetEngine Forms
I would find it very useful if you could use the Query Builder within the Select field (maybe Ratio and others too).

My Usecase:

  • Selecting post type
  • Only get children of a parent (instead of all postings from type)
@dmvega81
Copy link

dmvega81 commented Jan 30, 2022

Hello, is there a way to populate term values into Select/Radio/Chechbox with just the parent or the child term?

@Floydtm Floydtm added the question Further information is requested label Feb 28, 2022
@ShifraCohen
Copy link

ShifraCohen commented Sep 9, 2022

Hi,
I want to display a jet engine query results in the jet form checkbox
How can I do that???
In my case, I want to show in the checkbox all the users but the current user

@heisenberg0924
Copy link

heisenberg0924 commented Oct 9, 2022

Hi, you can do that with the jetFormBuilder plugin, there is an option below the select field:
Fill options from -> Generate dynamically
Generator function -> Get balues list from jetEngineQuery
then in the field name section you must put the code bellow:
query_id|prop_for_value|prop_for_label|prop_for_calculated|args_additional
Query_id|Values_from_query_meta_field|Labels_from_query_meta_field|Calculated_fields_from_query_meta_field
Here is a link with more help:
https://jetformbuilder.com/features/multi-optional-field-source-settings/

@fostira
Copy link

fostira commented Jan 30, 2023

Any idea how can we use multiple meta-field values and static text for label property?

I can think of scenarios were we want to have the label in select field become like " ID – post_title" to output:
23 – My post title

@heisenberg0924 @girafffee

@heisenberg0924
Copy link

heisenberg0924 commented Jan 30, 2023

Any idea how can we use multiple meta-field values and static text for label property?

I can think of scenarios were we want to have the label in select field become like " ID – post_title" to output: 23 – My post title

@heisenberg0924 @girafffee

In the Querry builder you can make custom column and you can also make custom sql query, so you can make a custom column with CONCAT(column.ID, " - " ,column.post_title)
Then you set the label option(in the JetFormBuilder) to that custom column.
@fostira

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants