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
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/
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
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.