REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
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.
Register Here
Forum Rules
Coding Forum
You are currently viewing our Coding Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
Coding Forum
>
Your recommended Form Field Validation Javascript
Link Back
Thread Tools
Search this Thread
Your recommended Form Field Validation Javascript
12-18-2003, 05:03 AM
#
1
(
permalink
)
Your recommended Form Field Validation Javascript
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
What is your favorite Javascripts for Form Field validation (email, drop down men, text fields,)
Thank you
Register
now for full access!
12-18-2003, 06:29 AM
#
2
(
permalink
)
andrews_john
Ultra Talker
Posts: 377
Trades:
0
Talkupation:
Is it so neccesary to use JS? I prefer php anyway...
__________________
andrews_john
Please login or register to view this content.
Registration is FREE
12-18-2003, 04:38 PM
#
3
(
permalink
)
praveen
Life is a Dream
Latest Blog Post:
Indian Thatha Kamal and Anna Hazare
Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades:
0
Talkupation:
here is anice one which i use..
http://www.javascript-coder.com/html...lidation.phtml
just follow the instructions..
__________________
Please login or register to view this content.
Registration is FREE
-
Please login or register to view this content.
Registration is FREE
-
Please login or register to view this content.
Registration is FREE
-
Please login or register to view this content.
Registration is FREE
12-20-2003, 08:01 AM
#
4
(
permalink
)
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
Very good one, but it doesnot support Radio Buttion validation
__________________
Please login or register to view this content.
Registration is FREE
Please login or register to view this content.
Registration is FREE
12-21-2003, 12:50 PM
#
5
(
permalink
)
ACJavascript
Humble Mod
Posts: 548
Location: CT, USA
Trades:
0
Talkupation:
Why dont you post your form and tell us what you wan the form to validate, I will make it for you.
__________________
Please login or register to view this content.
Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
12-22-2003, 01:40 PM
#
6
(
permalink
)
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
Here is the link
http://www.asiantrailsvietnam.com/hotel/bookhotel.php
I would like to validate at the same time the text boxes, email, drop down menus (as in date fields) and Radio buttons
thanks for your help
bestempire
12-22-2003, 05:02 PM
#
7
(
permalink
)
ACJavascript
Humble Mod
Posts: 548
Location: CT, USA
Trades:
0
Talkupation:
hey best,
I noticed that your formwent to a php script.
WOuld you prefer me to do it in PHP,,, or do it in javascript?
__________________
Please login or register to view this content.
Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
12-22-2003, 10:59 PM
#
8
(
permalink
)
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
I would prefer the JS since i would like it to check the field before going to the php script (i think it is faster)
__________________
Please login or register to view this content.
Registration is FREE
Please login or register to view this content.
Registration is FREE
12-23-2003, 03:03 AM
#
9
(
permalink
)
ACJavascript
Humble Mod
Posts: 548
Location: CT, USA
Trades:
0
Talkupation:
Hey best,
Okay, I have attached a zip file to this post.
The zip file includes FormTest.html, this html file has the javascript validation script and your form on it.
Let me know if somthing is wrong.
I put all of the error messages on top so you can edit them
Hope it works for you
Attached Files
formvalidate.zip
(3.3 KB, 10 views)
__________________
Please login or register to view this content.
Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
12-23-2003, 04:20 AM
#
10
(
permalink
)
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
Hey ACJavascript,
Your script is very cool and neat and easy to edit. Truly thanks.
In case i need to validate the radio fields (in my form it is the payment method), how do you suggest?
Thanks again
__________________
Please login or register to view this content.
Registration is FREE
Please login or register to view this content.
Registration is FREE
12-23-2003, 12:08 PM
#
11
(
permalink
)
ACJavascript
Humble Mod
Posts: 548
Location: CT, USA
Trades:
0
Talkupation:
Hey best,
I put in a validate for the radio buttons, But how would you like to check them??
Do you want one checked no matter what? or both checked?
__________________
Please login or register to view this content.
Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
12-23-2003, 03:47 PM
#
12
(
permalink
)
bestempire
Average Talker
Posts: 28
Trades:
0
Talkupation:
Hey ACJavascript,
Yeah, i have seen that you put the field for the radio button,
I would like the user to check one of those radio buttons to choose the payment method
Thanks for your help
bestempire
__________________
Please login or register to view this content.
Registration is FREE
Please login or register to view this content.
Registration is FREE
12-23-2003, 03:54 PM
#
13
(
permalink
)
ACJavascript
Humble Mod
Posts: 548
Location: CT, USA
Trades:
0
Talkupation:
if(document.theForm.Payment_by.value==""){
alert(Payment)
document.theForm.Payment_by.focus()
return;
}
That code above pretty much says if none are checked error.
__________________
Please login or register to view this content.
Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
« Reply to
Your recommended Form Field Validation Javascript
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
Coding Forum
>
Your recommended Form Field Validation Javascript
Thread Tools
Search this Thread
Show Printable Version
Email this Page
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
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.36627
seconds with
13
queries