Hey everyone,

I have a really good challenge for you all - one that is presenting a 
real challenge to me. I have 4 buttons that when clicked will need to 
send two separate values to two separate list menus. One of the 
values is the price of the item and the other value is the 
description of the item. This is not a shopping cart, and therefore 
shouldn't function like one. It is a point of sale program.

For example, the buttons are being pushed by a person on the point of 
sale screen. When a button is pushed, the price of the item selected 
(button pushed) goes to one list menu and the description of the item 
selected (same button) goes to a separate list menu.

I am trying to do the following:

When a button is pushed on the screen, two things happen:

1.) The form does not actually submit. Rather, the price is passed to 
list menu #1 and displays a varying price depending on the price of 
the item.

2.) Simultaneously, the description of the item is passed to list 
menu #2 and displays a varying description depending on the 
description of the item.

In essence, I should have two list menus that catch and store the 
price in one list menu, and the description in the other list menu. 
Then, I will have the user submit a "Complete Sale" button, which 
will submit the form and write the price(s) and description(s) of 
items purchased to a transactions table in the database.

My problem is I can't seem to figure out how to get the button to get 
the two separate variables storing the price and description, and 
pass them to the two separate list menus. I assume this needs to be 
done as an array as the list menus will need to be able to store 
multiple prices and descriptions (in order of selection), and then 
use an array push to loop through and submit all of the items 
individually in the list menus to the database table.

Any help at all on this matter is greatly appreciated! Thanks in 
advance for your input! If my details are too difficult to 
understand, please let me know. I can elaborate more and/or even 
perhaps create an html document that will give you more of an idea of 
what I am trying to do (visually).

Thanks again!
- William

Reply via email to