473,320 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Form validation error

helllo,
d problem is wen d curser jumps frm a combo box 2 a text field in a form d validations r nt working fr d text field....tel me wat shud i consider 2 get out of dis problem....wat r d criteria's fr d txt field........vl u plz help me in solving d problem....dis is a bit urgent....
Apr 6 '07 #1
7 1214
acoder
16,027 Expert Mod 8TB
Post your code and please write in clear English.
Apr 9 '07 #2
hirak1984
316 100+
but I cudnt get d prob :D
b precise nd include code if poss...
helllo,
d problem is wen d curser jumps frm a combo box 2 a text field in a form d validations r nt working fr d text field....tel me wat shud i consider 2 get out of dis problem....wat r d criteria's fr d txt field........vl u plz help me in solving d problem....dis is a bit urgent....
Apr 9 '07 #3
hi,....

iam facing some problem when validating field in a form.this is arising when the curser jumps from a combo box to a text field,the alerts are not displayed and goes to the next page without validating the remaining fields..
hope you will show solution to this.

here is the code for those fields....

<tr>
<td align="right"><span class="star">*</span>Total Years of Experience : </td>
<td align = "left"><select name="year" class="text" id="exp"><option value="Years">Years</option><option value=0>0</option><option value=1>1</option><option value=2>2</option>
<option value=3>3</option><option value=4>4</option><option value=5>5</option>.................................
</td>
</tr

************<tr>
<td align="right"><span class="star">*</span>Current Level in Organization : </td>
<td align="left"><input name="current_org" size="30" maxlength="2" class="text" id="current_org" value=<%=details2.get("current_org")%>onKeyPress=" checkcurrentorg(this)" /></td>
</tr>
***********************
Apr 10 '07 #4
iam_clint
1,208 Expert 1GB
need to see your script
Apr 10 '07 #5
acoder
16,027 Expert Mod 8TB
Changed thread title.
Apr 11 '07 #6
acoder
16,027 Expert Mod 8TB
Merged threads - same subject.
Apr 11 '07 #7
devsusen
136 100+
hi,....

iam facing some problem when validating field in a form.this is arising when the curser jumps from a combo box to a text field,the alerts are not displayed and goes to the next page without validating the remaining fields..
hope you will show solution to this.

here is the code for those fields....

<tr>
<td align="right"><span class="star">*</span>Total Years of Experience : </td>
<td align = "left"><select name="year" class="text" id="exp"><option value="Years">Years</option><option value=0>0</option><option value=1>1</option><option value=2>2</option>
<option value=3>3</option><option value=4>4</option><option value=5>5</option>.................................
</td>
</tr

************<tr>
<td align="right"><span class="star">*</span>Current Level in Organization : </td>
<td align="left"><input name="current_org" size="30" maxlength="2" class="text" id="current_org" value=<%=details2.get("current_org")%>onKeyPress=" checkcurrentorg(this)" /></td>
</tr>
***********************
as the code is not clear can't help u out in this. Help us to help u.
Apr 11 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: TG | last post by:
Dear PHP Group, I have two forms that are used to collect user information. The first one takes user inputted values such as fullname, city, address etc. I want these values to display in the...
11
by: Jim | last post by:
Hi, I keep getting form results emailed to me that would indicate a form from my web site is getting submitted with all fields blank or empty, but my code should preventing users from proceeding...
3
by: Shabam | last post by:
I know that dotnet allows for form field validation. However I'm looking to customize the error message display and am wondering if it's possible to do what I need. Example: Suppose in a...
1
by: Arpan | last post by:
I have a Web Form in my ASPX page which makes use of Web controls & incorporates validation controls. This is the code snippet that does the needful: <form runat=server> NAME:<asp:TextBox...
9
by: julie.siebel | last post by:
Hello all! As embarrassing as it is to admit this, I've been designing db driven websites using javascript and vbscript for about 6-7 years now, and I am *horrible* at form validation. To be...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
10
by: gweasel | last post by:
What is the best way to apply a Validation Rule - or rather, where is the best place to put it? Is there an advantage to putting it on the field in the table vs setting the validation rule on the...
5
by: lucyh3h | last post by:
Hi, I am trying to use XMLHttpRequest to do server side validation. I have several fields on a form and a submit button. The submit button has an event assocated with it when clicked. The...
7
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.