Skip Navigation

[Resolved] Which Toolset feature to use?

This support ticket is created 4 years, 1 month 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 4 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1864199

Hi,

Normally I would use a Post Form or a User Form for this but in this scenario, I don't want to add posts or update user data.
What I'm wanting to build on a form is where a user can select from dropdown list 1, 2 & 3 and then based on those values, they click submit and then from there XYZ is presented.

Like I said, I would use a post form normally but in this scenario, I don't want to add post data.

What's the best feature within Toolset to achieve this? I'll be using custom cred fields for the dropdown lists etc.

Cheers

#1865259

Hello,

Please elaborate the question with more details.
they click submit and then from there XYZ is presented.

Is there any relationship between XYZ and dropdown list 1, 2 & 3?

Are we talking about a search form?
If it is, you can follow our document to setup the custom search form:
https://toolset.com/course-lesson/creating-a-custom-search/

#1865287

Well, I'm trying to build a dynamic set of select fields using JQuery which are going to call a custom function within the database based on each value selected.
So just imagine the questions to be:

Q1. Are you a member?
Q2. Great, what is your member number?
Q3. How old are you
Answer: your name is ZYZ and your balance is 123

So as you can see above, on a single form. Based on answers to questions 1-3, need to show the result on the same form.

Cheers

#1865341

No, there isn't such kind of built-in feature within Toolset plugins, you might consider custom codes.

For example, after user choose options of those three fields, use AJAX to trigger a request to WordPress:
https://codex.wordpress.org/AJAX_in_Plugins

And respond the AJAX request with your custom function.