Flash Forms - Displaying text
I am using a Flash form to update several tables. In my form,
I want to be able to display some of the information as
display/read-only, but do not want to have the data display in a
text box, as it makes the user think its editable. Is there a way
to get rid of the text box/borders, or a way to display the data
and a label to align with the cfform elements?
Use this tag <cfformitem type="text"
>#FieldName#</cfformitem>, it will display data as read
only.
Similar Messages
-
International characters in flash forms
Hello. Is there any way to put international (here: polish)
characters into flash forms (like text input)? Thanks in
advance.PIT_PIT wrote:
> Hello. Is there any way to put international (here:
polish) characters into
> flash forms (like text input)? Thanks in advance.
yes:
http://www.sustainablegis.com/projects/flashforms/unicode.cfm
<cfprocessingdirective pageencoding="utf-8">
<cfquery name="getU" datasource="unicodeLab">
SELECT uniText, uniLanguage
FROM unicodeTest
WHERE uniLanguage='russian'
</cfquery>
<cfsavecontent variable="inputStyle">
borderStyle:none;
disabledColor:#2e8b57;
fontSize:11;
backgroundColor:#EFF7DF;
fontFamily:'Arial Unicode MS',Arial,Helvetica,sans-serif;
</cfsavecontent>
<cfparam name="form.unicodeTxt"
default="#getU.uniText#">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>flash and unicode</title>
</head>
<body>
<cfform action="unicode.cfm" method="POST"
format="Flash">
<cfformgroup type="HORIZONTAL">
<cfinput type="Text" name="unicodeTxt" width="120"
required="No" visible="Yes"
enabled="Yes" size="20" maxlength="20" style="#inputStyle#"
value="#form.unicodeTxt#" label="unicode text:">
<cfinput type="Submit" name="go" value="submit"
visible="Yes" enabled="Yes">
</cfformgroup>
</cfform>
</body>
</html> -
Flash forms -- Not displaying in IE
This is my first foray into flash forms, and I discovered
yesterday that while they look/work beautifully in Firefox
(2.0.0.4), they're not displaying at all in IE (6 or 7).
I'm using it to force the user to input their date in a
uniform format, so I'm sure there's a non-flash workaround. I'd
like to get this sorted out though, so my future work with flash
can be more involved.
Code is attached. Please let me know if I can provide further
clarification.Michael --
Thanks for your help.
I think I've narrowed the problem down -- it's not that it
won't display my flash form in IE, it's that it won't display it in
a Fusebox environment. I'm going to poke over at their site to see
what they have to say -- I suspect I'll need to upgrade the version
of Fusebox that I'm using. :) -
How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?
Hi,
I have the following code which is working fine except I can't get the user typed data from flash form to my default e-mail (MS Outlook) application. How to edit the following code?
In the code:
1) To ----> this field is okay since this email ID doesn't change
2) Cc ----> this filed is also okay since no changes will be in email ID
3) Subject ----> this may not be always as "Feedback", user may like to change the subject
Whant I would like to add more here is:
1) From ----> this text to be retrieved from "fromText.txt" input text box
2) Message ----> this text to be retrieved from "MessageText.txt" input text box
//1.Button event listener
SendMail.addEventListener(MouseEvent.CLICK, SendEMail);
//2.The SendMail function open up email application to send email.
function SendEMail(event:MouseEvent):void {
var email:URLRequest = new URLRequest("mailto:[email protected]?CC=[email protected]&Subject=Feedback");
navigateToURL(email, "_blank");
Thanks in advance for any support.
Regards.Thanks for the reply. I tried the code and result is like the following:
To: [email protected]
Cc: [email protected]
Subject: [object TextField]?body=From: [object TextField]
Body: Blank
The problem exist in SUBJECT & BODY.
Further help, please.
Thanks.
PS: I removed the ? before body and put & ------> the result is as follows:
To: [email protected]
Cc: [email protected]
Subject: [object TextField]
Body: From: [object TextField]
[object TextField]
One more thing that it opens an empty web page with the following text in adress bar:
mailto:[email protected]?CC=poweruser@helpdesk&Subject=Feedback -
I have just about given up on flash forms. I have read just
about every thread in this Forum, but cannot find the answer.
Have worked with flash forms in the past, but after recently
upgraded to a new box with Vista Business and Codl Fusion 8 Dev
Edition I cannot get flash forms working. I have have seen a tonne
of postings with the same issue, but few with a resolution, and
where there is I try it and makes no difference.
If I run the following code:
<cfform format="flash">
<cfinput type="dateField" name="startDate" label="Start
Date:" mask="dd/mm/yyyy">
</cfform>
If I remove format="flash" form works fine. If I include
format="flash" form doesn't display. View source shows the code
there, CFIDE is mapping correctly etc.
One thing I do notice though, which may or may not be
involved is that when viewing the code generated, it is looking in
the same folder that the script that includes the form was in. Do I
need to tell it to look somewhere else? Pure speculation here, but
EVERYTHING else checks out.
If someone at Adobe can set this straight would be great,
because an afternoon spent reading other postings on this matter
shows there are clearly a lot of people stumbling around in the
dark on this one.
Thanks in advance to anyone that can help.Michael --
Thanks for your help.
I think I've narrowed the problem down -- it's not that it
won't display my flash form in IE, it's that it won't display it in
a Fusebox environment. I'm going to poke over at their site to see
what they have to say -- I suspect I'll need to upgrade the version
of Fusebox that I'm using. :) -
Hello,
I'm running into an issue where an incorrect text ID is displayed on our billing form. On our form we are displaying text ID ZCLN and we want to use ID 0002. How can we configure which texts display on a form?
edit: more specifically, we're trying to figure out how the text is read from the sales order to the billing form. The text isn't copied from the sales order to the billing document directly, but we display the text on the form. When we create the billing document we are getting an entry in table STXH, but it is for ZCLN text ID and we want to use 0002.
Thanks in advance,
Johnny
Edited by: Johnny Burrell on Aug 21, 2008 10:36 AMHi,
Please note that you should use a function module instead of fetching texts from table.
For this:
Goto SE37 & enter "READ_TEXT" & execute
enter the details as under:
CLIENT xxx
ID 0002
LANGUAGE E
NAME document number with padded zero
OBJECT object in which ur texts goes (eg VBBP etc)
& execute, you will see your text.
Now ask your ABAPer to include this call function code in your print program logic, thats it.
Hope this helps you.
Regards,
Dhananjay -
Why do I get html tags with my Flash forms CGI-mailed input text?
I'm using a Flash form to send input text to a cgi page
(using load variable). The following text is on the CGI page.
To: [email protected]
From: [email]
Errors-To: [email protected]
Subject: [subject]
Type of Project: [subject]
Deadline: [details]
Name: [realname]
e-mail: [email]
Phone: [phone]
e-mails me results like this...
Type of Project: <TEXTFORMAT LEADING="2"><P
ALIGN="LEFT"><FONT
FACE="_sans" SIZE="12" COLOR="#000000"
LETTERSPACING="0" KERNING="0">by
george</FONT></P></TEXTFORMAT>
Deadline: <TEXTFORMAT LEADING="2"><P
ALIGN="LEFT"><FONT
FACE="_sans" SIZE="12" COLOR="#000000"
LETTERSPACING="0"
KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT
LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans"
SIZE="12" COLOR="#000000" LETTERSPACING="0"
KERNING="0">it!!!</FONT></P></TEXTFORMAT>
Name:
e-mail: <TEXTFORMAT LEADING="2"><P
ALIGN="LEFT"><FONT
FACE="_sans" SIZE="12" COLOR="#000000"
LETTERSPACING="0"
KERNING="0">[email protected]</FONT></P></TEXTFORMAT>
Phone: <TEXTFORMAT LEADING="2"><P
ALIGN="LEFT"><FONT
FACE="_sans" SIZE="12" COLOR="#000000"
LETTERSPACING="0" KERNING="0">I've
got</FONT></P></TEXTFORMAT>
anyone know how I can get it to drop all the extraneous html
crap? - I just want the input text items.
Also I can't figure out how to do a flash pulldown list as a
form element... all tutorials I find on the sbject are for Flash 5
and say to use Smartclips from the common librarirs tab - but there
are no "smartclips" in my Flash CS3. I see other things in
components (menu, list) - but cannot figure out how to add my items
to the list.is there some way I could use an "expression" to subtract the
unwanted text strings from the info being passed by the variables?
If so, does anyone have an example of the context I would used to
subtract 2 strings from that info...
this string of html tags appears before the passed input text
TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT
FACE="_sans" SIZE="12" COLOR="#000000"
LETTERSPACING="0" KERNING="0">
and this appears affter it...
</FONT></P></TEXTFORMAT>
it's always the same. -
Flash Forms Not Rendering in IE7, Flash 9
We're having a problem with flash forms in IE7 and Flash
Player 9 not rendering the entire form. The form works fine in
Firefox 2. It looks to be a problem with how the Flash player is
able to pull back data in IE7. Likely this pertains to how IE7
handles security of plug-ins.
Oddly, we've noticed that uninstalling the Flash 9 player and
then reinstalling results in the form rendering correctly the first
time, but on subsequent views the form no longer renders correctly.
Specifically, we're not seeing data that is being called via
Flash remoting in cfselect tags (state and country information).
And we're not seeing text rendered that is in cfformitem tags. Our
dev url is:
http://hopeequity.beaconfire.com/loggedout/index.cfm?event=StartInvesting_StartAGroupStep1
If anyone has an idea of why IE7 might not be able to render
the form correctly, or might have security-related issues with
remoting and Flash 9, please reply.I was granted access to the manuals on our prod server (the
site is set up where you have to log in to see the manuals). The
manuals are behaving differently on the prod server than in our dev
server. The following is happening on the prod server:
- the flash menus are appearing on our prod server in FireFox
only.
- I had reported in our dev area that when I right clicked on
the left hand side where the menus are to appear in IE that the
Flash menu displayed. This is not the case in our production area.
- I get the "This page contains both secure and nonsecure
items" when viewing the site on our prod server through IE
I've asked them what version of RoboHelp they are using and
no one seems to know. It seems they don't regenerate their help
files (manuals) very often. -
Hello. This is what I am trying to accomplish. I am making a
tabbed registration flash form and I would like the person
completing the form to see a total as he makes the selection for
what he will be attending. The way I approached the problem was to
bind an ActionScript function to the
GRANDTOTAL form field, but when the form finishes loading in
the browser, the
NaN error pops up. I tried to convert the field selections
explicitly to numbers to perform the addition, but it is obviously
not working. If anyone could shed some insight into this, that
would be great. Thank you in advance. The code for the tab that
handles the selection is below.
<!-- registration details tab -->
<cfformgroup type="page" label="Registration">
<cfformitem type="text">Your FULL NBBAN Registration
Includes: Admission to all Forums, Continental Breakfast,
Refreshment Breaks, Welcome Reception, Awards Dinner and
Luncheon.</cfformitem>
<cfformitem type="spacer" height="3" />
<cfformitem type="text">CONFERENCE REGISTRATION
FEES:</cfformitem>
<cfformgroup type="tile" height="650">
<cfformgroup type="horizontal">
<cfselect name="MemberQtyat250" size="1">
<option value=0>0</option>
<option value=250 selected>1</option>
<option value=500>2</option>
<option value=750>3</option>
<option value=1000>4</option>
<option value=1250>5</option>
</cfselect>
<cfformitem type="text">$250 per
MEMBER</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="NonMemberQtyat300" size="1">
<option value=0 selected>0</option>
<option value=300>1</option>
<option value=600>2</option>
<option value=900>3</option>
<option value=1200>4</option>
<option value=1500>5</option>
</cfselect>
<cfformitem type="text">$300 per
NON-MEMBER</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="GuestQtyat125" size="1">
<option value=0 selected>0</option>
<option value=125>1</option>
<option value=250>2</option>
<option value=375>3</option>
<option value=500>4</option>
<option value=625>5</option>
</cfselect>
<cfformitem type="text">$125 GUEST (accompanied by
MEMBER)</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="WelcomeReceptionQtyat75" size="1">
<option value=0 selected>0</option>
<option value=75>1</option>
<option value=150>2</option>
<option value=225>3</option>
<option value=300>4</option>
<option value=375>5</option>
</cfselect>
<cfformitem type="text">$75 WELCOME RECEPTION
ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="AwardsQtyat100" size="1">
<option value=0 selected>0</option>
<option value=100>1</option>
<option value=200>2</option>
<option value=300>3</option>
<option value=400>4</option>
<option value=500>5</option>
</cfselect>
<cfformitem type="text">$100 AWARDS AND RECOGNITION
CEREMONY ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="LuncheonQtyat75" size="1">
<option value=0 selected>0</option>
<option value=75>1</option>
<option value=150>2</option>
<option value=225>3</option>
<option value=300>4</option>
<option value=375>5</option>
</cfselect>
<cfformitem type="text">$75 LUNCHEON
ONLY</cfformitem>
</cfformgroup>
<cfformgroup type="horizontal">
<cfselect name="KingTourQtyat20" size="1">
<option value=0>0</option>
<option value=20 selected>1</option>
<option value=40>2</option>
<option value=60>3</option>
<option value=80>4</option>
<option value=100>5</option>
</cfselect>
<cfformitem type="text">$20 THE KING CENTER
TOUR</cfformitem>
</cfformgroup>
<cfformitem type="script">
function subTotal() {
var memberQty = registration.MemberQtyat250;
var nonmemberQty = registration.NonMemberQtyat300;
var guestQty = registration.GuestQtyat125;
var receptionQty = registration.WelcomeReceptionQtyat75;
var awardsQty = registration.AwardsQtyat100;
var luncheonQty = registration.LuncheonQtyat75;
var tourQty = registration.KingTourQtyat20;
var result = trace(Number(memberQty)) +
trace(Number(nonmemberQty)) + trace(Number(guestQty)) +
trace(Number(receptionQty)) + trace(Number(awardsQty)) +
trace(Number(luncheonQty)) + trace(Number(tourQty));
alert(result);
</cfformitem>
<cfformgroup type="horizontal">
<cfinput type="text" name="GRANDTOTAL" label="Total: $"
bind="{subTotal()}" />
</cfformgroup>
</cfformgroup>
</cfformgroup>You need to store the information user have input before
somewhere. You can store it in local shared object, which is dubbed
as a "flash cookie" -- Flash MX. Then you will retrieve it at
execute an autofill. If you store the user's info in a remote
database -- you can loadVars from you server with the form
information.
Search for SharedObject in flash help -- it is pretty
straight forward and simple.
I forgot to mention that you will need to compare entry in
the form field with the stored info on each key stroke, naturally,
and display results in an additional text field, etc.
Hope it helps... -
Passing value from child to parent (flash form)
Dear all,
I have 2 pages (both flash form): First.cfm (parent) and
Second.cfm (child).
In First.cfm, I have a textbox and a button. Once I click the
button it will load the Second page.
In Second.cfm, I have a button. Both pages are still active.
Now the question is .. when I click the button on the Second
page, how to pass the value back to the First page and assign it to
my textbox in my First page? I want the value to be displayed in my
textbox without reloading the First page.
Any suggestions and examples?
This codes do not work in Flash Form. But if I use HTML with
a bit of modification then it works. How to make it work in Flash?
++++++++++++++++
this is first.cfm
++++++++++++++++
<cfoutput>
<cfform format="flash" name="myform">
<cfinput type="text" name="txtCustomerID" width="100"
label="Customer ID">
<cfinput type="button" name="btnGetCustomer" value="Get
Customer" onclick="getURL('second.cfm','_blank')">
</cfform>
</cfoutput>
++++++++++++++++
this is second.cfm
++++++++++++++++
<cfform format="flash">
<cfformitem type="script">
function buttonclick():Void {
getURL('javascript:window.opener.document.forms["myform"].elements["txtCustomerID"].value
= "XXX";');
</cfformitem>
<cfinput name="btnClick" type="button" value="xx"
onclick="buttonclick()">
</cfform>
Thanks in advance
KeikoYou address the parent from the child using:
this._parent.sMyVariableName = "whatever";
Remove '_spamkiller_' to mail -
Using <cfinput type="text" in a flash form. I need to be
able to wrap text in this control, as we have long descriptions of
items that need to be edited. Currently I can only get the
description on 1 line which is not too useful.You need to store the information user have input before
somewhere. You can store it in local shared object, which is dubbed
as a "flash cookie" -- Flash MX. Then you will retrieve it at
execute an autofill. If you store the user's info in a remote
database -- you can loadVars from you server with the form
information.
Search for SharedObject in flash help -- it is pretty
straight forward and simple.
I forgot to mention that you will need to compare entry in
the form field with the stored info on each key stroke, naturally,
and display results in an additional text field, etc.
Hope it helps... -
Autofill in flash forms?
Does anyone know any code/hints regarding aufotill in flash
forms? Much like in gmail, the e-mail address fills in as
suggestion when you've typed the first few letters... I have never
seen this in flash, but I need it for an implementation I'm doing.
Anyone?You need to store the information user have input before
somewhere. You can store it in local shared object, which is dubbed
as a "flash cookie" -- Flash MX. Then you will retrieve it at
execute an autofill. If you store the user's info in a remote
database -- you can loadVars from you server with the form
information.
Search for SharedObject in flash help -- it is pretty
straight forward and simple.
I forgot to mention that you will need to compare entry in
the form field with the stored info on each key stroke, naturally,
and display results in an additional text field, etc.
Hope it helps... -
Flash forms, dynamic content
I am relatively new to assembling Flash Forms.
I am trying to build a form that lists departments in a
dropdown on one tab and will then display a list of items and
checkboxes that apply to the department that is selected on another
tab.
I am using cfsavecontent to save a variable that is the
department id. I understand how all the data from the cfsavecontent
tag can be displayed in a text box, but is it possible to display a
list of checkboxes based on the cfsavecontent data instead of a
text field? Can this be done? Thank you for any insight.If I'm not mistaken, you'd need to use a rich media vendor to
provide dynamic content.
http://www.pointroll.com
http://www.dartmotif.com
http://www.eyewonder.com -
Hello, all.
The issues are just appearing out of the woodworks, now.
The project I am working on (
http://www.goldininstitute.org/staging_directory/)
now has yet another issue - in IE6, the flash form does not load at
all. It's supposed to be in the lower left corner - a login form,
just username and password with a submit button - and works great
in FF/NN/Op, but does not appear at all in IE6. Is this another
security issue for IE? Form code follows:
[code]
<tr>
<td style="width:249px; height:202px;
background-color:##E6E5D3; vertical-align:top; text-align:center;
color:##000000; font-size:11px; font-family:Arial;
font-weight:normal; padding:0px; border-bottom:1px solid
##666666;">
<img src="images/goldinFlash2.gif" alt="The Goldin
Institute Online" name="TGI_logo" width="240" height="50"
vspace="0" hspace="5" border="0" align="left" /><img
src="images/spacer.gif" alt="" name="spacer" width="1" height="1"
vspace="0" hspace="0" border="0" />
<cfif isDefined("session.firstName") AND
len(trim(session.firstName)) gt 0>
<table style="width:100%; height:151px;" border="0"
cellpadding="0" cellspacing="0" hspace="0" vspace="0">
<tr>
<td style="text-align:left; vertical-align:top;
padding:5px; font-size:12px; font-weight:bold;">Hello,
#trim(session.firstName)# #trim(session.lastName)#<cfif
len(trim(session.suffix))>#replace(trim(session.suffix),".","","all")#</cfif>.</td>
</tr>
<tr>
<td style="text-align:left; vertical-align:top;
padding:5px; font-size:12px; font-weight:bold;">To log out,
click <a href="#request.localhost#logout.cfml"
style="color:blue;">here</a>.</td>
</tr>
</table>
<cfelse>
<cfform
action="#request.localhostsecure#loginaction.cfml" method="post"
name="myInstituteLogin" id="myInstituteLogin" enablecab="yes"
preservedata="yes"
format="Flash" wmode="opaque" timeout="1000" width="100%"
height="127" skin="haloOrange" style="background-color:##E6E5D3;
color:##000000;">
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="1" /><cfinput type="text" tabindex="1" name="username"
id="username" maxlength="20" enabled="yes" visible="yes"
height="20" width="125" style="#formStyle#" required="yes"
message="Please enter your Username"
value="#trim(session.username)#" label="Username" />
</cfformgroup>
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="7" /><cfinput type="password" tabindex="2"
name="dpassword" id="dpassword" maxlength="20" enabled="yes"
visible="yes" height="20" width="125" style="#formStyle#"
required="yes" message="Please enter your Password" value=""
label="Password" />
</cfformgroup>
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="70" /><cfinput type="submit" tabindex="3"
name="submit" id="submit" enabled="yes" visible="yes"
style="#formStyle#" value="Login" label="Login" /><cfinput
type="reset" tabindex="4" name="reset" id="reset" enabled="yes"
visible="yes" style="#formStyle#" value="Reset" label="Reset" />
</cfformgroup>
</cfform><cfif NOT
isDefined("session.siteAccessLevel")>Forgot your
password? Click <a href="javascript:void(0);"
style="color:blue; text-decoration:underline;"
onfocus="this.blur();"
onclick="showIt('#request.localhostsecure#forgotpw.cfm','forgotPassword',50,50,330,600,0) ;">here</a><font
style="font-size:8px;"><br
/> </font><cfelse> </cfif>
</cfif>
</td>
</tr>
[/code]
Thanks,
^_^> "Your current security settings prohibit running
> ActiveX controls on this page. As a result the page may
not display
> correctly."
This would only be in local preview, right?
http://www.projectseven.com/support/answers.asp?id=153
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"DreamWeevil" <[email protected]> wrote in
message
news:fq34rf$4g5$[email protected]..
>I have a flash video embedded in my page that plays fine
in FF and IE7,
>however
> when loading the page in IE6 the video is absent (the
"red x" is in its
> place)
> and I receive the message "Your current security
settings prohibit running
> ActiveX controls on this page. As a result the page may
not display
> correctly."
>
> Now, this happens in IE6 only on the default security
settings. I have
> other
> sites that embed flash video and play fine in IE6
without warning...they
> weren't created with Dreamweaver CS3 though.
>
> What is triggering this in IE 6 and can I remove some
code from my page to
> prevent this?
>
> Thanks for any help to what is probably a noobish
question.
> -
I Need Dire Help Making a Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php
script,
when i was trying to add more "text" boxes, i must have
messed the script up somhow.
When I submit that form, the name is send and email, but the
email is blank.. ie, there is no "comments"
here is the code:
on submit button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
sent email messege
onClipEvent(data){
// show welcome screen
_root.nextFrame();
and the php script (mailer.php)
php form email.pho
<?php
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
http://www.php.net/manual/en/function.mail.php
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "[email protected]";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ".
$_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could
send
// email to a hotmail account. (hosting provider settings may
vary)
// technically bounced email is supposed to go to the
return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body
variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
If anyone can see why the "comments" section is not being
sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make
a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to
only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script
and php to add more fields easy.
I really need some help with this, its turning into a
nightmare for me.
I can provide someone with my .fla project file if they care
to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "[email protected]";" =
this line i know i must put in my own email.This is all about timelines. It seems there is a movieclip
named 'form' (or possibly an actionscript object, can't tell). Any
variables created on that timeline are sent.
So you could have your new textfields on another timeline.
Or you could have textfields with no instance name in the
form timeline.
Those are the first two things to look at. Post the FLA and
we can tell you more specifically.
Maybe you are looking for
-
Hello experts, Currenctly my customer has the following systems: BW 3.5 with software component SEM 4.0 R/3 4.6C without software component SEM ECC 6.0 with software component SEM 6.0 (Development system, I cannot connect the BW system to this one!)
-
Pressing FN+F5 message: IGFXEXT module has stopped working
Pressing FN+F5 message: IGFXEXT module has stopped working I am using Vista Model - Portege M700
-
NEW SONGS NOT SHOWING IN ITUNES 11 LIBRARY
No new songs that i import are showing up in my iTunes Library!!!!! HOWEVER, I can view them in a playlist if I drag and drop them there from my desktop. I don't understand why apple have to constantly keep updating and changing things that work perf
-
Suddenly my Mac App Store has stopped loading. The icon in the dock and Applications folder no longer looks like the correct icon, instead it looks like two pieces of paper with a pencil, ruler and paint brush (the generic app icon, I guess). I tried
-
Where is LSCOLOR located?
I want to change the color settings used by ls. For example, I want ls to display directories in cyan, not blue. Googling LSCOLOR and CLICOLOR brought up many posts on how to set LSCOLOR from the command line. But I want to have the term application