ActiveDen

Flash PHP Contact Form

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Turkey
  • Referred between 10 and 49 users
DesignForLife says

Hi Istanbul ;)

4 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Hi ~World ;)

4 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
puma3077 says

Hi Kaner

Im interested in get this form but I need to know if Im able to double the amount of field I need like around 14 please let me know Thanks

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Hi puma, You can upgrade the fields but it’s not XML Driven. But it’s not hard to copy and paste.

Here are steps which you will follow: 1. Create a text field and give an instance name. (Like Address_txt)

2. In actions layer ; define it’s path to a shortcut variable: var T_Address:TextField = Form_mc.Address_txt;

3. You can define a max length to your new text field like: T_Address.maxChars = 500;

4. You can set a tab stop for tab passing between text fields like: T_Address.tabIndex = 6;

5. Adn add the field to the loadVars object: Send_lv.Address = T_Address.text;

6. For PHP file you can add new variable like: $Address = Trim(stripslashes($_POST[‘Address ‘]));

7. And the last step is write it to your email message’s body: $Body .= “Address: ”; $Body .= $Address ;

Sorry for my English. These steps are not takes more than 2 mins. And by the way you can set if it’s a required field. It’s clean code. You can e-mail me for any questions. Thanks for your interest.

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
whiskerdisker says
Purchased

Hi there,

I purchased this form which looks great, but when I load it up and try it out, it only gives me 19 character maximum for the email address field? This is a problem as my own email address is longer than that so I’m sure a lot of others are too.

Any ideas?

Also, when I do use an email address that is short enough, I fill it all in and it says “You’re message could not send. Please try again”. Not sure about this either???

I have put the .php file in place and only changed the email address on it – nothing else.

Thanks in advance.

Graham.

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Hi whiskerdisker, Thanks for your interest. You can change fields max length in action script.

T_Email.maxChars = 20;

This code shows us that the email input’s max length will be 20 chars you can change it’s value as you wish.

If you get this PHP error, there could be some problems with your host. Please contact them and tell me about the result. I will carry on my support.

Good Luck

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
whiskerdisker says
Purchased

Ah, thanks Kaner!

By the way it’s working now. Not sure why it didn’t before.

One last question – in the email that you receive when the user has sent the message, how do I add a line break between the six fields? I just want them broken up a little so that they are more easily distinguished from each other.

Cheers, g.

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Hi again; The message supports html tags so you should break them like:

http://pastie.org/335465

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Ups… Sorry just a trial :)

$Body .= “FirstName: ”; $Body .= $FirstName; $Body .= ”\n”;

the ”\n” tag is specify a “new line” and you can use it like :

$Body .= “FirstName: ”; $Body .= $FirstName; $Body .= ”\n\n”;

and now we have 2 lines between Firstname and Lastname fields. Is it ok with this?

3 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
debina says
Purchased

Thank you! This works great!

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
amy_nicole says

Hi!

I’m looking to make my site bilingual (English and Spanish), so could I convert this form to be fully in both languages? I am going to have a separate page for each language, but as long as I could change the forms to name/nombre, send/mandar, (and any error messages could be in both), I would be happy.

I just want to make sure I would be able to do this before I purchase a product. Thank you!

Amy

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
  • Referred between 1 and 9 users
Kaner says
Author

Hi Amy, You can change the form fields and labels into any language. There is no break apart fonts in it. Just type it override.

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
smallangryboy says
Purchased

Form seemed to be working fine, but now even if you populate the message field [a required field] it comes up with the asterix validator and won’t send the form.

I’ve used it on my site here:

http://www.qbranch.co.uk/

Help appreciated.

3 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
fgnewmedia says
Purchased

How do you modify the php to send to more than one recipient? Thanks!

3 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
fgnewmedia says
Purchased

That’s okay, I figured it out…

$EmailTo = “recipient1Email” . ’, ’; // note the comma

$EmailTo .= “recipient2Email”;

3 years ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
luigimcbz says
Purchased

Hi, i have a question. I would like load this form as external.swf movie into my presentation. Form loaded but if I clik on send button the form wrote Your message couldn’t send… nothing more. Where is problem? Form is fully functional but if i form load as external SWF . Form don’t work. Thank you for reply.

2 months ago

by
by
by
by
by