validating a form that uses javascript
by "Keith D Sellars" <Keith(at)webgraffix.com>
|
| Date: |
Mon, 3 Feb 2003 15:43:35 -0500 |
| To: |
<hwg-basics(at)mail.hwg.org> |
| |
todo: View
Thread,
Original
|
|
Hello,
Me again with another validation question. You guys have been terrific so
far with everything that I've asked.
I have a form whose opening tag is the following:
<form name="temps" action="post">
The form uses javascript located in the "head" element of the web page.
The javascript has several lines that refer to the "document.temp" similar
to the following line:
document.temps.AI.value / 12;
Here is my dilemma: There is no "name" attribute for a form according to
the W3C. However, the javascript uses the "temp" from the form to create
the document for it to process. If I remove the name attribute from the
form, it will validate, however, the form will no longer work.
I am sure there is a way around this. Does anyone know how to correct this?
Here is the URL:
http://www.mortgageprepayment.com/mortgagecalculator.htm
Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com
"Making database sites seem easy"
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.