job portal

job portal

View Answers

August 25, 2008 at 1:35 PM

Hi friend,


This is JavaScript validation code.

<html>
<title>registration form in jsp</title>
<head>

<script type="text/javascript">

function checkEmail(email) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email)){
return (true)
}
alert("Invalid email address.Please Enter again.")
return (false);
}

function validateForm(theForm){



if(theForm.username.value==""){

//Please enter username

alert("Please enter User Name.");

theForm.username.focus();

return false;

}



if(theForm.lastname.value==""){

//Please enter lastname

alert("Please enter Last Name.");

theForm.lastname.focus();

return false;

}

if(theForm.email.value==""){
alert("Please enter email!");
theForm.email.focus();
return false;
}
if(!checkEmail(theForm.email.value)){
theForm.email.focus();
return false;
}

if(theForm.position.value==""){

//Please enter position

alert("Please enter Position.");

theForm.position.focus();

return false;

}
if(theForm.salary.value==""){

//Please enter salary

alert("Please enter salary.");

theForm.salary.focus();

return false;

}

return true;
}
</script>
</head>

<body>
<table border="1" width="50%" bgcolor="pink">
<tr>
<td width="100%">
<form method="POST" action="/examples/jsp/AccessValueServlet" onsubmit="return validateForm(this);">

<h2 align="center">Employee registration form</h2>
<table border="1" width="100%">
<tr>
<td width="50%"><b>User Name:</b></td>
<td width="50%"><input type="text" name="username" size="20"/> </td>
</tr>
<tr>
<td width="50%"><b>Last Name:</b></td>
<td width="50%"><input type="text" name="lastname" size="20"/> </td>
</tr>
<tr>
<td width="50%"><b>Email:</b></td>
<td width="50%"><input type="text" name="email" size="20"/> </td>
</tr>
<tr>
<td width="50%"><b>Position:</b></td>
<td width="50%"><input type="text" name="position" size="20"></td>
</tr>
<tr>
<td width="50%"><b>Salary:</b></td>
<td width="50%"><input type="text" name="salary" size="20"></td>
</tr>
</table>
<p><input type="submit" value="Submit" name="submit">
<input type="reset" value="Reset" name="reset"></p>

</form>
</td>
</tr>
</table>
</body>
</html>
---------------------------------

Thanks,

Amardeep.









Related Tutorials/Questions & Answers:
job portal
job portal  sample jsp program for job portal
job portal - Java Beginners
job portal  1)for creating the job portals which is better?(jsp/html). 2)how we done the validations?give me an example.   Hi friend, This is JavaScript validation code. registration form in jsp
Advertisements
ModuleNotFoundError: No module named 'opensource-job-portal'
ModuleNotFoundError: No module named 'opensource-job-portal'  Hi...: No module named 'opensource-job-portal' How to remove the ModuleNotFoundError: No module named 'opensource-job-portal' error? Thanks   Hi
Web sphere Portal Analyst
Web sphere Portal Analyst       Position Vacant: Web sphere Portal Analyst  Job... on Websphere portal server.  You will be working on the large e
job
job  i know siwing,and awt very well,and i also develop project in swing,can u suggest me any online job in swing,or and full time job in swing
What is portal
What is portal  What is portal What is portal and how can i create a portal in Java using components like Java and Java servlet? What are the elements of a portal and how can i create sigle request portal page in Java
Communication Portal
Communication Portal       A communication interface desinged with Web 2.0 technology, mission is to help peolpe communicate easily over a comfortable web interface Read full
ModuleNotFoundError: No module named 'portal'
ModuleNotFoundError: No module named 'portal'  Hi, My Python... 'portal' How to remove the ModuleNotFoundError: No module named 'portal'... to install padas library. You can install portal python with following command
ModuleNotFoundError: No module named 'portal'
ModuleNotFoundError: No module named 'portal'  Hi, My Python... 'portal' How to remove the ModuleNotFoundError: No module named 'portal'... to install padas library. You can install portal python with following command
Version of com.butor>portal dependency
List of Version of com.butor>portal dependency
Which is the best portal for Hadoop
Which is the best portal for Hadoop  Hi, I am searching for the best tutorials to learn Hadoop and all the technologies of Hadoop in less time. Where to start learning Hadoop? Which is the best portal for Hadoop? Thanks
Which is the best portal for Hadoop
Which is the best portal for Hadoop  Hi, I am searching for the best tutorials to learn Hadoop and all the technologies of Hadoop in less time. Where to start learning Hadoop? Which is the best portal for Hadoop? Thanks
weblogic portal 10.3
weblogic portal 10.3  Hi , Please let me know what are good websites for learning step by step Weblogic Portal 10.3. Thanks Ramanuja
Which is the best portal for Hadoop
Which is the best portal for Hadoop  Hi, I am searching for the best tutorials to learn Hadoop and all the technologies of Hadoop in less time. Where to start learning Hadoop? Which is the best portal for Hadoop? Thanks
java job
java job  How to get Java Job very easily
Online Shopping Portal for xyz.com
Online Shopping Portal for xyz.com  XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping... the shopping portal. However, everyone, whether registered or not, can view
Online Shopping Portal for xyz.com
Online Shopping Portal for xyz.com  XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping... the shopping portal. However, everyone, whether registered or not, can view
online shopping portal
Portal XYZ.com wants to create an online shopping portal for managing its... first before they do shopping using the shopping portal. However, everyone... listed in the portal. The registered customers, after logging in, are allowed
online shoopping portal
portal for managing its registered customers and their shopping. The customers... portal. However, everyone, whether registered or not, can view the various products along with the prices listed in the portal. The registered customers, after
Online Shopping Portal
portal for managing its registered customers and their shopping. The customers... portal. However, everyone, whether registered or not, can view the various products along with the prices listed in the portal. The registered customers, after
Online Shopping Portal
portal for managing its registered customers and their shopping. The customers... portal. However, everyone, whether registered or not, can view the various products along with the prices listed in the portal. The registered customers, after
Web Portal - Development process
Web Portal  Could somebody tell us what common tools (and the cheaper ones) are in the market to develop a web portal? Say, if I want to develop a web portal, where people would post their comments and reviews; and others
Open Sourec Portal Server - Security
Open Sourec Portal Server  Hello sir/madam, I'm looking for some PHP/Mysql or Perl/MySQL based well-documented open source portal server which... is "Strengthening of Portal server Security", and i haven't found portal yet
Version of cocoon>cocoon-portal dependency
List of Version of cocoon>cocoon-portal dependency
Weblogic portal - Framework
Weblogic portal  Hi all, Please let me know what are good websites for learning step by step Weblogic Portal 10.3. Thanks Manoj  Hi Friend, Please visit the following link: http://www.roseindia.net
online shoping portal
online shoping portal  Hello Sir/Madam , I am working on a project online shopping portal in Java , I want to share my screen with my friend to show my selected things , can you help me out?what should i do
ModuleNotFoundError: No module named 'aws-portal'
ModuleNotFoundError: No module named 'aws-portal'  Hi, My Python... 'aws-portal' How to remove the ModuleNotFoundError: No module named 'aws-portal' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'codeforlife-portal'
ModuleNotFoundError: No module named 'codeforlife-portal'  Hi, My... named 'codeforlife-portal' How to remove the ModuleNotFoundError: No module named 'codeforlife-portal' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'flora_portal'
ModuleNotFoundError: No module named 'flora_portal'  Hi, My Python... 'flora_portal' How to remove the ModuleNotFoundError: No module named 'flora_portal' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'flora_portal'
ModuleNotFoundError: No module named 'flora_portal'  Hi, My Python... 'flora_portal' How to remove the ModuleNotFoundError: No module named 'flora_portal' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal'
ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal'  ...: No module named 'odoo12-addon-l10n-br-portal' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal' error? Thanks
ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal'
ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal'  ...: No module named 'odoo12-addon-l10n-br-portal' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-l10n-br-portal' error? Thanks
ModuleNotFoundError: No module named 'openerp-portal'
ModuleNotFoundError: No module named 'openerp-portal'  Hi, My... named 'openerp-portal' How to remove the ModuleNotFoundError: No module named 'openerp-portal' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'portal-gun'
ModuleNotFoundError: No module named 'portal-gun'  Hi, My Python... 'portal-gun' How to remove the ModuleNotFoundError: No module named 'portal-gun' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'portal-gun'
ModuleNotFoundError: No module named 'portal-gun'  Hi, My Python... 'portal-gun' How to remove the ModuleNotFoundError: No module named 'portal-gun' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'portal-pushify'
ModuleNotFoundError: No module named 'portal-pushify'  Hi, My... named 'portal-pushify' How to remove the ModuleNotFoundError: No module named 'portal-pushify' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'aws-portal'
ModuleNotFoundError: No module named 'aws-portal'  Hi, My Python... 'aws-portal' How to remove the ModuleNotFoundError: No module named 'aws-portal' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'cm-portal'
ModuleNotFoundError: No module named 'cm-portal'  Hi, My Python...-portal' How to remove the ModuleNotFoundError: No module named 'cm-portal' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'codeforlife-portal'
ModuleNotFoundError: No module named 'codeforlife-portal'  Hi, My... named 'codeforlife-portal' How to remove the ModuleNotFoundError: No module named 'codeforlife-portal' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'flora_portal'
ModuleNotFoundError: No module named 'flora_portal'  Hi, My Python... 'flora_portal' How to remove the ModuleNotFoundError: No module named 'flora_portal' error? Thanks   Hi, In your python
Weblogic Portal - JSP-Interview Questions
Weblogic Portal  Hi, Can any please give me the details of 1) Weblogic portal interview questions & answers ? 2) Weblogic portal learning step by step websites? Thanks for your help in advance
job submission in cloud computing
job submission in cloud computing  job submission in cloud computing
job submission in cloud computing
job submission in cloud computing  job submission in grid computing
ml job
ml job  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: ml job Try to provide me good examples or tutorials links so that I can learn the topic "ml job"
job submission in cloud computing
job submission in cloud computing  job submission in grid computing using gui representation
ModuleNotFoundError: No module named 'job'
ModuleNotFoundError: No module named 'job'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'job' How to remove the ModuleNotFoundError: No module named 'job' error
ModuleNotFoundError: No module named 'job'
ModuleNotFoundError: No module named 'job'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'job' How to remove the ModuleNotFoundError: No module named 'job' error
ModuleNotFoundError: No module named 'job'
ModuleNotFoundError: No module named 'job'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'job' How to remove the ModuleNotFoundError: No module named 'job' error
Maven Dependency portal >> 1.0.3
You should include the dependency code given in this page to add Maven Dependency of com.butor >> portal version1.0.3 in your project
Maven Dependency portal >> 1.0.5
You should include the dependency code given in this page to add Maven Dependency of com.butor >> portal version1.0.5 in your project

Ads