I have a form that ends with
input type='submit'
That is used to submit the form and also trigger validation script.
Now I don’t like this submit button. I want submit to be just an tag but with submit function to trigger validation normally.
Is there any way out of this problem ?
I think something like this should work: