contact form help

Hi guys! I need some help. I have done successfully a PHP contact form on my website but after testing it many times and got some problems I found that the PHP easiForm actions manual is not clear about setting values on PHP easiform element like the “your name”, or “your email”, for example.

One of the tests I did was sending an email with just a first name and it went through, but the worse case was sending an e mail with an incomplete email address like “yourname.com” or “yourname@” and it also went trough an I received it?!! My question is: How can I set a value in PHP easiform element order so people must to enter first and last name and also a complete email address?

Thanks in advance,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Marcus,

Firstly you cannot have a field name as “your name”, the tutorial
states that a space needs to be replaced with an underslash so you
could have “your_name”.

The email field needs to be named “email” and not “your email”.

To make any fields required you need to enter the field names in the
‘Required’ field of the easiForm action, so if you had two fields that
need to be required items and these where named “your_name” and
“email” then the required field in the easiForm action would need to
contain: “your_name,email” (without the ").

There is a basic online tutorial here:
http://www.easibase.com/freeway/freeway_form.php

Or you can download an in depth PDF about forms in Freeway and using
them with the easiForm actions from here:

HTH

On Dec 17, 2010, at 7:28 AM, Marcus Do Carmo wrote:

Hi guys! I need some help. I have done successfully a PHP contact
form on my website but after testing it many times and got some
problems I found that the PHP easiForm actions manual is not clear
about setting values on PHP easiform element like the “your name”,
or “your email”, for example.

One of the tests I did was sending an email with just a first name
and it went through, but the worse case was sending an e mail with
an incomplete email address like “yourname.com” or “yourname@” and
it also went trough an I received it?!! My question is: How can I
set a value in PHP easiform element order so people must to enter
first and last name and also a complete email address?

Thanks in advance,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Mike,

Thanks for your answer. However, I do have the required field the way you mention as “your_name” and “your_email”. I have just forgot to mention it. The problem is that I have read and revised both easiform manuals, the basic one and the depth and couldn’t find and explanation on how to set values for these…any ideas?

thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

So you are saying someone sent the message with the form set up and
the users email address was allowed through with an incomplete email?
if this is the case can you send me the FW site file so I can take a
look please. Just the FW site file, no resources or other files.

I am popping out now and will not be back until later so as soon as I
get back I will take a look at the file.

On Dec 17, 2010, at 8:19 AM, Marcus Do Carmo wrote:

Hi Mike,

Thanks for your answer. However, I do have the required field the
way you mention as “your_name” and “your_email”. I have just forgot
to mention it. The problem is that I have read and revised both
easiform manuals, the basic one and the depth and couldn’t find and
explanation on how to set values for these…any ideas?

thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Mike, you’re completely right. Even though I have “your_name”, the other required must be only “email” and I had as “your_email”. As soon as I changed that problem disappeared. I have just sent an e mail using the form with an incomplete email address and it was denied till I correct it. That’s good. Thanks. On the other hand I still have that question on how to make people enter both “first” and “last” name in order to send an email.

Ok. Do you need me to send you the actual FW file or just the URL? The URL is www.plusartgraphics.com

Please let me know

Thanks again!
Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

how can I send you the FW file in case you need it to look?
Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’m sending this through yousendit.

thanks again
Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can for example create two fields named: firstname, name or
first_name and surname, let us say you have used first_name

It is as simple as:

  1. Name one: first_name
  2. Name the second: surname
  3. In the required fields type: first_name,surname,email
  4. Reupload to server

HTH

On Dec 17, 2010, at 8:32 AM, Marcus Do Carmo wrote:

Mike, you’re completely right. Even though I have “your_name”, the
other required must be only “email” and I had as “your_email”. As
soon as I changed that problem disappeared. I have just sent an e
mail using the form with an incomplete email address and it was
denied till I correct it. That’s good. Thanks. On the other hand I
still have that question on how to make people enter both “first”
and “last” name in order to send an email.

Ok. Do you need me to send you the actual FW file or just the URL?
The URL is www.plusartgraphics.com

Please let me know

Thanks again!
Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just attach it to an email and sent it to the address you have for me
but if it is all working then I don’t need the file.

On Dec 17, 2010, at 8:35 AM, Marcus Do Carmo wrote:

how can I send you the FW file in case you need it to look?
Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Mike,
I sent the file through yousendit. Sorry. Its’ kind of a big file (97 MB) and couldn’t send it by email. But it is all working now

Thanks for the idea you gave me to include a new field for surname. Even though I’ve been working as a graphic designer for 30 years now, I’m really a newbie as web designer…

thanks
Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hey Mike,
a quick question:
Is there a way to set the success page to close automatically after a couple of seconds and go back to home page?
Thanks,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

What I did was to include a button with a hiperlink set to javascript to go back to contact form, but I don’t think this is fine. The best way would be this success page close and go back to main page.

Do you have any idea how can I do it?

Thanks again

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you want to do this you could by adding another action, put an
instance of the ‘Timed redirect’ action on the success page and set
the timer to 3 seconds.

HTH

On Dec 17, 2010, at 9:02 PM, Marcus Do Carmo wrote:

Hey Mike,
a quick question:
Is there a way to set the success page to close automatically after
a couple of seconds and go back to home page?
Thanks,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Standard practice is just to have your normal navigation options available on your Success page so that the visitor can choose where to go next.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Mike for your help again! That’s a good tip!

Hi Dave, thanks for the tip. Actually I have seen that option you say more frequently on websites than the timed redirect, but the thing is that a success page looks kind of empty and I though redirecting would be a better option. On the other hand you made think I should research more and may include something else on the success page besides the regular navigation with the links. Or the regular “Thank You! Your email was sent successfully” is fine?

regards,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is that a normal practice to add links to external pages I find useful and interesting, for example Softpress, some friend’s blogs, etc? Is is good or not?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Absolutely normal to have a ‘Links’ page with links to related sites.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options