0

Hello,

I'm trying to get a form select disabled. The problem occurs with the 2nd line, the first line disables correctly, but all subsequent disables do not work.

Here's the partial code:

[footwear_inst.addDisable( {'Gender':'Womens', 'Style':'300'}, ['size_10-5', 'size_11-5', 'size_12', 'size_13', 'size_14', 'size_15'] );
            footwear_inst.addDisable( {'Gender':'Womens', 'Style':'500'}, ['size_5', 'size_5-5', 'size_10-5', 'size_11-5', 'size_12', 'size_13', 'size_14', 'size_15'] );

            footwear_inst.addDisable( {'Gender':'Mens', 'Style':'100'}, ['size_5', 'size_5-5', 'size_6', 'size_6-5', 'size_14', 'size_15'] );
            footwear_inst.addDisable( {'Gender':'Mens', 'Style':'200'}, ['size_5', 'size_5-5', 'size_6', 'size_6-5', 'size_14', 'size_15'] );
            footwear_inst.addDisable( {'Gender':'Mens', 'Style':'300'}, ['size_5', 'size_5-5', 'size_6', 'size_6-5', 'size_14', 'size_15'] );
            footwear_inst.addDisable( {'Gender':'Mens', 'Style':'Deluxe', 'Width':'D - Standard'}, ['size_5', 'size_5-5', 'size_6', 'size_6-5'] );

            // Creates the <table> and dynamically adds it to the form.
            footwear_inst.makeTable();]

So, the select for 'Womens','300' works. But that's it.

Please help

Thanks in advance.

Edited by mike_2000_17: Fixed formatting

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by elninomago
0

Please disregard. I've fixed the problem.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.