Hi,

I'm trying to create a contact form, using a small PHP script.
The PHP is working fine, the problem is in the AS.
For some reason, I can't get the ActionScript to gather the information from all the fields in the contact form.

For the last two fields, I get the error "Implicit coercion of a value of type String to an unrelated type Number."

Here's the relevant part of the code:

var email_data:String = "name=" + name_txt.text
+ "&email=" + email_txt.text
+ "&place=" + place_txt.text
+ "&day=" + day_txt.text;
+ "&time=" + time_txt.text;
+ "&message=" + message_txt.text;

All of the fields exist as input text fields on the Stage - anyone have an idea why there's a problem with the time_txt and message_txt fields?

Appreciate the help...