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.

JavaScript Forum


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



Reply
Simple Form validation
Old 08-10-2009, 03:25 PM Simple Form validation
Super Talker

Posts: 115
Name: Not Telling
Trades: 0
Hello, I need a form validation to go with this form:

ITS AN INSTALLATION FORM.

Code:
<form name="input" action="install2.php" method="post">

<span style="float: left;">
Host (Default should be "localhost" without quotes): 
</span>
<span style="float: right;">
<input name="localhost" type="text">
</span>
<br><br>

<span style="float: left;">
Database: (<a href="javascript:alert('This is the name of the database that all the tables and rows will be stored.');">?</a>) 
</span>
<span style="float: right;">
<input name="db" type="text">

</span>
<br><br>

<span style="float: left;">
Database Username: (<a href="javascript:alert('This is the username to access the database to create and update all the tables and rows.');">?</a>) 
</span>
<span style="float: right;">
<input name="db_u" type="text">
</span>
<br><br>


<span style="float: left;">
Database Password: (<a href="javascript:alert('This is the password to access the database.');">?</a>) 

</span>
<span style="float: right;">
<input name="db_p" type="text">
</span>
<br><br>
<hr>


<span style="float: left;">
Administrator Username: (<a href="javascript:alert('This is the administrators username to access the logs and update the website.');">?</a>) 
</span>
<span style="float: right;">
<input name="admin_u" type="text">
</span>
<br><br>

<span style="float: left;">
Administrator Password: (<a href="javascript:alert('This is the administrators username to access the logs and update the website.');">?</a>) 
</span>
<span style="float: right;">
<input name="admin_p" type="text">
</span>
<br><br>
<hr>


<center>
<input name="submit" id="submit" value="Install" type="submit">

</center>



</form>
Can someone create a javascript validation that the person cannot procceed until they input all info in the textboxes? Thank You.
sith717 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-11-2009, 12:46 PM Re: Simple Form validation
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
Try the Javascript Form Validation Script here. It is easy to use. There are examples in the same page.
prasanthmj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Simple Form validation
 

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 4.19411 seconds with 12 queries