Print Page | Close Window

No... don't get it

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22198
Printed Date: 28 March 2026 at 6:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: No... don't get it
Posted By: westwight
Subject: No... don't get it
Date Posted: 13 December 2006 at 9:08pm
Sorry but I've read all the previous entries and I just don't get this :¬(
 
I've got a contact form, contact1.asp, which contains the line
<form name="mailform" action=" http://xxxx.co.uk/mailreply1.asp - http://xxxx.co.uk/mailreply1.asp " method="post" onSubmit="return valid(this)">
 
I've now included
<!-- include the Web Wiz CAPTCHA form -->
<!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" -->
at the point I want my captcha box but obviously nothing is being processed.
 
In mailreply1.asp I've then got:
<%
  If blnCAPTCHAcodeCorrect = True Then
   Response.Write(" Thank you for writing to us")
  ElseIf  blnCAPTCHAcodeCorrect = False Then
    Response.Redirect("contact1.asp")
  End If
%>
 
but it loses all the info previously entered into the fields.
 
Is there a better way to do this so the customer doesn't have to r-enter information?



Replies:
Posted By: VBScript
Date Posted: 14 December 2006 at 7:17am
You could do

Response.Redirect("contact1.asp?FirstName=" & Request.Form("txtFirstName") & "&LastName=" & Request.Form("txtLastName")


And for the text boxes modify the value property.


<input type="text" name="txtFirstName" value="<%=Request.QueryString("txtFirstName")%>">


That method is a good way of doing it.


-------------
http://www.james-r.co.uk" rel="no follow - James
http://www.gotrillian.com/?4498-20" rel="no follow - Trillian - M


Posted By: westwight
Date Posted: 14 December 2006 at 5:49pm

Thanks James, I'll give that a go and letyou kow if I mange to make sense of it.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net