Skip to main content
arulk0002
Inspiring
Mar 23, 2022 7:28 AM UTC
Question

Multi Drop Down Validation

Hi Friends,

Please look at the screenshot. There is a two rows. In that two rows should validate when the two rows are equal. So what i am planning in the "Department" section. When i used "Corporate" in the dropdown then it should not come in the second row. Please share your thoughts.

    3 replies

    gopalk2865
    Participating Frequently
    Mar 23, 2022 8:12 AM UTC

    Hi, you can count the number of selected value in department string to check whether they are more than 1 or not and accordingly you can apply this condition for validation.

    viraty527193
    Inspiring
    Mar 23, 2022 8:28 AM UTC

    Hi arulk0002,

    If you want to remove the value from the dropdown as it is being selected in any of the above rows, you have to re-evaluate it for each row. You can remove the items already selected from the choiceLabels and choiceValues arguments.

    If you are only looking for validation what [mention:8b930cc189ea4ddf8fcb9c275d619049:e9ed411860ed4f2ba0265705b8793d05]has suggested will work.

    Hope this helps

    harshitb6843
    Brainy
    Mar 23, 2022 12:44 PM UTC

    There is already a thread going on for this problem by you - https://community.appian.com/discussions/f/new-to-appian/24031/multi-drop-down-validation

    Keeping the community clean, I would insist on not creating multiple threads for a problem.