Hi
I have an option set on entity form. It has 5 values. Whenever a user change the value of optionset then I do some condition check and then if cnditions are met then the value can be changed else it should stay at same value.
Ad os now, I have put my function on change of optionset to run the logic. Logic returns true and I do nothing. If returns false how do I set the position of optionset back to same point.
How can I do this?