Jump to content

Options fieldtype and inputfield dependencies problem


Juergen
 Share

Recommended Posts

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:

post-2257-0-03193700-1432804446_thumb.jp

And this is the textfield which should be shown if select option 1 or 2 is selected.

post-2257-0-86982400-1432804502_thumb.jp

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

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...