See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash Form+php(kirupa Tutorial)/messages Sent By Form Show Strange Characters
Flash form+php(kirupa tutorial)/messages sent by form show strange characters - uncorrect stressing for latin languages
I tested flash + php form (http://www.kirupa.com/developer/act...h_php_email.htm) , and noticed message field does not send messages correctly when words stressing is needed (á à , é , í , ó , ão ) ;
I received strange characters when typed stressed words :
á é i ó u ão à pão cão árvore ;
what has to be changed on the code to allow stressing ??
cheers
Flash Form Question : Sending HTML Form Values...
I'm trying to create a flash form version of an HTML form. It's basically just a voting drop down menu - user chooses "Yes", "no","maybe" from teh drop down and hits a submit buttons which would send the results to a CGI script though POST. I understand the submission aspect, but am not sure how to assign values to the drop down in the same way HTML does:
<option value="yes">
<option value="no>
...
Do I just set the combo box Data array to [yes,no,maybe]? If so, how is it to be sent?
thanks
Form Application, How To Make Not Clickable Thing In Parent Form
I am making a form application and in one form i have some child forms.
When i open (make visible) one of the child objects all the clickable items in the parent form are still working.
how can i "deactivate" them?
i have seen that it happens the same not only with parent-child forms but also with the "brothers" forms, even if the clickable items are not shown.
Pass Variable Form HTML Form To Flash
Hi,
I'm trying to figure out how to send what the user selects from a HTML drop-down menu to the Flash movie.
In this scenario, the user picks an email address from a drop-down list and this is sent to flash as a variable called 'eaddress' which is eventually used in the flash movie to send a message to this address.
Any help is much appreciated!
Glenn
Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?
I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.
I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.
Much appreciated.
How Do I Set Up Hidden Form Variables For A Flash Form.
Guys, I'm using the flashkit tutorial on "send e-mail in flash the easy way", or something like that. Problem is that I need to set variables for hidden input, but don't know where and how to pass them along to the script?
Thanks
Simple Form Troubleshoot For Form Mail
Hey guys...
I can't get the attached form to work no matter what I do. I have to use my host's form mail script. This file is loaded with a loadmovie command on level 3...if that matters.
thank you so much for your time...this is killing me.
tony
Convert HTML Form Into FLASH Form
http://www.bennyvo.com/test/
can someone look at this site and help me converting html form into flash form? is it possible?
thanks alots.
[F8] Flash Form Pops Up With The Php Url When Submitting Form
Hey guys,
I have a very minor issue here. I've created a contact form that uses a loadVars function to send the information to a php script and then on to my email. I've got everything working perfect except for the fact that when the user clicks submit it pops up a page with the address of my php script in order to run it. This is a bit annoying, so i was wondering if there was anyway to stop this from happening (but still run the script).
At the moment my code is:
PHP Code:
details_lv = new LoadVars ();
details_lv.userName = text2_mc.name_txt.text;
details_lv.userEmail = text2_mc.email_txt.text;
details_lv.userSubject = text2_mc.subject_txt.text;
details_lv.userMessage = text2_mc.message_txt.text;
details_lv.send("contact.php", "POST");
Any help would be appreciated,
Thx
Form Tab To Auto Scroll Form
I have created a long form that the user needs to scroll down to view and fill in. At the moment the user needs to operate the scroll bar with the mouse when they come to the end of the visible section. i would like the user to be able to tab through the text fields and the form to auto scroll up so the text field is visible.
Any ideas????
Reseting A Form...validating A Form
i have an address book online. Users can add/edit/delete at will. All great, but i need to validate a few of the buttons. Thus far, if a user adds an entry, opon the lvConfirm, the form visualy resets with the original text ("Name", "Number"). That is great, but lets say the user then decides to click the update button...well, while the form says name and number, a duplicate entry is entered. Worse, if instead the user clicks delete, it will delete the last entered entry....not desired...any ideas on how to validate this form so after an enter/update/or delete the forms variables are cleared?
Code:
var lvGet:LoadVars = new LoadVars();
var lvConfirm:LoadVars = new LoadVars();
var lvConfirmSearch:LoadVars = new LoadVars();
mcAddEntry.onRelease = function() {
if(inputName.valid!=true || inputNumber.valid!=true){
txStatus.text="not valid entry";
}else{
lvGet.leaderName = newName;
lvGet.leaderNumber = newNumber;
lvGet.sendAndLoad(rootURL+"insertEntryToPhonebook.php", lvConfirm, "GET");
}
};
lvConfirm.onLoad = function(success) {
if (success) {
leaderlist.load(rootURL+"getphonebook.php");
inputName.text = "name";
inputNumber.text = "number";
dragger._x=0
selectedDays=[];
lvGet.leaderName=""
lvGet.leaderNumber="";
}
};
//______________________________________________________________________________edit entry
mcUpdate.onRelease = function() {
if(inputName.valid!=true || inputNumber.valid!=true){
txStatus.text="Please update at least one field";
}else{
lvGet.leaderName = newName;
lvGet.leaderNumber = newNumber;
lvGet.Id=leaderId;
lvGet.sendAndLoad(rootURL+"editEntryById.php", lvConfirm, "GET");
}
};
Flash Form Vs HTML Form
Hello Peoples,
The following HTML code produces a button that when clicked sends the user to my online credit card processor's site where the user can proceed with a transaction.
----------HTML CODE----------
<form action='https://www.casher.com/buyer/purchase' method='post'>
<input type='hidden' name='dis' value='435532' >
<input type='hidden' name='quantity' value='1' >
<input type='hidden' name='product_id' value='1' >
<input name="submit" type='submit' value='Click to pay thru casher.com' >
</form>
----------HTML CODE----------
So my question is: If I want to use a button in a flash piece to do the same thing as the above HTML button, what code do I apply to the button in flash ?
Thanks,
Reflex.
HTML FORM To Flash FORM
I'm tryin to convert an HTML password page into FLASH and haven't a clue where to start. The site is www.modernvisionphotography.com and the code for HTML is
<form name="pix" method="post" action="http://www.724pix.com/album.asp" onsubmit="return 724check();">
<input type="hidden" name="init" value="init">
<input type="hidden" name="code" value="458">
<input type="text" name="password" size="16" maxlength="30"><br>
<input type="submit" name="submit" value="submit">
The user types in their password via an input text field but i haven't an idea what to put in the submission button in flash.
Any leads? or ideas would be helpful! Thanks for your time.
[AS] [Form] Simple Form Check ?
Hi.
I got a form for my website and i want flash to check it wether any of the fields is empty.
This is what i got so far, but i does not do anything:
Note: i got 8 fields in my form with the vars: vname, nname, strasse, hnr, plz, ort, telefon and email.
ActionScript Code:
if (vname != "" && nname != "" && strasse != "" && hnr != "" && plz != "" && ort != "" && email.indexOf("@") != -1 || email.indexOf(".") != -1) {
loadVariables("http://www.incorp.de/info.php", "", "GET");
gotoAndStop(3);
_root.regid = 1;
} else if (vname == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie einen Vornamen ein.";
} else if (nname == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie einen Nachnamen ein.";
} else if (strasse == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie eine Adresse ein.";
} else if (hnr == "") {
gotoAndStop(2);
reg.fehler = "Bitte tragen Sie eine Hausnummer ein";
} else if (plz == "") {
gotoAndStop(2);
reg.fehler = "Sie haben die Postleitzahl vergessen.";
} else if (ort == "") {
gotoAndStop(2);
reg.fehler = "Sie haben den Wohnort vergessen.";
} else if (email.indexOf("@") == -1 || email.indexOf(".") == -1) {
gotoAndStop(2);
reg.fehler = "Bitte prüfen Sie Ihre E-mail Adresse";
}
Why doesn't it work?
Flash/CGI E-mail Form -- Form Sends Info To E-mail? HELP Please (AIM/ICQ)
I am trying to make a flash file where you enter in information and then you click send and it sends the data in the form to my e-mail address. I tried customizing all of the cgi ones from the movies section of flashkit, and modifyied the cgi script accordingly. No matter what I've tried, I won't receive the information in my e-mail. For me, this matter is too hard to resolve over e-mail or a forum, so if you would like to, please help me out over instant messenger. I will be online under AIM name: blizzardmedia and ICQ number 64322480
Thanks for your help.
Form (Form + Script)
Hello. I am in need of help with creating a functional form. I have been working on making one work for a very long time except with no success. I am not understanding many of the tutorials, movies, and searching many places. All of the tutorials really never explained anything. I have searched just about everywhere for an answer, and this is my last resort.
I have made an example form, just a test and added a script I found but substituted the variables. Yet, it does not work.
I would like to know, what am I doing wrong? (Bit general question)
Also, when I open up the example script, it opens with SimpleText, change the necesary variables, and save it.
Is this acceptable, the script is just a text file?
Could someone fill some holes in for me?
Moving From Form To Form.
Ok total noob here.
Just started a form based project. My first form is a splash screen, which plays a animation. Whats the best way, at the end of the animation to goto the next form?
Also do I have to unload/load forms or can i just hide and unhide them.
Thanks in advance
Form In Flash, Tab Goes Off Form
Sorry - I really feel at a loss here as there is nowhere I can find to set up a control for the order in which you can move from one field to another. But as I test my form, and tab from one field to the next - the cursor goes from first to second field, then off the form to the menu bar, tab again and you end up in the third field of the form, tab again and you go off form to the next option on the menu bar, tab again and you go back to the last two fields in the form. What can I do to keep the cursor in the form going from one field to the next? PLEASE!?
PHP Form To Flash Form
Hello everyone, I have a form php that I want to convert to flash, but do not know how to do it, this it is the code.
Code:
<form action="www.ejemplo.com/algo" method="post" name="comment" enctype="multipart/form-data">
<p>Comentario</p>
<textarea id="cftext" name="text" rows="8" cols="50" class="formfield">Escribe tu comentario</textarea>
<input name="rate" id="cfrate" value="0" type="hidden">
<input name="system_content" value="function" type="hidden">
<input name="system_lib" value="algo" type="hidden">
<input name="system_name" value="algo" type="hidden">
<input name="system_type" value="algo" type="hidden">
<input name="system_cid" value="algo" type="hidden">
<input name="system_tpl_success" value="algo" type="hidden">
<input name="system_tpl_error" value="algo" type="hidden">
<br>
<p align="center"><input name="submit" value="POST COMMENT" type="submit"></p>
</form>
PLEASE, HELP ME!!!
AS2 Form Data To ASP Form
I've scoured the forum for a possible solution and nothing I've found seems to work. I have a form in Flash AS2 that I want to pass that data to an ASP page where it's processed, but it should also send the user to that page.
FLA has two form fields "userName" and "pword"
My actionscript looks like
buttonSubmit.onRelease = function() {
myVars = new LoadVars();
myVars.userName = regFields.userName.text;
myVars.send("login.asp","_self","POST");
}
I've even tried just using the getURL("login.asp","_self","POST"); method and I cannot get the variable info to send to the page.
I've also tried sendAndLoad too with no success as that won't send the user to the next page.
Tab In Form
I need to know how to use the tab to advance in my form. I've followed the tutorial found on this site and read the other posts and it wont work. I've come to the conclusion that its becasuse my form is in a movie clip. Then put on the main stage. So it somehow gets confused. What can i do? Any help?
Thanks
Twister
Form Help
where am I going wrong, I can get a html form to work, where am I going wrong with this flash form??
Scene 1
actions for frame 1
required = "";
data_order = "name,company,phone,submit_by,address,detail";
submit_to = "mail@jmcwebdesign.com.au";
automessage = "mymessage";
outputfile = "form1";
countfile = "form1";
emailfile = "form1";
form_id = "Web Form";
actions for submit
on (release) {
loadVariables ("/cgi-jmcwebdesign/bnbform.cgi", 0, "POST");
// Go to the confirmation frame.
gotoAndStop (50);
}
Help With Form
Hi
I need help with the actionscript required to "embed" the following form in a flash4 movie:
<form name="loginform" action="http://mail.bigmailbox.com/users/....../enter.cgi" method=post>
<input type=hidden name=js value=0>
<!-- TEXT FIELDS FOR USERNAME AND PASSWORD -->
<font face="verdana,arial" size=2>
Username:
</font>
<input type=text name=un size=12 maxlength="20">
<br>
<font face="verdana,arial" size=2>
Password:
</font>
<input type=password name=pw size=12 maxlength=15>
<br>
<font face="verdana,arial" size=2>
<input type=submit name=submit value="Log In">
<p>
<!-- LET USER CHOOSE IF THEY WANT TO VIEW FRAMES OR NOT -->
Use Frames:
<input type=radio name=fr checked value=1>
Yes
<input type=radio name=fr value=0>
No
</font>
</FORM>
I can probably addapt most of this "Form" to integrate it in a flash4 movie, but I'm not sure how to treat the "name" parts of the form, for the info to be transmitted correctly to the "Bigmailbox" cgi bin.
In html format, the following script is also placed just before the </body> tag:
<!--
ADD JAVASCRIPT HERE TO TEST IF USER IS USING A
JAVASCRIPT-ENABLED BROWSER AND
TO CLEAR THE FORM FIELDS FOR USERNAME AND PASSWORD
-- WITH THE FORM FIELDS CLEARED, NO ONE CAN LOG
IN TO THE USER'S ACCOUNT AFTER THEY ARE DONE
-->
<script language=javascript>
<!--
document.loginform.js.value = 1;
document.loginform.un.value = '';
document.loginform.pw.value = '';
//-->
</script>
Can you help?
Thanks in advance,
PHP Form?
Hi everyone,
Is there anyone out there how can explain me how to get a PHP form to work? Because my hair is starting to turn greyish...
thanks
Form
I created a form where a visitor can leave comments, their name, and their email address. I am sending the information to an email address via PHP. How can I make sure they enter a valid email address with their names.
What scripting can I use ?
[Edited by Alkapone on 09-04-2001 at 04:09 PM]
FORM TO ASP
I have a layerd movie that loads movies into different levels. I'm trying to debug an error with a form to mail asp script but can't get it. what nameing format is used by flash 5 when sending variables via POST?
please help
ASP / CGI Form ... Help Please
HI there,
Iposted this is general questions also as Its really got me stuck and i need help bad!
I have looked at several tutorials on the subject of feedback forms and being able to link them back through an email address ...
So far, I have been able to set the variables
(name, email, comments) and have the submitt button ready -
I have tried to set up an cdontsMAIL.asp page using code from a tutorial, but when i send the form, no email is sent to me with form details...
I copyied the asp code and changed all the relevent details to fit mine ... I copyed and pasted the code into notepad then saved as cdontsMAIL.asp and uploaded it along with the rest of my movie ...
The code behind the submitt button is onrelease, loadvariablesnum ("cdontsMAIL.asp", 0, "post")
can anyone shed some light on this please?
Or if there is another way of getting the form info. sent from the website to my email?
ANY TIME AND HELP IS GREATLY APPRECIATED!
thanx
G
Form Help...
I made my form image..and did all the variable and input text fields.....the two things I cant figure out..is
1. How can I have it so when the user hits the submit button the input fields go blank again?..Like ready for another "SUBMIT"?....
2. The code for the submit button has me messed up? I am using geocities for a freeserver untill al tests/bugs are ironed out....how do I get the submit button to work? What CGI script do I need? What exactly do I edit and where for the button code? Thanks. -whispers-
Form Help...
I have been searching for posts, tuts,...everything I can think of for some help on my form. I have tried all sorts of code for the submit button...and nothing works....Can someone guide me here...a specific explaination woudl be the best.
I have my files on brinkster.com (I am willing to move to any free server) I just want the directions of what to type in the code for the submit button....what I need for asp or CGI..or whatever... where to get a specific one CGI/ASP..etc. PLEASE!! Someone help! It has been weeks..and my form is still not working..THANKS! -whispers-
http://www25.brinkster.com/whispers007
Click on the contact button!! Thanks
Cgi For A Form
I have a form for my site. Eveything in it is ok. But I don't know how to make the cgi for it, or how to edit someone else's so that it will send it though a smtp. Please Help ME, Thank You
Boa743
Help With A Form
I created a multi-user login using FLASH 5, and was wondering if there was a way to enable using the TAB button to switch fields and the ENTER button after you embed the movie in HTML?
Need Form Help
I am working on the tutorial "Creating an Interactive Form in Flash" and in step 6 where you have to load variables it asks for "the web address of the form to mail script that i am using". Does anyone know how i can acquire this address?
Tab In A Form....Please
I made a simple form, when I am filling the blanks; the TAb on the Keyboard doenst work, it changes to others bottons, images ... ...
How can I repair the form???
Thanxs a lot!
luciano Loffi
Form
how do i create a form in flash and have it send the text that the user types in to my email address?
Form.. Please Help
how do i create a form in flash and have it send the text that the user types in to my email address?
does anybody know an easy way?
pleas help!!
thanks
Form
please help everyone!!!
how do you put a form on flash???
Form Help
ive been working with a form on my site to submit details via e-mail whne the submit button is pressed and then for it to jump to a thank you screen but i dont know how and i need help!
Form Help/ CGI
Still having problems with getting my form to work with a cgi script. Can someone look this over and see if I forgot something? I am not getting any errors anymore just not getting the mail. Thanks. -Mark
Hre is the actionscript....................................
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
} else if (!Name.length) {
EmailStatus = "Please Enter your name before Sending";
} else if (!Comment.length) {
EmailStatus = "Please enter some text in your message";
recipient="info@upfieldmedia.com";
subject="test";
} else {
loadVariablesNum ("/cgi-bin/snowMailPerl.cgi", "0", "GET");
EmailStatus = "Thank you! Your message has been sent.";
}
}
---------------------------------------------------------
Here is the CGI Perl script.............
#!/usr/bin/perl
require "subparseform.lib";
&Parse_Form;
$Name = $formdata{'FirstName'};
$Company = $formdata{'Company'};
$Comments = $formdata{'Comments'};
$Email = $formdata{'Email'};
$ToEmail = "info@upfieldmedia.com";
$ToSubject = "Testing out Tutorial";
$EmailBody = "Sent By: $Name
Senders Email: $Email
Senders Company: $Company
Message Sent:
$Comments
;
$EmailFooter = "
This message was sent by: $Name. If you feel that you
recieved this e-mail by accident please contact us at http://www.upfieldmedia.com";
$Message = $EmailBody.$EmailFooter;
open (MAIL, "|/usr/sbin/sendmail -t") || &ErrorMessage;
print MAIL "To: $ToEmail
From: $Email
";
print MAIL "Subject: $ToSubject
";
print MAIL "$Message
";
close (MAIL);
print "Content-type: text/html
";
print "_root.Mail.EmailStatus=Complete - Your mail has been sent";
sub ErrorMessage {
print "Content-type: text/html
";
print "_root.Mail.EmailStatus=Connection Failed Please Check the path to the Mail program";
exit; }
{
Form
I have a form with input text fields. I want to send the text fields values to a specific e-mail address when pushing a button.
Action on the button:
On(release){
GetURL("mailto:toto:titi.fr","","POST");
}
It send an email but without the text field values. (idem with "GET")
What's wrong ?
Thank's
Michel
A Form Like This?
Hey all. I want to know if I can re-create a form like this, for a Flash Site, without any server side technology (CGI)...
http://www.trilitemedia.com/quote.php
Even if the info just goes into an email, that'd be a-ok. So, can it be done?
How?
Thanks a million!
J
A Form
Do somebody now how I can send the contents of a form to
my e-mail adress
P.S.: I can not very good English
Send your answer to joranthius@hotmail.com
Form Help..
I was trying to send an email with a form..
The question is, how can I put a button that will send me back the answers, do I need to put a cgi?.. thanks a lot for your help
PHP Form Help Please
Hi,
I am trying to use a simple flash form with an even simpler php script.
I have the form and the scripts made but I am unsure of the easiest way to pass the form variables through to the script.
Please Help!
Thanks in advance
Form Cgi
Hi im using F5 and want to set up a basic form, i have used the CGI script below in a (html)form previously. This scipt is what my Host specify i use,
<form method=POST action="http://home.xtra.co.nz/cgi-bin/FormMail.pl">
<input type=hidden name="recipient" value="formdata@kahoh.co.nz">
This is the action im using on submit,
on (release) {
getURL ("http://home.xtra.co.nz/cgi-bin/FormMail.pl", "_blank", "POST");
}
This action i have in frame one,
recipient = "formdata@kahoh.co.nz";
Any ideas brilliant thanks Paul
|