Login | |
|
 |
RE: Textfield value in Form - 4/6/2006 1:58:42 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
correct, you cannot check data with server-end languages immediatly. Therefore there are nice script languages like VBScript, JavaScript and ofcourse AJAX who greatly contribute in Client-side usage. But in order to check the name with the Database entry, you will have to communicate back to the server with the information (which AJAX does 'on the fly') and then you will need to create a function in ASP where you will read the SERVER_REQUEST that will be shown in the URL. i.e. http://www.yournamehere.com/login.asp?naam=Jan&achternaam=Klaassen and your function will grab the 'naam' and 'achternaam' and parse it. i.e. strNaam = Request.Form("frmNaam")
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Textfield value in Form - 4/8/2006 8:46:44 PM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
To create a new function for it is much better, it is better to overview your code..... And the language in your example looks like JavaScript...
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
|
|