iv got a form with a sumbit button at bottom.at the momment
when this button is clicked a window will pop up stating if any of
the fields are completed incorrectly.if they are correct id like
the button to link to confirmaiton/thankyou page but not link if
incorrect. i got it working where the pop up messages work but when
i try to link to the thnakyou page it links regardless of whether
the fields are correcly filled in or not.