Skip Navigation

[Resolved] I'd like to ask for your help in creating a user form.

This support ticket is created 3 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by chelhwanS 3 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#2122141
134.png
133.png
132.png
131.png
130.png

Tell us what you are trying to do?

I am creating post form to register the data in the "application" custom field group.
At this time, I use the field data of another custom field group, "member list".
I would like to look up the "member list" custom field group with the "licence-number" value and get the "name" value.

Please tell me a good way to achieve this

1. "member list" custom field group ( 130.png)
2. post fom of "application list" custom field group (131.png)
3. It's the process I want. (132.png -> 133.png -> 134.png)

What is the link to your site?
yaksa.site

#2122513

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Chelwin,

Thank you for getting in touch.

The lookup that you want to achieve are they for the backend or is it for the frontend?

Please provide a bit of clarity on this one for me.

Thanks,
Shane

#2122767

It's for the front end.

#2123437

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Chelwin,

In a case like this I would recommend that you have a look at our documentation below.
https://toolset.com/course-lesson/creating-a-custom-search/

This should be able to guide you through this process.

Thanks,
Shane

#2123887

I must have misunderstood the terms "fronend" and "backend".
Getting help now is not related to "View Block" but to "Post form".

During data registration, look up the values of one field in another custom field group.

And I would like to receive a specific field value, one of the other custom field groups, and put it in the field that requires that data among the custom field groups that are being registered.

I would like to proceed by querying the commonly used field values in two different custom field groups to obtain the required data values.

1. First, I search for data from specific fields in other custom field groups to obtain field values for the groups of custom fields I work on (licence-number).

2. Obtain the required values from another group of custom fields retrieved. If necessary, specify variables to receive values.

(the "name" field value for another custom field group -> the "name" field value for the custom field group you are working on)

I'm inquiring about how to proceed with these two tasks.

#2125297

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Chelhwan,

Thanks for the clarity on this one.

1. First, I search for data from specific fields in other custom field groups to obtain field values for the groups of custom fields I work on (licence-number).

On the post form you want to have an Input field that is a search that will search through a specific field group ? Not sure I understand this exactly, where will this data be coming from ? For our Forms only fresh data can be entered. There isn't a way to have a search field on the form to input data unless it is some form of Post Relationship and then in this case you can only search based on the post title.

So in a case like this you would've had to have a post relationship created between another post type that has the Licence number as its post title.

2. Obtain the required values from another group of custom fields retrieved. If necessary, specify variables to receive values.

Based on this here i'm assuming that once the user searches for the licence number and then selects it, there should be an auto populating of the other fields that are related to selected licence number ? This also isn't possible to do.

I hope I was able to clarify these questions for you.

Thanks,
Shane

#2125977

I guess I don't know much about "form".

Thank you for your efforts.