Hi,I have resolved the issue. When we tick the client validation, submit
button behave as type=button and when you uncheck it behaves as type=
submit. So if you have unchecked the client validationit behaves as a
submit and your custom reditrection doesnt work. So if you want it to
work you need to restrict the behavior of submit by using
event.preventDefault().Thanks!!!!