SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old March 1st, 2005, 03:40 AM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
More error trapping

I have the following 4 inputs:

<input class="date_entry_area" name="accrued_al_date_from" type="text" maxlength="10">
<input class="date_entry_area" name="accrued_al_date_to" type="text" maxlength="10">
<input class="time_entry_area" name="accrued_al_time_from" type="text" maxlength="5">
<input class="time_entry_area" name="accrued_al_time_to" type="text" maxlength="5">

The first 2 inputs are for entering Dates. The Second 2 are for entering Time ranges.

So, here is what I would like to somehow do.

1st. Add error trapping that makes sure that information entered in the first 2 inputs is entered in the following format:
mm/dd/yyyy (checking to make sure only numbers are entered and the slashes are there.)

2nd. Add error trapping that makes usre that information entered in the second 2 inputs is entered in the following format:
hh:mm (checking to make sure only numbers are entered and the : is there.)

Reply With Quote
  #2  
Old March 4th, 2005, 08:07 PM
jweizenblut jweizenblut is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Miami, Fl. US
Posts: 522 jweizenblut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 29 sec
Reputation Power: 2
Send a message via AIM to jweizenblut Send a message via Yahoo to jweizenblut
RE: More error trapping

Also foudn good code for this already.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > More error trapping


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway