You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have successfully added validation to my form, in that, an invalid entry is highlighted in the danger style.
However, I also want to take action if the entry is invalid, for example disable the 'update' button.
I'd be grateful if someone could point out how to I link some kind of action to the state of the entry.
I could check the state before allowing the update, but I'd rather disable the button and give an error message.
thanks
Beta Was this translation helpful? Give feedback.
All reactions