Forums

This topic is locked

Calculating Form

Posted 03 Feb 2004 17:52:55
1
has voted
03 Feb 2004 17:52:55 Charles Silberman posted:
Hi,


I am looking for a way or an extension that lets a user enter a value in
a field and than it calculates a total. So, say the field name is
candybars. for every 1 candy bar, you get 10 points. so, if the user
puts two in the candy bar field, I want there to be a field that shows
the points earned, 10. can youhelp or point me in the right direction?

charles

Replies

Replied 06 Feb 2004 15:28:19
06 Feb 2004 15:28:19 Vince Baker replied:
You can do this using either Javascript or VBScript client side (i,e without having to submit the page for the calculation to take place)

search for example of either language on google for form field addition etc

Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 06 Feb 2004 16:14:54
06 Feb 2004 16:14:54 Charles Silberman replied:
could you provide me with a script please or point me to one? I did the google search and tried using some extensions in dreamweaver. The infomration just showed up and dissapeared upon hitting submit.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
You can do this using either Javascript or VBScript client side (i,e without having to submit the page for the calculation to take place)

search for example of either language on google for form field addition etc

Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 24 Feb 2004 17:53:37
24 Feb 2004 17:53:37 Efrain Martinez replied:
JUST GO TO HOTSCRIPTS.COM AND THERE YOU CAN FIND MANY EXAMPLES AND CODES ABOUT WHAT YOU ARE ASKING FOR UNDER THE "JAVASCRIPT" CATEGORY AND THE CLICK ON "FORMS"

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
could you provide me with a script please or point me to one? I did the google search and tried using some extensions in dreamweaver. The infomration just showed up and dissapeared upon hitting submit.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
You can do this using either Javascript or VBScript client side (i,e without having to submit the page for the calculation to take place)

search for example of either language on google for form field addition etc

Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 24 Feb 2004 17:56:42
24 Feb 2004 17:56:42 Efrain Martinez replied:
Hi here you have an address that can help you a lot .. i was looking for that as well and this one help me a lot

check it and if you have any question just ask again and i will try to help you


www.hotscripts.com/JavaScript/Scripts_and_Programs/Forms/index.html

Edited by - efrain42 on 24 Feb 2004 17:59:39

Reply to this topic