Jump to content

woodywyatt

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About woodywyatt

  • Rank
    Newbie
  1. No worries, I've fixed it. Moved the Javascript code down to the end of the code:<% ' Function to check if the sent code is the actual verification code Function isCode(enteredCode) ' Check if the entered code in caps is same as the session code (which is in caps) if UCase(enteredCode) = Session("image_ver") then ' Return true isCode = true else %><script language="javascript"> <!-- window.alert ("It looks like you entered the wrong code rnTry again or click 'Reload for another image' under
  2. The script tag is the only thing that outputs the error alert. I did have it working fine until I was told by my hosting company to upgrade to Windows 2008 server. The only thing that changed was the send mail code from cdonts to cdosys.
  3. I’m trying to get the JavaScript Alert to pop up on this mail form script but it just displays a blank page. It submits the form contents fine when the correct spam code is entered.Can anyone tell me what I need to change in the code in order for the JavaScript Alert to pop work?Actual form is here just in case you need to see it in action - rockislandbar.com/formtest.html <% ' Define the used variables Dim verCode ' Retrieve the form data verCode = Request.Form("verCode") ' Check if the entered code is the actual code If isCode(verCode) then
×
×
  • Create New...