4

Example:

field_1 values 1,2,3 field_2 values a,b,c

field_2 depends on field_1 value 2

Now I want to make dependency on field_3

field_3 shows only when if field_1 value is 2 or 3 or if field_2 value is b or c

i am trying this code

<depends>
        <field id="field_1" separator="|">2|3</field>
        <field id="field_2" separator="|">b|c</field>
</depends>

but this condition is goes wrong if field_1 is 3

Any suggestion?

3
  • When field_1 is 3, field_2 and field_3 not displays? – Thao Pham Sep 24 '16 at 4:12
  • @Bill Yes when field_1 is 3, field_2 and field_3 not displays – ND17 Sep 26 '16 at 4:41
  • field_2 is not displaying that's correct but field_3 should be display – ND17 Sep 26 '16 at 5:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.