Click to See Complete Forum and Search --> : order form script with checkbox radio and drop down menu


TinaBanana
08-02-2003, 02:09 PM
Hi,
I looked high and low for a script for an order form that uses checkboxes, radio buttons and drop down menu.

couldnt find anything with all 3

id like the total to be displayed as the items are selected and not have to push a button to get the total.

the best i found was a script that uses multiple checkboxes and one set or radio buttons. if i tried to add another set of radio button the script doesnt work.

does anyone know where i can find a script that includes all 3?

thx

Mr J
08-02-2003, 02:26 PM
It's all right saying "I want this" and "I want that"

BUT!

how many radios,

how may buttons,

how many checkboxes

whats in the dropdown

and what happens on selecting one of these

Most sales forms are custom made or off the shelf scripts may have to be severely adapted

TinaBanana
08-02-2003, 02:35 PM
well i could give the amount of each...but if i can find code that uses all 3 items, i can customize it myself.

this is for an instant quote page for a web design page.
so a checkbox could be checked if the user wants a shopping cart.

a radio button could a selection between different domain package

a drop down box could be how many pages they want in the site.

all the scripts i found didnt combine both checkbox or radio with drop down menu. its one or the other

once one of the item is selected it adds to the total box at the bottom. i can show an example of what i have so far

TinaBanana
08-02-2003, 02:59 PM
here is the one i am currently using...if i could get this one to work i would be happy.

so the checkboxes work great
the first set of radio buttons work great by themselves.
if you try the second set of radio button then it doesnt work
the drop down menu is just there for show.

also keep in mind that the stuff listed in the page right now is just for testing purposes.

http://www.cutting-edge-designs.com/quote.htm

Mr J
08-02-2003, 04:55 PM
Are you wanting only one radio button to be selected or one from each set?

Mr J
08-02-2003, 05:28 PM
Please take a look at the zip file to see if this is something like what you require

TinaBanana
08-02-2003, 06:00 PM
thats awsom, i knew one of you guys could figure it out.
i can now build my form around this.

dare i ask if its possible to make the drop down menu work?

either way, thank you so much for taking the time to fix this

Tina

TinaBanana
08-02-2003, 06:16 PM
i was also wondering if its possible to make my first check box checked by default.

i put a radio button there and put 'checked' in it, but when i open the page, it doesnt start at 200, the total is empty and i have to click on it to make it appear....i guess it makes sense since no one is clicking it

Khalid Ali
08-02-2003, 10:33 PM
use the following format for a pre checked checkbox

checked="checked"

TinaBanana
08-02-2003, 10:51 PM
i did that and since its not being clicked on...its not adding to the total

Khalid Ali
08-02-2003, 11:00 PM
you have to make sure when you run the total code at the page load the if there are any values that are pre checked....

Mr J
08-03-2003, 03:33 AM
I am updating the zip file

What do you want the dropdown to do?

Mr J
08-03-2003, 04:10 AM
Please take a look in the zip file

Just a thought but function init in the script could be eliminated if you are prepared to use a reset button in the page

Mr J
08-03-2003, 04:27 AM
A couple of typos here.

On your "About Us" page

Although i have only been - needs capital I


profesionaly for 2 years - should be professionally

TinaBanana
08-03-2003, 12:23 PM
hehe thx for the typos, its defenatly a work in progress.
i need to re write the whole about us section i think...sounds too amateur

ill go checck out that script

TinaBanana
08-03-2003, 12:37 PM
that script is awsom!!
thank you so much for taking the time to fix it up.
its pefect now.

now that i can use drop down boxes ill change a few items in my design but this is basicly what it will look like

http://www.cutting-edge-designs.com/quote.htm

I cant thank you enough Mr. J