HOME CREATE TEST FORUM

Captcha - question

 ADD REPLY Forum Daypo
Author Message
classic

Date:
1/12/2010 1:34:33 AM

Report Abuse
Captcha - question

I have been working with the software and all is working OK, except one point.

The process is like this, Form filled out - security code filled out. ->code verified _> message send and Form elements verified.

My problem - if one of the verifications fails and the user needs to gp back all Formdata 'has gone'.

My question: How can I change the codes to 'keep' allready filled out form, so the user only needs to correct the problems?

daypo

Date:
1/13/2010 4:47:36 AM

Report Abuse

First I would check your form data with javascript before the data send. You
can see source code for this page:

http://www.daypo.net/regnet.asp


This page check email format and others before send.


If you need verified data with asp or php you need to send all informattion
back to de page and the page to detect if recive data to fill the fields.


Sincerilly.

classic

Date:
1/14/2010 7:35:49 AM

Report Abuse

OK, do I understand correct?

The Form is on the HTML page

Captcho check is on a sperate ASP page and is called after SEND (your suggested .. for the security code)

SAVE.ASP is called last adn at this page I have included the Form check.

This is the reason for loosing the data?

Your suggestion, the Form check on the formpage?

/Frede

daypo

Date:
1/15/2010 2:43:32 AM

Report Abuse

Yes when yo send data, you leave page  to save.asp and data is lose. If it is possible ,the best is validate form with javascript into form page.

 

Sincerely, David.

durell

Date:
2/21/2010 4:58:19 PM

Report Abuse

I have downloaded and really like the function however I am unable to get it to work the way I need oit to.  I have inserted the validate code in my target page for the form data with a response.end after it so I can see the results without impact to my environment.

My issue is as follows...I have a form...it is filled out and on submit ..the form data is validated on the form page. Oly if validation is good do I proceed to the form target page.

I am unable to keep the page from moving on to the target if the code is incorrect.my code is as follows:

 

 

 

 

 

document.icaptcha.SetVariable(

code,document.EntryForm.code.value);
if (da.code.value == <%=session(code)%>) {
       return true;
}
else {
       return false;
}

I alway get submit to my target.  What do I need to do to determine if I have an incorrect response and stay on the page with the Incorrect value flashing.

If you need to see the whole page it is at http://development.skipperslogbook.com/members/profile1.asp

Thanks in advance and again...I like the way you have handled the process.

Durell

daypo

Date:
2/23/2010 8:27:52 AM

Report Abuse

Hello.

In your page http://development.skipperslogbook.com/members/profile1.asp the code

if (da.code.value == <%=session(code)%>) - don´t load because session(code) is loaded after main form page is loaded.

In other hand if you show the security code in your web the security is broken. The security code may be hidden for robots.

You only can validate code in flash with message wrong code flashing. With alert windows is not possible.

You only have to delete:

 if (da.code.value == ) {
      return true;
        }
        else
        {
            return false;         
        }   
 }

and all will be correct.

Sincerely, David Arroni.