Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 13:24:06 2017
|
You can do that with conditional attributes (see documentation):
Attributes = Author, Author Email, Icon, Category, System, Subject |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:04:13 2017
|
Thanks for your quick reply! I just test what you suggested, even I test {1} Preset on edit Icon = icon1.gif, they both didn't work.
Stefan
Ritt wrote:
You can do that with conditional attributes (see documentation): |
Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:13:07 2017
|
The example I gave you worked for me, I actually tested it. Please note that it contains
Options Category = ...
and not |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:23:08 2017
|
Sorry for my carelessness. What you said is definitely right. I just wonder how can Icon and Catagory change simultaneously whatever which one be selected
first.
Stefan |
Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:35:22 2017
|
If you select a (different) category, the current icon setting simply gets overwritten, what ever it was before.
Xuan
Wu wrote:
Sorry for my carelessness. What you said is definitely right. I just wonder |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:40:59 2017
|
What I mean is that, when I select a catagory, the icon will change. If I change the icon, I need the catagory change too.
Stefan
Ritt wrote:
If you select a (different) category, the current icon setting simply |
Re: How to make two attributes reacting with each other, posted by Andreas Luedeke on Fri Jan 6 10:22:24 2017
|
IOptions does not support conditional attributes.
I think the proper solution would be to remove the icon selection field from the input form:
Show Attributes Edit = Author, Author Email, Category, System, Subject
The |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Fri Jan 6 11:05:18 2017
|
So, as far as I know that ROptions and IOptions doesn't support conditional attributes.
I think what you suggest is a nice idea. An alternative way is putting Category attribute before Icon attribute and adding a tooltip
to Icon attribute. However, I think your advice is better. Thanks! |