Jump to content

inputfield dependencies using options labels


bernhard
 Share

Recommended Posts

if you have an options selectfield eg "demo_select"

1=value|title

2=value2|title 2

3=value3|title 3

and want to have a visibility dependency for "show this field only if..."

this works:

demo_select=1|2

but this doesn't:

demo_select=value|value2

i think the labeled version is better because it's better readable and labels don't change if you change the order of your options (if you create new ones or delete old ones the ids are newly created and therefore changed...)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...