I have a flex form that passes data to a CFC and writes it to a database. When the user submits the data, they get a popup confirming the submission was successful. I need a function that will automatically reset the form after the data has been submitted. Are there any actionscript methods that I can use or a better way to do this?
I think u can clear the Text Fields after u get the Result like inputTextId.text="";
Your code will be more efficient if you go with Alex's solution, so if you are using a data model, you basically reset the data model with something like this:
myDataModel = new MyCustomModel();
which should reset all its fields, and this should propagate to the form because it uses the model.
If this post answers your question or helps, please mark it as such.