Dynamically applying validation rules for numeric columns based on changing the dropdown column.
We set the rules for the numeric column to show the validation message when the number is below 2 and edit the number and change to 1 and now I'm changing the dropdown value then the validation rules applied as expected.
But after changing the dropdown value the validation rules not removed.
Sample:
column template -Core (3).zip
Replication procedure:
Run the sample
Set the numerictextbox value as 2
Change the dropdownlist value to brazil
Now validation message is shown properly
And change the dropdown value
You can see still validation message is maintained even though we removed the rules
Actual : Validation is not removed on numeric textbox even we removed the rules
Expected: Validation message should not be displayed when the rules are removed