bernhard Posted August 20, 2015 Share Posted August 20, 2015 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...) 1 Link to comment Share on other sites More sharing options...
Pierre-Luc Posted August 25, 2015 Share Posted August 25, 2015 Haven't tried myself, but does it work when using field.title ? It is possible to do field->value and field->title, so maybe it could work. Link to comment Share on other sites More sharing options...
LostKobrakai Posted August 25, 2015 Share Posted August 25, 2015 The title idea won't work as the Inputfields are only rendering title and id, but never the value. That's why this would be a bigger change to make this work, as all inputfields would need to change. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now