Hi everybody.
I’ve been using formmail and Flash to create Forms for some while.
However, I’ve stepped into a problem which I would like you to give me some opinion/advice.
I won’t include code of formmail or host configuration because I already tested it with a plain HTML example form and it worked fine. Hence the problem I have is with Flash.
This is the piece of code I’ve always succesfully used in the “send” button to submit the form:
[AS]
on (release) {
subject = “Web Form from Clients”;
recipient = "info@mydomain.com";
loadVariables (“http://www.mydomain/cgi-bin/formmail.pl”, “”, “POST”);
_root.Formulario.gotoAndStop (“Thanks”);
}
[/AS]
…but then I came into a domain which name contains a “-”. So, the code this time is:
[AS]
on (release) {
subject = “Web Form from Clients”;
recipient = "info@my-domain.com";
loadVariables (“http://www.my-domain/cgi-bin/formmail.pl”, “”, “POST”);
_root.Formulario.gotoAndStop (“Thanks”);
}
[/AS]
This is absolutely the only difference I’ve found after 2 days of exhaust research
Now, I say: Is this “-” in the domain name creating a difficulty so that Flash can’t properly handle the form to work properly as it should?
Anybody ever faced this situation? Is there a workaround for this?
Any help, suggestion or idea will be highly appreciated as I’m completely stuck.
Thank you very much.
Manare