473,698 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic select boxs and counting totals

Jay
I'm trying to build a pretty complex form that submits to an email, but
am having problems with a certain bunch of funcionality in it...

Have a look at this example page...
http://www.exit7.co.uk/drop/yay/blankform.html

I need to get the form to...

(1) when the user selects an option from 'Select Box A' it populates
the 4 blank select boxes with identical sets of options (these will be
monetary values!)

(2) then when the user selects an amount in £, from one of the drop
downs or inputs a different amount in one of the text fields, it needs
to return a running total in the 'TOTAL' box at the bottom of the page.

(3) Plus if the user enters an amount in the text field after they have
chosen from the select, then the form will need to reset that select -
i.e. they can only enter one amount from each group, either from the
drop down or by entering an amount

Does this make sense, I'm really stuck with this one, so any help would
be much appreciated!!!

Sep 24 '05 #1
4 2136

Jay wrote:
I'm trying to build a pretty complex form that submits to an email, but
am having problems with a certain bunch of funcionality in it...

Have a look at this example page...
http://www.exit7.co.uk/drop/yay/blankform.html

I need to get the form to...

(1) when the user selects an option from 'Select Box A' it populates
the 4 blank select boxes with identical sets of options (these will be
monetary values!)

(2) then when the user selects an amount in £, from one of the drop
downs or inputs a different amount in one of the text fields, it needs
to return a running total in the 'TOTAL' box at the bottom of the page.

(3) Plus if the user enters an amount in the text field after they have
chosen from the select, then the form will need to reset that select -
i.e. they can only enter one amount from each group, either from the
drop down or by entering an amount

Does this make sense, I'm really stuck with this one, so any help would
be much appreciated!!!


In practice, this specification is a few hours work, so are you
prepared to pay for a fast solution?

--
S.C.

Sep 25 '05 #2


Jay wrote:
I'm trying to build a pretty complex form that submits to an email, but
am having problems with a certain bunch of funcionality in it...

Have a look at this example page...
http://www.exit7.co.uk/drop/yay/blankform.html

I need to get the form to...

(1) when the user selects an option from 'Select Box A' it populates
the 4 blank select boxes with identical sets of options (these will be
monetary values!)

(2) then when the user selects an amount in £, from one of the drop
downs or inputs a different amount in one of the text fields, it needs
to return a running total in the 'TOTAL' box at the bottom of the page.

(3) Plus if the user enters an amount in the text field after they have
chosen from the select, then the form will need to reset that select -
i.e. they can only enter one amount from each group, either from the
drop down or by entering an amount

Does this make sense, I'm really stuck with this one, so any help would
be much appreciated!!!


Does this resemble what your thinking of?
http://www.drclue.net/projects/jsDHT...nline_new.html

Changing the Quantity for the first item and or
the T-Shirts (the last item) dynamicly alters the form
and keeps a running total at the bottom.

In this case all the form variations are stored in an XML file.

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> Internet Programming since 1994 <>=-- DHTML NSAPI TCP/IP
--=<> http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<> http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.
Sep 26 '05 #3

"Dr Clue" <ia*********@mi ndspring.com> wrote in message
news:aS******** *********@newsr ead3.news.pas.e arthlink.net...

Does this resemble what your thinking of?
http://www.drclue.net/projects/jsDHT...nline_new.html

Changing the Quantity for the first item and or
the T-Shirts (the last item) dynamicly alters the form
and keeps a running total at the bottom.

In this case all the form variations are stored in an XML file.

I.E.5 & Opera & would not display the form.

I.E.6 && FF seen to do as intended, telling me that 1.3 T-shirts cost $26.

--
S.C.
Sep 26 '05 #4
Stephen Chalmers wrote:
"Dr Clue" <ia*********@mi ndspring.com> wrote in message
news:aS******** *********@newsr ead3.news.pas.e arthlink.net...
Does this resemble what your thinking of?
http://www.drclue.net/projects/jsDHT...nline_new.html

Changing the Quantity for the first item and or
the T-Shirts (the last item) dynamicly alters the form
and keeps a running total at the bottom.

In this case all the form variations are stored in an XML file.


I.E.5 & Opera & would not display the form.


That particular cart uses CSS to configure it's appearance,
and browsers like Opera can't read their own stylesheets
from javascript require crutchware code (which I have), but
was not specified for this customers project.
--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> Internet Programming since 1994 <>=-- DHTML NSAPI TCP/IP
--=<> http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<> http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.
Sep 26 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2829
by: DylanM | last post by:
I have some checkboxes that are generated from the results of a database search. At the moment, the checkboxes are part of a table making up a form. Users are going through the form, clicking the boxes and saving to the database at the end with the 'Submit' command button. Is it possible to save the changes as the checkboxes are clicked? I suppose I'd need to write some dynamic ASP event handling at the same time as creating the checkboxes......
3
8101
by: Memduh Durmaz | last post by:
Hi, I'm using DB2 UDB 7.2. Also I'm doing some tests on SQL Server 2000 for some statements to use efectively. I didn't find any solution on Sql Server about WITH ... SELECT structure of DB2. Is there any basic structure on Sql Server like WITH ... SELECT structure?
3
1827
by: puunda | last post by:
Hi, Hope I've posted to the right groups. I'm trying create a Crystal Report for the first time using C# (novice at that as well). The CR I can handel. What I want to do is to have a whole bunch of fields in my application (winforms) which the user can select to include in the report or not. I believe I can use the CR Engine to change the report at runtime. Here
4
3962
by: Jennie | last post by:
I need to collect dynamic SQL execution times for a production database. However, the totals are not being updated, despite setting the DFT_MON_TIMESTAMP on. The DFT_MON_TIMESTAMP is listed in the V8 documentation as configurable online. However, after setting the value on, the 'Total execution time' for dynamic SQL is still not collected. I tried resetting the monitors, etc., but the only thing that seemed to work is recycling DB2...
1
17664
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
2
2937
by: deejayquai | last post by:
Hi I'm trying to produce a report based on a dynamic crosstab. Ultimately i'd like the report to actually become a sub report within a student end of year record of achievement. The dynamic sub-report will capture what grades the student has achieved in a list of different subjects and the reason I need it to be dynamic is that students take different subjects. Basically I've been trying to doctor the KB article on dynamic
7
8218
by: Jo | last post by:
Hi, How can i differentiate between static and dynamic allocated objects? For example: void SomeFunction1() { CObject *objectp = new CObject; CObject object;
17
2704
by: shivasusan | last post by:
Hi! In my program, I have multiple check boxs.(more the 10) But i give rights to select 2 check boxs, If i select more then 2 check boxs, I want to display alert message. Please any one post me modle program. Please very very urgent.... any only help me... By Susan.
14
7848
ollyb303
by: ollyb303 | last post by:
Hi, I am trying to create a dynamic crosstab report which will display number of calls handled (I work for a call centre) per day grouped by supervisor. I have one crosstab query (Query1) which has the following fields: SPID (supervisor ID), total:group by, as row heading Date, total:group by, as column heading Calls handled, total:sum, as value Date, total:where, criteria between and - this is taken from a form,
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9161
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8867
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6522
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.