Current location: Hot Scripts Forums » General Community » Script Requests » Check mark image next to input field


Check mark image next to input field

Reply
  #1 (permalink)  
Old 09-12-07, 04:26 PM
samot samot is offline
Newbie Coder
 
Join Date: Apr 2007
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Check mark image next to input field

I searched the world already. I can't find anything on the check mark image to appear next to the input field of a form.

If the input field is good, a check mark image should appear at the end near it.

Does anyone know my request or what I'm referring to?

Thanks,
Reply With Quote
  #2 (permalink)  
Old 09-12-07, 04:51 PM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 6 Times in 5 Posts
Here's a tutorial that does something similar to what you want. It doesn't display an image if the field validates properly, only on failure, but I'm sure you can tweak it. You can find lots more by searching, in fact, I found that one doing a google search.

On a side note, never rely solely on client-side validation, make sure you are checking on the server-side as well.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Reply With Quote
  #3 (permalink)  
Old 09-13-07, 07:26 AM
Boraan's Avatar
Boraan Boraan is offline
Coding Addict
 
Join Date: Jul 2007
Location: Clayton, NC
Posts: 292
Thanks: 0
Thanked 1 Time in 1 Post
It's live validation and is mostly used using asp. Because ASP is so versatile, you can query the server or database on input to check fields like availability for usernames, etc.

If the check comes back good it will automatically update the field to let you know.

Then you have the static version which can be done in any language, (almost), that will check after submitting the form.

In both cases the results page for valid or invalid isn't just text. It includes an image for valid and invalid results.
__________________
Dexter Nelson
Techdex Development & Solutions
========================
Internet Marketing For Programmers | Free Market Research in 15 Minutes or Less
My Software: Hotscripts Softpedia software.techdex.net
Reply With Quote
  #4 (permalink)  
Old 09-13-07, 08:26 AM
samot samot is offline
Newbie Coder
 
Join Date: Apr 2007
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Currently, the form I have able to detect invalid format. It detect it right away when finished entering.

I was able to attach an "X" image for invalid state. But I cannot attach a check mark image for valid state...and it does higlight the valid input. I guess it ia all I needed.

Thanks guys,
S
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Image check - view page vivabensmith PHP 1 09-07-07 02:03 AM
input field color zoliky HTML/XHTML/XML 1 07-05-06 03:55 AM
Image Gallery + User Fields interfx Script Requests 0 04-08-06 12:57 PM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 10:15 AM
How can I check input field for float number entered? wh1te_zp JavaScript 0 08-13-03 08:48 AM


All times are GMT -5. The time now is 09:13 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.