Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  

jsp validation



Share on Google+Share on Google+

mahek savla
jsp validation
1 Answer(s)      6 years and 3 months ago
Posted in : JSP-Servlet

enter name-___ enter number-__

I want that the focus should not go to number till the time u have entered name. Means the number text should be disabled.. i require code for it....

View Answers

April 11, 2011 at 1:17 PM

function validate(){
var num=document.form.number.value;
  alert("Enter Name");;
  return false;
   alert("Enter Number");
   return false;
return true;
<form name="form" onsubmit="javascript:return validate();">
<tr><td>Enter Name:</td><td><input type="text" name="name"></td></tr>
<tr><td>Enter Number:</td><td><input type="text" disabled name="number"></td></tr>
<tr><td></td><td><input type="submit" value="Submit"></td></tr>


Related Tutorials/Questions & Answers:
jsp validation
jsp validation  enter name-___ enter number-__ I want that the focus should not go to number till the time u have entered name. Means the number text should be disabled.. i require code
validation - JSP-Servlet
.jsp. Required fields are-: 1.login 2.password 3.Firstname 4.lastname...,jsp,beans demo of all these to facilitate how to write code... iam very... side validation and when you submit the form it passes the data to some file over
validation - JSP-Servlet
, Please visit the following link to have an example of user validation in JSP page with the MySQL database.
jsp-oracle validation - JDBC
jsp-oracle validation  Dear friends, my validation not takes place..., Implement validation code. Insert into database function...:// Thanks. Amardeep   Hello I am try so many times
Validation.... - JSP-Servlet
Validation....  in registration page. if i entered an Logine name , which all ready in the data base. how i can get the appropiate msg like "User all ready in the data base" in my data base User ID is the primary key and Login
jsp+ajax validation
jsp+ajax validation  hi, I have created the jsp form (course... have created student jsp form where it should display register number... 60% in the drop down list .how to validate student from using ajax and jsp
JSP data base validation
JSP data base validation  please explain how to validate form input string with database n also how its notify that entered data exists already .please reply soon   hi friend, <%@ page language="java" contentType
JSP-jdbc validation - JSP-Servlet
JSP-jdbc validation  How to validate login email id using JSP, where..., login application in jsp function validateForm(theForm... for more information.
java validation problem - JSP-Servlet
java validation problem  I have created a Registration page.I want validate the username entered by the user at the time he enters the username.How... problem. Here is the link
Radio button validation using jsp - JSP-Servlet
Radio button validation using jsp  I had one jsp Page and servlet. I did my validations in servlet for my jsp page which contains the radio... a value for radio Buttons) then it will return to same jsp page with the given
login form validation - JSP-Servlet
login form validation  hi, how to validate the login form that contains user name and password using post method . the validation should not allow user to login in the address bar thanks regards, anand
validation  validation
validation before entering values into database in jsp
validation before entering values into database in jsp  Hi, my project involves entering data into database from jsp form.but before entering into database it should pop up a alert message that "you have selected product:name
combox validation javascript code - JSP-Servlet
combox validation javascript code  hiiiiiii, I want a javascript code for combobox field validation for my Lotus Notes web page.... thnx  Hi This is the source code of combobox validation in javascript
validation  we are doing payroll system project in java.So pls provide the complete validation code for employee master form
Date validation in JSP
Date validation in JSP       Example for validating date in a specified format in a JSP page This example illustrates how to use date validation in a JSP page. Here in this code we are using
validation.....  hi.......... thanks for ur reply for validation code. but i want a very simple code in java swings where user is allowed to enter only numerical values in textbox , if he enters string values then it should
Validation method valid the in put. otherwise call the javascript onsubmit to check... code.Ok if you use struts then you can use Validation method valid the in put
); JLabel label=new JLabel("JTable validation Example",JLabel.CENTER); JPanel panel=new JPanel(); panel.add(scroll); JFrame frame=new JFrame("JTable validation
validation  please help me to check validation for <form> <table class="form"> <tr> <td class="col1"> <label>Sno:</label> </td> <td
form using spring ,hibernate and jsp my all classes and jsp pages are pasted..." prefix="form"%> <%@ taglib uri="" prefix="c"%> <%@ taglib uri="" prefix
Form validation using jQuery plug in & JSP
Form validation using jQuery plug in & JSP In this tutorial, we will discuss about form validation using jQuery plug in & display of submit content... validation, the submitted content is displayed by the JSP page. The plug
Validation of datepicker
Validation of datepicker  I have a datepicker in my JSp...the seleted dates are put in a text box. I want the alert the user from selecting future... a future date is entered..How to do this validation in javascript or jsp
Struts validation
Struts validation  I want to put validation rules on my project.But... validation rules,put the plugins inside strutsconfig.xml, put the html:errors tag in jsp,and also mention all the messages in the
validation files
validation files  If I place validation files in the folder where the action classes are present,will there any error arise
Email validation is JSP using JavaScript
Email validation is JSP using JavaScript... will show you how to validate email address in you JSP program using JavaScript.... In your JSP program you can use JavaScript to validate the email address
javascript validation
javascript validation  validation of comparing dropdownlist and textbox in javascript
Validation - Struts
Validation  what is the best way to use validation in Struts?either "validation.xml" or JavaScript