Thanks Jörn!! It works!

But I continue with a problem because the link Submit has to validate that
only input1 of the
form is not empty. And the submit button validates that the three inputs are
no empty.
So I think that I will have two validations for the same form. How can I do
that?

I have a form with 3 inputs:

<form id="form1" method="post">
    <input type="text" id="input1" >
    <input type="text" id="input2" >
    <input type="text" id="input3" >

    <input type="submit" value="Submit button" name="Submit" >
    <a id="submit" href="#">Submit link</a>
</form>

Thanks again! Sole

Reply via email to