Hi there,
I am using this httpserver to send some form variables in a coldfusion .cfm
file which inserts them in a database.
<mx:HTTPService
id="srv"
url="http://myserv.flexdata/test.cfm"
fault="errorAlert();"
method="POST">
<mx:request>
<firstName>{firstName.text}</firstName>
<lastName>{lastName.text}</lastName>
<salary>{salary.text}</salary>
<startDate>{startDate.text}</startDate>
</mx:request>
</mx:HTTPService>
Now, this works perfectly. However, the 'errorAlert()' is always triggered,
whereas I was expecting this to come over when my .cfm file generates some
kind of error.
Any ideas please?
thanks,
George