YES! I'm so happy
I managed to make it work. Here is my detailed solution:
In your Form Edit Screen, in the Form Style tab, add the following code after
{formfields}
</table>
</form>
<script language=\"javascript\">
function changeSel2(index){
MyOption = new Array();
MyOption[0] = new Array();
MyOption[0][0] = 'Bank';
MyOption[0][1] = 'Retail Store';
MyOption[0][2] = 'etc.';
MyOption[1] = new Array();
MyOption[1][0] = 'Steak';
MyOption[1][1] = 'Chinese';
MyOption[1][2] = 'Fast Food';
Sel2 = document.getElementById('Sel2');
//empty Sel2 items first
for(i=0;i<Sel2.options.length;i++){
Sel2.options[i] = null;
}
//populate with new items
for(i=0;i<MyOption[index].length;i++){
Sel2.options[i] = new Option(MyOption[index][i],MyOption[index][i]);
}
}
</script>
Then create a new Select, name it Sel1, add to it's default value
Business|Business,Organization|Organization
and to it's additional attributes
onchange=\"changeSel2(this.selectedIndex)\"
Then add a second Select, name it Sel2, And leave it empty.
Let me know if it's working for you. I wil add this to the demo page also. It's way too cool. Thanks for your idea!