BinBrain Community
Welcome,
Guest
. Please
login
or
register
.
February 07, 2012, 09:51:32 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
http://www.binbrain.com
760
Posts in
417
Topics by
2746
Members
Latest Member:
Ditalully
Online Exams
|
Blogs
|
Photos
|
Videos
|
Real Estate
|
Recipes
|
Business Directory
|
TV
|
Free Wallpapers
BinBrain Community
Computer Forums
PHP/MySQL
validate a group of radio button in a form with php
« previous
next »
Pages:
[
1
]
Author
Topic: validate a group of radio button in a form with php (Read 923 times)
dentaura
Newbie
Posts: 2
validate a group of radio button in a form with php
«
on:
June 30, 2009, 10:13:12 PM »
PLEASE CORRECT THIS JAVA SCRIPT TO VALIDATE THE FORM FIELD
<script>
function ValidateContactForm()
{
var CategoryOpt = document.ContactForm.CategoryOpt;
if (CategoryOpt.value == "")
{
window.alert("Please enter your Membership Category.");
CategoryOpt.focus();
return false;
}
return true;
}
</script>
BELOW IS THE FORM FIELD
<td width="176">
<font face="Verdana">
<input type="radio" value="Radiobutton1" name="CategoryOpt" tabindex="5"><font size="2">
<font color="#000080">Radiobutton1</font><br>
</font>
<input type="radio" value="Radiobutton2" name="CategoryOpt" tabindex="7">
<font size="2" color="#000080">Radiobutton2</font></font></td>
<td width="161">
<font face="Verdana">
<input type="radio" value="Radiobutton3" name="CategoryOpt" tabindex="6">
<font size="2"><font color="#000080">Radiobutton3</font><br>
</font>
<input type="radio" value="Radiobutton4" name="CategoryOpt" tabindex="8">
<font size="2" color="#000080">Radiobutton4</font></font></td>
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MONEY
-----------------------------
=> Your portfolio
=> Equities
=> Mutual Funds ,IPO's
=> Trading Resources
=> Broker & Software Review
=> Trading Psychology
-----------------------------
Computer Forums
-----------------------------
=> C#
=> Database
===> Access VBA
===> Oracle
===> SQL Language
===> SQL Server
===> MySQL
=> PHP/MySQL
=> Java
===> JSP
===> EJB
===> Struts
===> General Java
=> C and C ++
=> ASP.NET and ASP
=> Visual Basic
=> Delphi
=> Software Engineering
===> Design Patterns
===> Data Structures and Algorithms
=> Web and graphic Designing
===> Photoshop, Flash, and other Graphics
===> Dreamwaver
===> FrontPage
===> Coreldraw
=> Ruby
=> Client Side Scripting
===> JavaScript
===> VB Script
===> HTML, XHTML, XML, and CSS
===> AJAX
=> Networking
===> Cisco Networking
===> Home Networking
=> Certifications
===> Sun
===> Microsoft
===> Cisco
===> IBM
=> WebHosting
===> Web-Hosting
===> Marketing, SEO, and Online Business
-----------------------------
Web
-----------------------------
=> Control Panels
===> Cpanel
===> Helm
=> SEO
=> Free Downloads
-----------------------------
Legal
-----------------------------
=> Legal Service
=> Intellectual Property
=> Family Law
=> Immigration Laws
=> Constitutional Law
-----------------------------
Moview Reviews
-----------------------------
=> Hollywood
=> BollyWood
=> South India
-----------------------------
Fun Junction
-----------------------------
=> Jokes
=> Chit Chat
Social Campaigns
Loading...