Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
confirming a input field is correct
Old 01-13-2006, 03:41 AM confirming a input field is correct
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
Hi.
I wish to configre a form so as when the user either tabs or selects a new field, the field that has just been entered is shown to have a tick next to it if an entry is made.

How do i do this? I am using asp vbscript but obviosly i dont want to go back to the server every time a field is entered. (not that i think you can)

cheers
Steve
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 01-13-2006, 04:57 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
You'll need to use Javascript to do that. (Might get a better response posting in the Javascript forum).

Or you could switch to ASP.NET which lets you use validation controls. You just write something like:
<asp:RequiredFieldValidator id="rfvName" runat="server" ControlToValidate="txtName" ErrorMessage="Please enter your name" Display="Dynamic" />
and ASP.NET will write the javascript for you, and also perform server side validation for any clients that don't support javaScript.
There are other validator controls such as RangeValidator, CompareValidator and RegularExpressionValidator and you can also create your own custom validators.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to confirming a input field is correct
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.53222 seconds with 12 queries