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

Posts: 185
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.
__________________
JF Web Design
Joe3000 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-09-2008, 03:13 AM Re: A form that adds values from user selections?
chrishirst's Avatar
Super Moderator

Posts: 11,865
Location: Blackpool. UK
Idea forming

I'll be back.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 04:42 AM Re: A form that adds values from user selections?
Extreme Talker

Posts: 185
Sounds interesting...
__________________
JF Web Design
Joe3000 is offline
Reply With Quote
View Public Profile
 
Old 01-09-2008, 11:29 AM Re: A form that adds values from user selections?
chrishirst's Avatar
Super Moderator

Posts: 11,865
Location: Blackpool. UK
http://www.candsdesign.co.uk/article...otals/code.asp

Doing a writeup later
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-09-2008, 04:13 PM Re: A form that adds values from user selections?
maxxximus's Avatar
Extreme Talker

Posts: 166
Name: Rob
Location: UK
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, 04:31 AM Re: A form that adds values from user selections?
Extreme Talker

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

Thread Tools

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

vB 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.13060 seconds with 13 queries