Hello and thank you for contacting the Toolset support.
If I correctly understood your request, you want to populate another field when the user selects a value for the field "all-objects-dropdown", right?
You can add a generic field for that field without any values. Then, you will need to implement an AJAX call/action to return the possible values based on the selected item in "all-objects-dropdown". Read more about AJAX requests in WordPress in the following articles:
- https://developer.wordpress.org/plugins/javascript/ajax/
- hidden link
Please note that this is custom code, and is therefore out of the scope of the Toolset support forum. If you are not comfortable with programming consider hiring a developer. You may want to work with one of our partners https://toolset.com/contractors/
I was checking the links you sent me, but couldn't help as they are too generic.
Any Toolset example on how to read/set Form fields through jscript?
Thanks for any suggestion.
I could not find any previous examples in our forum. But, I did find some of tutorials on how to implement an AJAX call in WordPress:
- hidden link
- hidden link
- hidden link
Thanks, I had already browsed those, as we are probably using the same search machine :))
They are too generic and related to direct sql queries.
Do you think Minesh could have some other idea? He already helped me in the past with Ajax/Javascript stuff.
By the way, I think the Toolset help miss some practical jscript snippets area, especially made for Toolset.
Coming from the Filemaker world, it's so frustrating to see that you need hours of coding, to achieve simple stuff you can solve with Filemaker in 10 seconds....
Based on the information you shared and as per my understanding, it seems you want to implement the dependent dropdown feature. (like County -> State -> City) with Form you created using Toolset Form.
I'm afraid that there is no native feature available offered by Tooslet that you can use to display the dependent dropdowns like: Country -> State -> City.
By the way, I think the Toolset help miss some practical jscript snippets area, especially made for Toolset.
==>
I maybe agree on this but we have tons of features to be added to our product and it also depends on predefined priorities set by our Devs.
If you really like and want to see this feature should be added to our product, I strongly suggest you should file a new feature request using the following form that should be reviewed by our Product Manager:
- https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
I understand your point.
But sometime, some small practical examples, like the usual County -> State -> City you mentioned, help us to achieve this "aahhh, now I got that" moment.
Once we have a direction it's just matter of trial-errors.
Without, it's just a walk in the dark.
Well, if there's no other option we can close the ticket.
There is no option/feature/workaround available at the moment. One possible workaround would be to add different generic select fields and add form's conditional statement. But again, it will be static values as you will require to add all select options manually. I'll try to find workaround in near future that should help users like you but I do not promise anything at the moment and there is no ETA on it.