Hello cocooners,

I have a form with selection lists, just as the car-selector sample.
I would like to display the list of "Type" to be displayed only once a
"Make" had been choosed.

I see two solution for this :
1 : could be cool if I could hide widgets in my flowscript withn something
like :
      var form = new Form("forms/my_form.xml");
      form.lookupWidget("makesList").setValue( 0);
     form.lookupwidget("typeList").hide();   // or // form.hideWidget
("typeList");
I saw on another issue that we could have problems with validating once the
form is submitted without all choices.

 2 : do 3 Pages
     1st :  only displaying the "MakeList" form;
     2nd : displaying "typeList" and "typeList";
     3rd : displaying the whole form;
     This solution is kinda ugly becaus I will have to make more then one
form template and form definition as well.

If any one got a proposal ...

thx in advance,
Stephane



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to