Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
A form that adds values from user selections?
Old 01-08-2008, 06:56 AM A form that adds values from user selections?
Ultra Talker

Posts: 316
Trades: 0
Hello

I'm guessing what I am after can be done with JS, if not please correct me.

I would like to make a web page that has a list of text fields, each with a check-box.

The user checks any number of the check-boxes and at the bottom of the page a value is displayed.

It would look like this:
Salad: 50p check-box
Beans: £1 check-box
Bread: 75p check-box

If they check Salad & Bread '£1.25' would be displayed at the bottom of the page.

Does anyone know any tutorials covering how I could do this?

Thanks.
Joe3000 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-09-2008, 04:13 AM Re: A form that adds values from user selections?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Idea forming

I'll be back.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 05:42 AM Re: A form that adds values from user selections?
Ultra Talker

Posts: 316
Trades: 0
Sounds interesting...
Joe3000 is offline
Reply With Quote
View Public Profile
 
Old 01-09-2008, 12:29 PM Re: A form that adds values from user selections?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/article...otals/code.asp

Doing a writeup later
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 05:13 PM Re: A form that adds values from user selections?
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
Quote:
Originally Posted by chrishirst View Post
I think Joe owes you some TP
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 01-10-2008, 05:31 AM Re: A form that adds values from user selections?
Ultra Talker

Posts: 316
Trades: 0
Quote:
Originally Posted by maxxximus View Post
I think Joe owes you some TP
Whats a TP?
Joe3000 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A form that adds values from user selections?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43011 seconds with 12 queries