Article View: adobe.livemotion
Article #5Mailing List
From: Rob_Muir_III
Date: Thu, 19 Aug 2004 17:44
Date: Thu, 19 Aug 2004 17:44
38 lines
1847 bytes
1847 bytes
Hi,
I used lmc's contact form, and modified it to use for a newsletter sign up. I'm having a little trouble. Here is the html code:
form action="http://optin.verticalresponse.com/" method="post"
input type=hidden name=fid value="3e75743401"
Here is the ActionScript I have:
// Set a function to Validate and Send the form.
function submitForm(){
var pass = true;
if (!_root.FormMCG.txtEmail.length || _root.FormMCG.txtEmail.indexOf("@") == -1 || _root.FormMCG.txtEmail.indexOf(".") == -1){
pass = false;
_root.FormMCG.txtEmail = "";
_root.FormMCG.txtStatus = "Invalid E-mail address";
Selection.setFocus('_root.FormMCG.txtEmail');
_root.FormMCG.errorSound.gotoAndPlay('b');
}
else{
pass = true;
}
if(pass){
_root.FormMCG.txtStatus = "Thank You!";
loadVariables("http://optin.verticalresponse.com/?fid=3e75743401", "_root.FormMCG", "POST");
}
return pass;
}
Here is the swf:
<http://butanestudios.com/lmforum>
Here is the liv:
<http://butanestudios.com/lmforum/newsletter.zip>
I think the problem is when it goes to post it, its not connecting to the db with the id. I could be way off though. If anyone could help me, I'd really appreciate it.
Rob
Technical Details
Message-ID:
<3bb58d3f.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Thread: f6a55,2abaf9de17f72e57,start X-Google-Attributes: gidf6a55,public X-Google-Language: ENGLISH,ASCII-7-bit From: Rob_Muir_III@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.livemotion Subject: Mailing List Message-ID: <3bb58d3f.-1@webx.la2eafNXanI> Date: Thu, 19 Aug 2004 10:44:37 -0700 Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit