最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

customization - Conditional Logic on CF7 dropdown options

programmeradmin4浏览0评论

I need to create a form with two dropdowns ("Translate from" and "Translate to"), many options (Languages) inside on those dropdowns.

If someone selects any language other than "English" the second dropdown should only have the option "English".

How can I accomplish this?

Thank you!

I need to create a form with two dropdowns ("Translate from" and "Translate to"), many options (Languages) inside on those dropdowns.

If someone selects any language other than "English" the second dropdown should only have the option "English".

How can I accomplish this?

Thank you!

Share Improve this question asked Feb 5, 2022 at 11:58 ThreeFiftyThreeFifty 12 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 0

I was looking for an option that we can hide the specific option inside the dropdown.

But I was able to accomplish this using Conditional Fields plugin.

But if anyone knows a way to do this within dropdown options please answer. Thanks!


[select translate-from "Translate From" "French" "English" "Hindi" "Spanish"]

[group group-584][select translate-to1 "Translate To" "French" "Hindi" "Spanish"]
[/group]

[group group-585][select translate-to2 "Translate To" "English"]
[/group]

[select select-service "Select Service" "Service 01" "Service 02"]

[number number-words min:0 placeholder "Number of Words"]

[submit "Get Started"]

Conditional Logic


show [group-585] if [translate-from] not equals "English"
show [group-584] if [translate-from] equals "English"
发布评论

评论列表(0)

  1. 暂无评论