Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling all Form experts.

Status
Not open for further replies.
Jul 13, 2001
180
US
IS there a way to extract a GRAND TOTAL from a text box that has its value generated by an ON-BLUR calculation of all boxes?

I would like to know if I can extract the total and place it in a hidden field, so that I have the results in two separately named fields.

I am usung a form on a layer.

BY the way, any good tutorials on forms that deal with extracting info from particular fields such as "document.form.fieldname value", despite it being on layers or not , or on IE or Netscape?
I am trying to make heads and tails out of it.

Thank you so much for any help.

:)
 
If i'm understanding correctly, all you have to do is give that text box a name, and then when the page refrehes and goes to your ASP page, you can just grab it using the Request.Form() method.

-------------------ON first page-------------
<input type=&quot;text&quot; name=&quot;GTotal&quot;>
---------------------------------------------

Dim myGTotal
myGTotal
myGTotal = Request.Form(&quot;GTotal)
---------------------------------------------

Now you have that variable and you can do what you n eed to do with it.

If i mis-interpreted your question, sorry!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top