geneway
05-31-2007, 06:41 PM
This is a silly one but I'm looking for a fast fix.
If I submit a form and when I do I will go to another viewstate
that states the form is submitted.
I have a button on that state that with the click event i.e.
<mx:FormItem id="formitem2">
<mx:Button x="10" y="223" label="Send" click="muFuctionCall(event), currentState='submitted'" id="mySubmitButton"/>
</mx:FormItem>
I want to gpo back to the main state but I currently have the text still in the form fields. What do I do to get the foem fields cleared out so it looks like the original state.
Thanks,
Gene
:confused:
If I submit a form and when I do I will go to another viewstate
that states the form is submitted.
I have a button on that state that with the click event i.e.
<mx:FormItem id="formitem2">
<mx:Button x="10" y="223" label="Send" click="muFuctionCall(event), currentState='submitted'" id="mySubmitButton"/>
</mx:FormItem>
I want to gpo back to the main state but I currently have the text still in the form fields. What do I do to get the foem fields cleared out so it looks like the original state.
Thanks,
Gene
:confused: