473,320 Members | 1,821 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.

Inline fields validation

Hello,
I am working on an order form, where if a customer enters any of three fields(checbox, size drop-down list, and a quantity textarea), an inline message (hidden textarea) appears. Then, when all the conditions are met, the message disappears. I was able to do this rather easily with FormCalc in another application, but am having real trouble figuring it out for Javascript. Any help would be greatly appreciated. Thanks.
Sep 29 '06 #1
1 1254
acoder
16,027 Expert Mod 8TB
Use a div and show using style.visibility = "visible". Validate on key press or onchange. Once the fields validate, hide the div by setting the style.visibility property to "hidden".
May 19 '08 #2

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

Similar topics

2
by: shivprasad koirala | last post by:
hi all(happy raksha bandhan day) we have one of Automation software for sales running for a customer.He was cool for the first month of product, but later popped with adding some extra...
4
by: bnp | last post by:
Hi All, I am quite new the JavaScript. Basically I am a C++ programmer, but now I am working on JavaScript since last 5 days. I have a problem regarding the form validation. I have created a...
7
by: | last post by:
I can't get IE 6 to read the values in my <SELECT..> data entry fields. Netscape 7 and Opera see them, and IE will pass the values to the database, but the javascript validation script gets a null...
1
by: darrel | last post by:
I have a form that has validators for each field. When I submit the form, if the field is invalid, it shows an error next to the field. Works perfectly. I also have a label at the top of the form...
1
by: danavni | last post by:
I have a form where the user need to fill some fields. some of these fields are address fields (street, city, state, zip) i want to validate that atleast one of these fields if filled with data....
4
by: Stone Chen | last post by:
Hello, I have form that uses javascript createElement to add additional input fields to it. However, my validating script will not process new input fields because it can only find the named...
37
by: Prisoner at War | last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits' end: I want to make bold several lines of text which have a pair of <br /tags between them...seems like the <b></bdo not "carry...
3
pradeepjain
by: pradeepjain | last post by:
I am using a form which does inline validation using jquery! http://yensdesign.com/2009/01/how-validate-forms-both-sides-using-php-jquery/ and i saw another inline validation method ...
1
by: DBlearner | last post by:
I'm surprised I couldnt find a question about this here so guess I better ask. I have a form with two date fields. and . Obviously, Enddate cannot predate Startdate field so I decided to do a...
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
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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.