Zum Hauptinhalt gehen

RULE to select value of checkbox depending on another field

Kommentare

2 Kommentare

  • Zendesk API User
    Author: hoebbel - 8/25/2023 11:11

    Hello Nina,

    Should the combobox value be fixed, if the textfield is not empty? And when it is manually emptied, should the editor manually change the value of the combobox?

    If so, this might be a solution:

     

    <RULE> <IF> <NOT> <PROPERTY name="EMPTY" source="myTextField"/> </NOT> </IF> <WITH> <TEXT>desired value of the combobox</TEXT> </WITH> <DO> <PROPERTY name="VALUE" source="myCombobox"/> </DO> </RULE>

     

    Attention: This rule is ignored if the text field is empty. As soon as it is filled, the rule is executed and changes the value of the combobox (and the editor cannot change the value afterwards). If it is emptied again, the rule is ignored and the value remains!

    Best regards
    Holger

    0
  • Zendesk API User
    Author: ncbruckner - 8/25/2023 14:27

    Yes, that works for me.

    I needed to change it to  <PROPERTY name="SELECT" source="myCheckbox"/> but that works. Thank you.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.