homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Changing values after a count

10+ Year Member

Msg#: 3788 posted 11:38 pm on May 29, 2005 (gmt 0)

Sorry for the lame question, but what I am trying to do is have a sign up form which you can register multiple users at once. The challenge is that there is a discount after you register more then 4 attendees they get a discount. Now the problem is that for each attendee there are 3 choices, now only 2 of these choices are valid for the discount.

So what I am needing help on is how can I scan radio buttons which have been selected and if its greater then four change the value on the next attendee?




WebmasterWorld Administrator httpwebwitch us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3788 posted 5:14 am on Jun 1, 2005 (gmt 0)

not a lame question at all, it's an interesting challenge.

Can you explain the problem in more detail?

perhaps you could post a simplified version of your HTML form and explain what you want to happen when certain radio buttons are selected.

Usually radio buttons are used for 1-of-many choices. Do you mean checkboxes?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved