#14710 closed enhancement (wontfix)
Support correlation between attributes
Reported by: | Barnes38 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Hello
I wish we can correlate two attributes, for example (fictitious example)
<item name="Totem" icon="images/Totem.png" type="node">
<label text="Characterize a 'totem'" />
<combo key="size"
text="Size (width*height) without support"
values="1.2*5,1.2*6,1.2*6.5,1*7,1*8"
default="1.2*6.5" />
<combo key="height"
text="height of the highest part (with support)"
values="6,7,8,9,10"
default="8" />
</item>
If ever the user chooses "1.2*5" for 'size', then the 'height' is automatically changed and proposed to "6"
If ever the user chooses "1.2*6" for 'size', then the 'height' is automatically changed and proposed to "7"
If ever the user chooses "1.2*6.5" for 'size', then the 'height' is automatically changed and proposed to "8"
If ever the user chooses "1*7" for 'size', then the 'height' is automatically changed and proposed to "9"
If ever the user chooses "1*8" for 'size', then the 'height' is automatically changed and proposed to "10"
Today the values are proposed to their default, but if the user changes one of teh two values, he has to manually change the second value as well.
Thank you to tell me if this already exists (maybe), or if this is something which is possible!
Thanks a lot!!
Attachments (0)
Change History (4)
comment:1 by , 8 years ago
Milestone: | 17.04 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 8 years ago
However you could create a validator rule which checks for combinations of the two keys and corrects one by pressing the fix button..
comment:3 by , 8 years ago
Hello, Thank you for responding. I m interested by the validator rule. Can you provide minimum documentation how-to and/or samples for that, please ? Thanks in advance !
comment:4 by , 8 years ago
See Help/Validator/MapCSSTagChecker
(However it should be reconsidered if it makes sense to tag two tags if one is derivable from the other.)
Sorry but this sounds way too specific.