I have a button that directs to another website, and a submit input for my form.
When I click the submit button, it calls the function from the other button.
The submit should call validateForm(), but it calls validateRedirect() from the other button as you can see here:
<input type="submit" value="Submit Form" onclick="validateForm()"></input>
<button type="button" onclick="" >Help</button>
<br /><br />
<button type="button" onclick="validateRedirect()" >Go To Another Website</button>
<script src="../js/myscript.js">
I can't figure out why it is doing it, does anyone know how to solve this?