Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%@LANGUAGE = VBSCRIPT %>
<%
'//Did the user submit the form?
IF Request.Form("Submit") = "Submit" Then
'//Yes, the submit button was clicked.
'//Submit will be equal to the button's value
'//If the button said "OK", then
'//Request.Form("Submit") would equal "OK"
'
'//Save info to the database.
'
Response.Redirect "ThisPage.asp"
'
'//Redirect to this page again.
'//This time submit will be ""
'//so this part will be skipped
Else '//Submit = ""
'//Draw the whole form here.
<FORM method=post action='ThisPage.asp'>
'
'//Build form here
'
</FORM>
End IF
%>
<script language=javascript>
function clearForm(){
var i;
for (i = 0; i < document.formName.length; i++){
document.formName.elements[i].value = '';
}
}
</script>
<body onLoad="clearForm();">