Skip Navigation

[Resolved] I need help using Toolset Forms, I want to do a condition logic with fields

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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Waqar 10 months, 2 weeks ago.

Assisted by: Waqar.

Author
Posts
#2627455
Capture.PNG
Capture2.PNG

Hello,

I'm trying to create a form and add condition logic to a conditional group. So, when I select a dropdown option, it shows three fields. I tried to research it, but I didn't find much information or code about it.

I'll attach some ss about the form and the conditions it has.

My idea is to create a form like this: hidden link

Please let me know if that's possible because I'm not sure.

Thank you!

#2627577

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

To suggest the most efficient way to achieve this, I'll need to see exactly how these fields and the form are set up in the admin area.

Can you please share temporary admin login details along with the link to the page with this form? Also, include the details about which fields should be dependent on each other.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2628795

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for sharing the access details.

In the form 'Testcalc', I've included two new conditional groups:

1. The first one is for when the generic field 'units-type' has the option with the value 'English' selected. Here is how its condition looks like:


( $(units-type) eq 'English' )

2. The second one is for when the generic field 'units-type' has the option with the value 'Metric' selected. Here is what its condition looks like:


( $(units-type) eq 'Metric' )

Note: Please make sure to use the field option values for these evaluations and not the labels.
( screenshot: hidden link )

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.