|
ASP/Flash guidance, please
Hello
I have a contact form with several (input text) fields in my FLA (MX 2004) file:
Name
Email
Subject
Country
Message
They have the following 'Instance' names:
name_txt, email_txt, subject_txt, country_txt, and message_txt.
Also in the Properties window of my FLA file, I have inserted (in Var):
fullname, email, subject, country, and message.
I am using the 'POST' method from my FLA file which ought to be able to 'see' my ASP file - but doesn't.
The ASP file it ought to 'see' has a simple script, as follows, but I am not sure if it is correctly written:
<%
Dim fullname,email,subject,country,message
if Request.Form("Submit") <> "" then
fullname = Request.Form("fullname")
email = Request.Form("email")
subject = Request.Form("subject")
country = Request.Form("country")
message = Request.Form("message")
Server.Transfer "welcomeFlash.asp"
End if
%>
I am not sure if the following line is correct because I do not know what 'Submit' refers to:
if Request.Form("Submit") <> "" then
It is not the name of any file I have in my FLA file.
And, I am not sure if what follows that line shouldn't be written simply as:
Request.Form("fullname")
Request.Form("email")
Request.Form("subject")
Request.Form("country")
Request.Form("message")
I would appreciate any comments.
Thanks.
Steve
|