[Javascript] Changing INPUT values in forms after submit is pushed

David Lovering dlovering at gazos.com
Sun Aug 3 06:13:51 CDT 2003


Hard to say from little you've told me, but if I had to guess I'd say 
that the validation routine wasn't asserting 'return true' on the 
correctly validated fields -- that will cause exactly the symptoms you 
describe.

-- Dave Lovering

Rick Warren wrote:

> I have a form that uses an onsubmit to validate the data and calculate 
> options selected in the form.  I need to pass the calculated value 
> back to an INPUT tag's value to be sent to a CGI script.  I use 
> something similar to f.tag.value = calc_value where calc_value is the 
> calculated value my validation/ calculation script generates.  When 
> the data makes it over to my cgi program, the tag value is 
> null. What's wrong??? 
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>




More information about the Javascript mailing list