I appreciate any help anyone can lend me with this project I am working on.
Ok if you take a look at the page I am building this form on, it is located at http://www.serigraphics.net/requestquote.php
There are a few things I need help on. First is, I have it set to when you click the checkboxes on the "Size" section a textarea appears. I would like to have it be hidden if the box is unchecked again.
That is a minor issue, the one I really need to discover how to do is for the "Type", and "Style" section. When an option is selected on the "Type" dropdown, I need it to change the options on the "Style" dropdown.
Example: When a user selects T-Shirt, the style will show options like "Gildan Heavy Duty," "Hanes 50/50," "Fruit of the Loom 100% Cotton," etc. Then if someone changes to different option on type like Hoodie, the options on the style dropdown will change to hoodie styles.
Another thing is the "Total Quantity" row, I need that to show the textarea next to it only if "Other amount" is selected on the drop down.
Here is the code I used, which is basic dreamweaver code. This is just the javascript portions to show how I made it hide then subsequently show the textareas.
Quote:
<body onload="MM_showHideLayers('smallqty','','hide');MM _showHideLayers('mqty','','hide');MM_showHideLayer s('lqty','','hide');MM_showHideLayers('xlqty','',' hide');MM_showHideLayers('xxlqty','','hide');MM_sh owHideLayers('xxxlqty','','hide');MM_showHideLayer s('yxsqty','','hide');MM_showHideLayers('ysqty','' ,'hide');MM_showHideLayers('ymqty','','hide');MM_s howHideLayers('ylqty','','hide');MM_showHideLayers ('yxlqty','','hide')"
>
<input name="Youth XS" type="checkbox" id="Youth XS" onclick="MM_showHideLayers('yxsqty','','show')" value="youthxs" />
<input name="yxsqty" type="text" id="yxsqty" size="2" maxlength="4" />
|
Appreciate any help you guys can offer.
|