In a content type I created I have the following:
Metric which is a list whose values are : head,height and weight
units which is a list whose values are : CM and KG
I want the following :
Whenever the user selects head or height, the CM will be automatically selected and when the user selects weight, I want the KG to be selected.
I've tried to do it with the Conditional Fields module, but it doesn't work.
When I set it the units to be invisible, it works. I.E.: if the user selects head for example, then the units list vanish, but I can't make it work with the value.
How can this be done ?
I there a better way to do it with coding?