Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
trickeyme #1
multiple boxes depending upon selection
I am trying to write the following, and basically if the user chooses the
second string i want just one box to appear, if the third string is chosen i
want the first AND the second box to appear, and so on...... help!
<mx:FormItem id="tradingTimeItem" label="How long has your business been
trading" required="true">
<mx:ComboBox id="tradingTime" >
<mx:dataProvider>
<mx:Array>
<mx:String>Please Select</mx:String>
<mx:String>New Start</mx:String>
<mx:String>Less than 1 year</mx:String>
<mx:String>1 - 2 Years</mx:String>
<mx:String>2 - 3 Years</mx:String>
<mx:String>More than 3 Years</mx:String>
</mx:Array>
</mx:dataProvider>
</mx:ComboBox>
</mx:FormItem>
<mx:FormItem id="tradingTimelessthanItem" label="Your turnover year to date"
required="{tradingTime.selectedItem=='Less than 1 year'}"
visible="{tradingTime.selectedItem=='Less than 1 year'}" >
<mx:TextInput id="tradingTimeLessthan1year" width="150" />
</mx:FormItem>
<mx:FormItem id="tradingTimetotwoItem" label="Turnover for previous 12
months"
required="{tradingTime.selectedItem=='1 - 2 Years' and 'Less than 1 year'}"
visible="{tradingTime.selectedItem=='1 - 2 Years' and 'Less than 1 year'}"<mx:TextInput id="tradingTimetotwo" width="150" />>
</mx:FormItem>
<mx:FormItem id="tradingTimetothreeItem" label="Turnover for previous 12
months"
required="{tradingTime.selectedItem=='2 - 3 Years' and 'Less than 1 year'}"
visible="{tradingTime.selectedItem=='2 - 3 Years' and 'Less than 1 year'}"<mx:TextInput id="tradingTimetothree" width="150" />>
</mx:FormItem>
<mx:FormItem id="tradingTimethreeplusItem" label="Turnover for previous 12
months"
required="{tradingTime.selectedItem=='More than 3 Years' and 'Less than 1
year' }"
visible="{tradingTime.selectedItem=='More than 3 Years' and 'Less than 1
year'}" >
<mx:TextInput id="tradingTimethreeplus" width="150" />
</mx:FormItem>
trickeyme Guest
-
multiple selection box
Hi can anyone help me with a bit of code. I m trying to check on my form whether the user has made a selection from a multiple selection box? ... -
A selection changes on asp page with 6 dependent list boxes, when back
Hello I have 6 dependent list boxes on my ASP page: Faculty; Lecturer; Course; Course occurrence; Group; Week commencing date.... -
Highlighting Selection in non-editable text boxes
Hello all, a quick question. For a non-editable text box is there anyway to highlight the background (like when you hold the mouse button and... -
Hide text boxes based upon page selection via tab controls
Use the Change event of the tab control. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users -... -
Auto filling list boxes after combo box selection
"Mark Y" <mycy77@yahoo.com> wrote in message news:04bd01c3464a$02bc87a0$a101280a@phx.gbl... First, I'd suggest not displaying the BookId if you... -
ntsiii #2
Re: multiple boxes depending upon selection
Did you ever figure out a way to do this?
Tracy
ntsiii Guest



Reply With Quote

