Juergen Posted May 28, 2015 Posted May 28, 2015 Hello @ all, I have a fieldtype options inputfield with single choice in a template. Depending on the the selected value a textfield should be shown or not. This is the options fieldtype: And this is the textfield which should be shown if select option 1 or 2 is selected. Unfortunately it doesnt work. The textfield will be always shown independent of the selected value. F.e. if I choose only a simple dependency like "pricelistselect=1" it works. Has somenone a hint for me, whats going wrong?
LostKobrakai Posted May 28, 2015 Posted May 28, 2015 Does it work with "pricelistselect=2"? Maybe it's an issue with the "value|label" format.
Juergen Posted May 28, 2015 Author Posted May 28, 2015 It works also with "pricelistselect=2". So if only one value is the dependency it works quite well, but if the condition is a little bit more complex like "1 OR 2" it doesnt work anymore. I dont think that the value/label format is the problem. If there would be a problem it would not work at all.
tpr Posted May 28, 2015 Posted May 28, 2015 Could you try it with "pricelistselect.id<=2"? I know it sounds the same as without ID, but I remember a similar issue where such thing helped (but I may be wrong)
LostKobrakai Posted May 28, 2015 Posted May 28, 2015 For me "<=" is just not working with radio buttons, but it works with a selector like this: "pricelistselect=1|2". 1
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