VBScript compilation 800a03f6 Expected 'End'
I've been rebuilding a web form from a previous version and basically copied the code exactly but merely changed the text boxes and database it accesses, however i keep getting this error after its been working for the past few days and i cant seem to put my finger on it.
The error shown is always
Microsoft VBScript compilation 800a03f6Expected 'End'/teachapp/form-footer.asp17
The code for the page to which is refers to is below but i have a feeling that its on another page to which this footer file is included.
If anyone can spot any errors within this and help me out it would be appreciated, the original code is not my design but we are using it to adapt into a second form for a different purpose.
<%if FormButton1 <> "" OR FormButton2 <> "" then%>
<%if FormButton1 <> "" then%>
<input type="submit" name="FB" value="<%=FormButton1%>" align="left" />
<%if FormButton2 <> "" then%>
<input type="submit" name="FB" value="<%=FormButton2%>" align="right" onclick="return CheckForm();" />
<input name="action" type="hidden" value="process"></p>