Hello DJ Kat,
1. Yes, the first form has a field Name AND a dropdown (Drive Period). This form also has Retrieve SKUs submit button (which on clicking checks with
JS validator functions if entries have been made in the text field and dropdown menu then runs some results based on those values and displays them in a table below. Then user moves on to the second form-product and qrtr)
2. Yes, when the data is retrieved on clicking retrieve skus, the pulldowns in the second form for product and quarter should be enabled. Initially when the page loads they should be disabled. On clicking the submit button a.k.a Retrieve SKUs, the two pulldowns should be enabled. FYI, SKUs are like a serial number for a particular product item.
Here is what I have so farâ¦
function enableField()
{
document.forms.Results_Report.product.disabled=f alse; document.forms.Results_Report.quarter.disabled=fal se;
}
///////////
<input type="submit" name="RetrieveSKUs" value="Retrieve SKUs" onclick="javascript
:enableField()">
////////
<td align="left">Select a Product</td>
<td><select name="product" size="1" value=product id=product
disabled=âtrueâ style="top: 30px; left: 393px; width: 200px">
<OPTION value=0 id=0>Select a Product...
///////
3&4: Now the problem here is, when the page first loads, the product and quarter fields (from the second form) are disabled, on entering report name, selecting from Drive Period dropdown and clicking on retrieve skus submit button, the page refreshes, the dropdowns get enabled for a split second and then gets disabled again. My problem is how do I get the second form to enable its dropdowns when the submit button in the first form has been clicked (ofcourse they will be disabled initially)
Hope you can understand the problem.