Validating Emp ID Reply

Validating Emp ID Reply

View Answers

August 11, 2008 at 3:57 PM

hai frnd....
The change i made is for accepting numerals only.....
If u type any characters...it will show u an alert window telling "Please input valid emp no"
this msg u can type wat ever u want...
but dont make any change in the variable anum

thanks and regards
prashu

August 11, 2008 at 4:23 PM

hai frnd....
here i have mistyped as phone....
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phone))
return true
else{
alert("Please input valid emp no!")
return false
}



please use ur field name...

var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(id))
return true
else{
alert("Please input valid emp no!")
return false
}



thanks and regards,
Prashu
[email protected]









Related Tutorials/Questions & Answers:
Validating Emp ID Reply - JSP-Servlet
Validating Emp ID Reply  Respected Sir/Madam, I am Ragavendran.R.. Thanks for your quick response.. Actually I need to check whether Emp ID... valid emp no!") return false } if(form.id.value=="") { alert
validating email id
validating email id  how to validate the email id ?   <...=""; return false; } } </script> <form id="form...;tr><td>Email </td><td><input type="text" id="email" ><
Advertisements
get details of employee after enter the emp_id
get details of employee after enter the emp_id  how to get employee details after entered the emp_id from database after that we have three more option add new,modify and delet employee   Please visit the following
get details of employee after enter the emp_id
get details of employee after enter the emp_id  how to get employee details after entered the emp_id from database after that we have three more option add new,modify and delet employee   Please visit the following
Finding MAX value from emp_id column using SQL query?
Finding MAX value from emp_id column using SQL query?  I need to select maximum of the Emp_id values from SQL server 2005 table.I was using... of emp id from the table.(Actually it picks up Max value using by looking at 1st
validating a HTML
validating a HTML  What are the reasons for validating a HTML
Validating XML
Validating XML  Hi, I have a string containing data in XML format. I have to Validate this xml data. Is there any method in java that allows strings as input to validate xml?   Please visit the following link: http
Reply - JSP-Servlet
to solve that emp id validation by checking only for empty field in my home page and for Invalid emp id, i passed the control to process.jsp and caught numberformat exception to display "Please enter Valid ID" in the form of an alert box
Maven Repository/Dependency: com.klinkerapps | wearable-reply
Maven Repository/Dependency of Group ID com.klinkerapps and Artifact ID wearable-reply. Latest version of com.klinkerapps:wearable-reply dependencies. # Version Release Date You can read
validating web pages
validating web pages  How to validate HTML web pages
ModuleNotFoundError: No module named 'emp'
ModuleNotFoundError: No module named 'emp'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp' How to remove the ModuleNotFoundError: No module named 'emp' error
Validating image size
Validating image size  How to validate image size to 2MB in javascript which is updating to mysql database
Validating Number Very Urgent - JSP-Servlet
of Emp ID text box.. I am sending the code for your kind reference which tends you...; wat do u want to check? if u want to insert number only in the emp id...Validating Number Very Urgent  Respected Sir/Madam, I am
reply to the mail
reply to the mail  Hi! which jar file needed to be added? Thanks   Question not clearADS_TO_REPLACE_1
validating a form before data is entered.
validating a form before data is entered.  How can I avoid validating a form before data is entered
reply must
reply must  is it critical to do a software job based on games(java) i know core java & advanced java basics only please give me answer
reply
validating - Swing AWT
validating   hi another problem i am facing in swing is that is i have got many textfeilds ex: Roll No: Name: Address: so Roll No TextField have to Contains only Numbers. Name TextFields have to contain only
Validating the password field
Validating the password field  When the validate method returns back to the registration page the password field get cleared there by asking again one more time to enter the password field at the time of re-submitting the form
ModuleNotFoundError: No module named 'emp-ide'
ModuleNotFoundError: No module named 'emp-ide'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-ide' How to remove the ModuleNotFoundError: No module named 'emp-ide
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-ide'
ModuleNotFoundError: No module named 'emp-ide'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-ide' How to remove the ModuleNotFoundError: No module named 'emp-ide
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-ext'
ModuleNotFoundError: No module named 'emp-ext'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-ext' How to remove the ModuleNotFoundError: No module named 'emp-ext
ModuleNotFoundError: No module named 'emp-ext'
ModuleNotFoundError: No module named 'emp-ext'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-ext' How to remove the ModuleNotFoundError: No module named 'emp-ext
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-wsb'
ModuleNotFoundError: No module named 'emp-wsb'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-wsb' How to remove the ModuleNotFoundError: No module named 'emp-wsb
ModuleNotFoundError: No module named 'emp-ext'
ModuleNotFoundError: No module named 'emp-ext'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emp-ext' How to remove the ModuleNotFoundError: No module named 'emp-ext
ModuleNotFoundError: No module named 'emp-offline'
ModuleNotFoundError: No module named 'emp-offline'  Hi, My Python... 'emp-offline' How to remove the ModuleNotFoundError: No module named 'emp-offline' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'emp-webrepl'
ModuleNotFoundError: No module named 'emp-webrepl'  Hi, My Python... 'emp-webrepl' How to remove the ModuleNotFoundError: No module named 'emp-webrepl' error? Thanks   Hi, In your python environment
Image Selection Reply Urgent.. - JSP-Servlet
Image Selection Reply Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for yuor fast response.. Sir actually I will be much more... emp_value=""; for(var i=0;i0) { for(var i=0;i
Reply Me - Java Beginners
Reply Me  Hi All, I want to using query string in my page......when i click any link then open all form clearly but i want to pass id=1 in url...=13c222b87273340cf002bfba4ab9d045. please reply me fast its urgent
Reply - JSP-Servlet
;=imgs.length;i++) { var imgid="myImage"+i; var emp_id = "eid"+i..._value = document.getElementById(emp_id).value...="getuser.jsp" url=url+"?emp_id="+emp_value; xmlHttp.onreadystatechange
reply me - Java Beginners
reply me  Hi, user enter vend_id in text box ten open the addform.jsp In the addform.jsp have two button Update and delete addform.jsp is display with fetching data in all text box I m sending code before 5
Reply me - Java Beginners
Reply me  Hi, There are one form product_master these fields are prod_id,prod_name,prod_opstock,prod_excise,prod_vat,reorder_level,reorder_qty,vendor_name All fields are input manualy but i want this vendor_name take
validating username and password from database
validating username and password from database  Hello sir, i am developing a login page. i want that when i fill data in text fields. it validate data from database. if enter data is match from database. page goes to next page
ModuleNotFoundError: No module named 'reply'
ModuleNotFoundError: No module named 'reply'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'reply' How to remove the ModuleNotFoundError: No module named 'reply'
Reply Me - Java Beginners
Reply Me  Hi Amardeep I am sending database table name,code and db file please insert this data in this table its very urgent.... My.... can you send all file in make zip file on my id. Because your code very large
Validating date in javascirpt - Development process
Validating date in javascirpt   Hi Friends, Can u plz give sample code for validating date in javascript using textbox.((dd--mm--yyyy format) Thank u in advance  Hi, The following code may be useful
Reply me - Java Beginners
Reply me  HI I m sending structure of table vend_id,vend_name... vend_id. vend_name... i'm considering vend_id,vend_mobile ,vend_panno,vend_phone
Reply Me - Java Beginners
Reply Me  Hi, This is not correct url please send me again coorect url
Reply Me - Java Beginners
Reply Me  Hi, For table I have a two table first is sales transaction and second is sales_line sales_transaction fields are comp_id,vend_id,invoice_no,invoice_date,lpono,lpo_date,purcase_order_no,country_of_origin

Ads