...this is the same form I've been using for some time now(got it here in fact), hasn't failed me yet. It was working on this site, nothing has changed and now it no longer works.....
see attachment..
HELP PLEASE!!!!!!!!
Thanks,
-J
Printable View
...this is the same form I've been using for some time now(got it here in fact), hasn't failed me yet. It was working on this site, nothing has changed and now it no longer works.....
see attachment..
HELP PLEASE!!!!!!!!
Thanks,
-J
Must have been a problem swith the host, becuase it's working fine now, and I've done nothing out of the ordinary..........
Ok, it's only kind of working........
For some reason it's totally ignoring the email field. The problem has to be in the php. The code is as follows:
<?php
$to = "youraddress@whatever.com";
$subject = "Comments from website";
$body = $_POST['email'];
$body = $_POST['comments'];
if (mail($to, $subject, $body)) {
echo "&complete=Form sent!";
} else {
echo "&complete=Sorry, can't send form at this moment. Please try again later.";
}
?>
......Anyone know why it's ignoring the emal field, I'm sure it's obvious, but not to me.
-J
Could be that bolded part.. :)
Quote:
Originally Posted by zoranvedek
Yeah, I thought so too, stripped it down to one body field(the email), and it still ignores the email. I've double, and triple checked the movie file, and the variable's are all correct. It just won't pull that info.......
I know this has to be something simple I'm overlooking, but I'll be buggered if I can figure it out.
-J
Got tired of banging my head against the wall over here, and came up with a nice little workaround. I put in a seperate edit box, and then simply added the two fields from the email and comment boxs into that, and posted the third box. Problem solved....
-J
Hi,
Can you upload your workaround? :$
I'm also using a mail form but it can only mail 1 form..
I want to use a form with name, e-mail and then the comment box...
Greetz
Attached is a movie file which will put several forms into one form, with one variable("all"), there's also an extra edit box with a line break in it to make things appear cleaner, as well as some labeling in the actions.....
Hi,Thanks for the file...Didn't know it was that easy (using the let function to get all variables into one)
Only one problem though...I'm trying to use your example in my form..But in the new version of 3DFA, where can i find the "let" property?? I can't find it under actions anymore..?
Greets
add element--> active element--> script.....
In the script put:
all="Text1="+t1+br+"Text2="+t2+br+"Text3="+t3
Ok that worked :) thnx
But you also have no idea how to send multiple forms in one email?
(now its only editing 1 form and sending 1 form)
Ok, everything works perfect now, except for the <br> tags...
When inserting them directly in the script I get an error and when creating an extra variable and insert <br> in it,then insert the variable in the script, it won't work...(no break in the form)
Also, the default text says "undefined" while I typed another text there..
To view my example: http://www.acs3-bmw.com/simplevariablesends.html
BTW, I can get it to work in 3DFA preview, by using:
all="text1="+t1+"<br>"+.... (formatting the "all" box as html)
but it won't work on export..
When using a br variable with <br> in the variable, it says undefined on export...
Oddly enough, if you type <br>,<br>, or <i> into one of the text boxes in IE, it renders that way, but I tried and had the same problem as you, it's ignoring the <br> on the initialized edit box...
-J
my_6th_sense: I tried it and it works quite right, both the action "let" and I even created another textbox "add2" and it worked too (by using script this time). Works in preview and Flash...
And if you dont want to use HTML in edit box then newline instead of "<br>" should work
Code:Let: all = "Text1=" + t1 + "<br>" + "Text2=" + t2 + "<br>" + "Text3=" + t3
and
script(HTML enabled in text/editbox):
all2 = "Text1=" + t1 + "<br>" + "Text2=" + t2 + "<br>" + "Text3=" + t3;
(plain text.. untested :) )
all2 = "Text1=" + t1 + newline + "Text2=" + t2 + newline + "Text3=" + t3;
Are you using the latest beta version or an older version?
I'm going to try it again, but I doubt if it'll work...
To zoranvedek: yes I also noticed that it's working while inserting the <br> tag manually in an edit box...Very weird....
I inserted my .movie file...
Check it out if you want to (made with the latest beta)
Still doesn't work on export..
I inserted the "extra" variable because the last variable seems never to be working...(so it is of no use, and invisible on the site)
Older, the latest nonbeta release (4.8.2 ?)Quote:
Originally Posted by my_6th_sense
I'll try it later with latest beta.
Anyone tried it??
still doesn't work the way I want ("undefined" is the standard text in the boxes)
At least someone is trying because I already recieved 6 mails from the mail form that is located at: http://www.acs3-bmw.com/simplevariablesends.html
The only thing I need is to get rid of the "undefined" messages
No undefined texts when I exported with latest beta... see attached image...