Jump to content

validate without processing 'help'


janim

Recommended Posts

i don't wanna let my visitor see the error before the page load again

 

The only way to do this is with Javascript.

 

i tried this with javascript but it has allot of errors

 

I would suggest you post your code and a description of your errors in the Javascript board.

Purely javascript.

if (document.form.textbox != value){
alert("Incorrect");
}

Another way that I think you want is by using AJAX.

send the data and check it without reloading the page?

There is some good tutorials on ajaxfreaks.com on how to do that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.