Save button disabled after client side validation

Hi,

I noticed that the client side validation for date validation is working when the save button is pressed and it shows the message.

But after that save button is disabled and i have to refresh the page for entering it again.
Is that the way it works or am i doing it wrong?

@ninjas005 on which form you have seen this behaviour?
If you have wrote any custom script please share a code.

hi @saurabh6790

thanks for the replying…

This is the custom script i wrote. I am a beginner in this framework.
Is there any problems with this script?

Throw breaking your javascript and resulting in disabled save button.

Instead of throwing exception use return false;

3 Likes

Very thanks for the tip.save time.