Tutorials

34 replies to this thread. Most Recent

Mike B

13 Sep 2007, 4:00 pm

Using easiForm with Freeway

Well at last I got round to it, I have created easiForm which is a form processing script for handling web forms. It probably doesn’t look easy as there is a lot of info but it actually is, in it’s most basic form you just need to add the e-mail address to the config file, name the form elements in your form as directed by easiForm then upload to the server. This will hopefully end a lot of confusion people have with forms, once you understand easiForms naming convention using more forms with it is a breeze. I find I can make working forms in minutes using it with Freeway.

easiForm is a script and a configuration file so you can customise your form configuration… easily. Basically all you need to do is name your form elements as directed in the easiForm README (Or Freeway tutorial examples), set your email address in the easiForm_config.php file and any other options you may like to set in the config file, upload the files and you have your form.

There are several examples shown which can be downloaded with all the files you need, in these examples you only need to set the email address and the forms will work on your server as long as you have PHP 4.2.0 or above.

easiForm offers quite a bit of spam protection in it’self but using it along with easiCaptcha or easiCaptchaM will give even better protection from any spam problems with your forms.

You can read more and download easiForm and or the example files here: http://easibase.com/freeway/freeway_form.php

easiScript is not free but can be used and will function in demo mode.

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

29 Dec 2007, 8:35 pm

I have just completed some Freeway actions for easiForm integration within Freeway. Using the ‘PHP easiForm’ suite of actions now means no coding at all to add the easiForm form processing scripts to your forms, simply add the actions as directed and name your form elements.

These actions take care of all the easiForm naming conventions, they create the scripts and form formatting while Freeway will upload the files to your server… thus making it a breeze to make forms using easiForm in Freeway. The action download includes a READ_ME file although I will add an online tutorial in a day or 2.

Example forms are available for download along with the actions from: http://easibase.com/freeway/freewayactions.php

The PHP easiForm action suite will install the following 3 actions:

[b]PHP easiForm[/b] - A page action, apply 1 per form.

[b]PHP easiForm Elements[/b] - An item action, apply 1 per element inc’ the Submit button.

[b]PHP easiForm Errors[/b] - An item action, apply 1 at top of the form elements.

‘PHP easiCaptcha’ action is now also available for adding a easiCaptcha ‘Math or Image’ to your ‘hand rolled’ or ‘easiForm’ forms.


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

DeltaDave

30 Dec 2007, 6:30 pm

Hi Mike

I have tried to install the Ioncube stuff on my server - which is hosted by James at Have-Host - with no success.

I asked James about this with the following answer:

IonCube is not installed on the server because it uses Zend Optimizer. I believe it is one or the other… though I will confirm this with my techs.

So I thought I would ask if you know the answer.

Thanks

David


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

quote

Glasgow, Scotland

iMac 27 Snow and Pro 5.6.3

Mike B

31 Dec 2007, 8:15 am

Hi Dave,

Normally ioncube and the Zend Optimizer can be used together, here is a snippit of text from the ioncube developers: We support the installing of Zend Optimizer along with our Loader in the php.ini file. Note that our Loader must be installed before Zend Optimizer in the php.ini file.

So generally in this case it is just a small text addition to the ini file if the server configuration is not set up to support runtime loading.

I contacted James about this yesterday and I will get back to you when I get his reply.

Cheers Mike


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

James Wilkinson

2 Jan 2008, 5:05 pm

I’m pleased to say that ION Cube (in addition to ZEND Optimizer) has now been installed, server-wide for all accounts throughout the system!

YAY!

Cheers! James


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

quote

Mike B

2 Jan 2008, 6:13 pm

James, thanks for the implementation.

Cheers Mike


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

DeltaDave

2 Jan 2008, 11:51 pm

I’ll second that

Every little bit that we can do to cut Spam is great and now that we have easicaptcha…

Thanks Mike

David


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

quote

Glasgow, Scotland

iMac 27 Snow and Pro 5.6.3

Mike B

21 Jan 2008, 1:23 am

The ‘PHP easiForm’ action suite has been updated to include options for sending a ‘Tell-a-friend’ form, a tutorial for this has been added at: http://www.easibase.com/freeway/freeway_tafform.php

This tutorial (As does the basic PHP easiForm’ tutorial) includes a section at the end for adding the ‘PHP easiCaptcha’ action with the Tell-a-friend form if required, although this action is not needed to use the Tell-a-friend or basic form options.

The Tell-a-friend option is available from v1.6 and above of the ‘PHP easiForm’ action.


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

21 Jan 2008, 1:44 am

Just a small correction to the last post, I stated:

The Tell-a-friend option is available from v1.6 and above of the ‘PHP easiForm’ action.

The action version is actually v1.2, that version of the ‘PHP easiForm’ action uses v1.6 of the easiForm scripts, so it should have read:

The ‘Tell-a-friend’ option is available from v1.2b and above of the ‘PHP easiForm’ action and is available from v1.6 onwards in the actual easiForm scripts.


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

20 May 2008, 7:10 pm

Various PHP easiForm action examples are available from here: http://easibase.com/Resources/easiForm_actions_examples_FW4.zip

This download also includes the PHP easiForm, PHP easiCaptcha and Form Element Styler actions along with a Freeway 4 Pro file of 5 form examples…

Form 1: easiForm.

Form 2: easiForm with easiCaptcha (Math version).

Form 3: easiForm with the Form Element Styler action used to style the text fields and text area.

Form 4: easiForm with easiCaptcha and the Form Element Styler action used to style the text fields and text area.

Form 5: easiForm set to advanced (This example does not use the ‘Form Element Styler’ action, but if you want to use it then you can add it to the fields yourself). This form is set to send a confirmation email with a random number as the subject for tracking purposes. This option has also the two strings of http and [url ‘http,[url’ entered as badwords so no emails containing these will be permitted.

These examples use various form elements. text fields, text area, menu, check boxes and radio buttons so if you need to use these elements with easiForm you can see how they might be used and how to enter values if the element requires a value. The only requirement that is needed on the part of the user is to set the ‘Required’ value in the easiForm action window, upload the ioncube folder by ftp to the home folder and upload the examples using Freeway.

The examples are shown without easiCaptcha, with easiCaptcha, without the Form Element Styler action and with the Form Element Styler action… except the easiForm advanced example which does not use the FES action. So if you are using easiForm to process your Freeway form and have not created a form before with easiForm then these examples could be useful.


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

3 Nov 2008, 11:15 pm

The PHP easiForm action has been updated to v1.4b: (using easiForm v1.82)

1) The form email can now be sent to up to 4 email addresses, the main ‘Recipient email’ and CC’d to up to 3 others if required. The ‘Advanced’ option needs to be selected in the action for this option to become available.

Simply add any other email addresses the form should be sent to in the ‘CC emails’ field, if there is more than one then separate them with a comma. Max of 3 emails permitted in the ‘CC emails’ field.

2) The action now allows a ‘I have read and agree…’ option using radio buttons, this was possible before but has now been made easier to incorporate, this can now return a custom user error specific to the selection not having been made.

Add two * Radio buttons * with the same name, called say ‘i_have_read_and_agree’, set the value for the one that uses the agree text to yes (or 1) and the value for the one that uses the do not agree text to no (or 0) then enter ‘i_have_read_and_agree’ (without quotes) to the ‘Agree names’ field in the action. The email will return ‘I have read and agree: Yes’ when selected and will not permit the form to be sent if not selected.

3) Only one license file is now needed if registering easiForm and easiCaptcha at the same time, the action will detect if the easiForm_license covers both actions or not.

4) A copy of the same license file can now be used with a sub domain of the registered domain, these no longer require a separate specific sub domain license file.


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

16 Mar 2009, 2:56 am

The PHP easiForm actions suite now includes 2 more actions, PHP easiForm Titles and PHP easiForm Echo Email.

I have created an extensive PDF tutorial document of how to implement all of these action suite with your Freeway form, the tutorial covers creating a form using the Basic settings in the PHP easiForm action and then moves on to the other two additional actions use within the same form, this consists of text and images of the whole process not only within Freeway but as it all looks on the server. There are also various other areas covered in this document such as how to send the form to different recipients relative to the selected form options by the form user etc.

I think this document will help any newcomers (and current easiForm users) to understanding more on how these actions can be used to make form creation in Freeway quick and easy. The document could probably be written better but it consists of 41 pages which I rushed out in 1 ‘long’ day! this covers and explains most aspects of this action suite and how to create the form using a (non-layered) table. This may also be of use for users of other form actions or who are creating forms without actions and do not understand the structure of how to create a form using a table, also covering form element naming for most form elements including Radio buttons which seem to have many users confused.

The pdf can be downloaded from:

http://easibase.com/Resources/PHP_easiForm_Action_suite.pdf

I hope this helps PHP easiForm action users… and even others creating forms in freeway to understand not only on how to use the action suite used in the document but to how to create a form using a table (Note: Firstly this is an easiForm specific document).

I created this in Word with an index for the whole document and then ‘Saved as PDF’ thinking the whole document linking would be held intact, sadly the URL links where the only ones that remained intact with the document links not serving any purpose, when I have a bit of time I will look at a way to try and create this as a pdf and keeping the internal document links alive, when I do I will update the document.

Mike


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Martin Bullivant

21 Jan 2010, 10:20 am

Hi everyone Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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

quote

twb716

21 Jan 2010, 1:43 pm

Martin,

Sorry to hear that you are having trouble. It’s hard to say what the problem is without seeing any code. I have switched from easiform to FormsToGo. It’s a much easier interface, and will import your php or html pages while giving you options for databases, copying the form’s sender, required fields, etc.

Good luck.

TB

On Thu, Jan 21, 2010 at 6:19 AM, Martin Bullivant <email@hidden> wrote:

Hi everyone Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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


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

quote

Looking for a Content Management System? Max Fancourt’s WebYep Action Suite is the best there is!

Martin Bullivant

21 Jan 2010, 1:56 pm

Hi Todd Thank you-I will check it out. If I don’t get anywhere I’ll post some code so people can have a look. Regards

Martin

On 21 Jan 2010, at 14:42, Todd Brown wrote:

Martin,

Sorry to hear that you are having trouble. It’s hard to say what the problem is without seeing any code. I have switched from easiform to FormsToGo. It’s a much easier interface, and will import your php or html pages while giving you options for databases, copying the form’s sender, required fields, etc.

Good luck.

TB

On Thu, Jan 21, 2010 at 6:19 AM, Martin Bullivant <> email@hidden> wrote:

Hi everyone Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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


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

Martin Bullivant Director


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

quote

twb716

21 Jan 2010, 2:05 pm

Be sure that you are using a file extension in your “action=xxxxx.php” line.

TB

On Thu, Jan 21, 2010 at 9:56 AM, Martin Bullivant <email@hidden> wrote:

Hi Todd Thank you-I will check it out. If I don’t get anywhere I’ll post some code so people can have a look. Regards

Martin

On 21 Jan 2010, at 14:42, Todd Brown wrote:

Martin, >

Sorry to hear that you are having trouble. It’s hard to say what the problem is without seeing any code. I have switched from easiform to FormsToGo. It’s a much easier interface, and will import your php or html pages while giving you options for databases, copying the form’s sender, required fields, etc.

Good luck.

TB

On Thu, Jan 21, 2010 at 6:19 AM, Martin Bullivant <>> email@hidden> wrote:

Hi everyone

Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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


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

Martin Bullivant Director


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


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

quote

Looking for a Content Management System? Max Fancourt’s WebYep Action Suite is the best there is!

Martin Bullivant

21 Jan 2010, 2:21 pm

Hi Todd-thanks Errr…. where’s that? Is that in the Freeway Action dialogue box for the page? Am I missing some hand coding somewhere? (I’m an artist and designer more than a coding programmer type… you can’t insult me with the obvious… ;)! Appreciate your help v much

Martin On 21 Jan 2010, at 15:05, Todd Brown wrote:

Be sure that you are using a file extension in your “action=xxxxx.php” line.

TB

On Thu, Jan 21, 2010 at 9:56 AM, Martin Bullivant <> email@hidden> wrote:

Hi Todd Thank you-I will check it out. If I don’t get anywhere I’ll post some code so people can have a look. Regards

Martin

On 21 Jan 2010, at 14:42, Todd Brown wrote:

Martin, >

Sorry to hear that you are having trouble. It’s hard to say what the problem is without seeing any code. I have switched from easiform to FormsToGo. It’s a much easier interface, and will import your php or html pages while giving you options for databases, copying the form’s sender, required fields, etc.

Good luck.

TB

On Thu, Jan 21, 2010 at 6:19 AM, Martin Bullivant <>>> email@hidden> wrote:

Hi everyone

Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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


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

Martin Bullivant Director


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


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

Martin Bullivant Director


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

quote

Martin Bullivant

21 Jan 2010, 2:41 pm

In case anyone can spot anything here’s a link to the page…I’m temporarily holding the prototype site on my own domain which has the license for the easiform action so it should work. The license is in the same directory as this contact form, IonCube loader is the the root directory. But the submit button doesn’t make anything happen, even thoiugh I think I’ve followed the process outlined in the easibase tutorial fully. This is the only thing stopping this site being launched as I really don’t want spambots getting hold of a charity’s email address.

http://www.gingergraphicdesign.com/vstemp/victim%20support/contact.php


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

quote

DeltaDave

21 Jan 2010, 3:13 pm

Unfortunately Martin because this is a PHP page we cannot see the code relating to easiForm.

I see that there is another form on the page - I don’t know if this causes a problem but maybe you should try it with only the easiform there - or a page with just the easiform and nothing else. Is there supposed to be a captcha visible as well?

David


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

quote

Glasgow, Scotland

iMac 27 Snow and Pro 5.6.3

Martin Bullivant

21 Jan 2010, 3:19 pm

Hi Thanks Dave Sorry about that. Part of my learning curve. The other form relates to a donate now button… I’ll try removing that-and no, no Captcha.

REgards

martin On 21 Jan 2010, at 16:13, DeltaDave wrote:

Unfortunately Martin because this is a PHP page we cannot see the code relating to easiForm.

I see that there is another form on the page - I don’t know if this causes a problem but maybe you should try it with only the easiform there - or a page with just the easiform and nothing else. Is there supposed to be a captcha visible as well?

David


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

Martin Bullivant Director


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

quote

David Owen

21 Jan 2010, 3:31 pm

There is no action to Post the form to the script.

<form action="url-to-my-script.php" method="post">

You would normally put this is the form set-up in Freeway. Or the action should do this for you. Why not contact Mike for Advice on how to do this with the script?

David

On 21 Jan 2010, at 15:41, Martin Bullivant wrote:

But the submit button doesn’t make anything happen


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

quote

www.ineedwebhosting.co.uk | Twitter Offers and Web Design News

Freeway Friendly web hosting and Domain Names. (Create an account it’s Free!)


PrintlineAdvertising.co.uk | The Printline Advertising Blog

Print Design, Digital and Litho Printers, Promotional Merchandise and Corporate Gifts.

Martin Bullivant

21 Jan 2010, 3:46 pm

David Thank you. I am sure that you are correct and that the fault is mine. However I am rather ‘at sea’ now as I see that the Freeway action includes the line in the Action Panel that reads thus: “Perform POST on PHP easiForm variables” which is the only reference to ‘post’ and there is no option I can find in any part of the action dialogue boxes in Freeway to allow me to do what you say… as you say, I would have thought this would happen along with the other things the action does. There is no mention of it in the tutorial that I can see.

Nor did I understand what Todd Brown advised me to do which was to “Be sure that you are using a file extension in your “action=xxxxx.php” line.” I can’t se anywhere where I am asked to do that, and I have looked inside the easiForm_config.php file to check in case I’m missing something.

I have created a simple no frills contact form which is now giving another error message thus: “Warning, your form is using a Freeway Action to include ‘easiForm’ but it appears the ‘easiForm_config.php’ script has not been uploaded to the form directory, you will need to upload the ‘easiForm_config.php’ file to correct this error. The trouble is the file is there on the server-right directory, everything.

I will contact Mike and ask if he can shed any light.

Thank you again for your help.

Martin

On 21 Jan 2010, at 16:30, David Owen wrote:

There is no action to Post the form to the script.

<form action="url-to-my-script.php" method="post">

You would normally put this is the form set-up in Freeway. Or the action should do this for you. Why not contact Mike for Advice on how to do this with the script?

David

On 21 Jan 2010, at 15:41, Martin Bullivant wrote:

But the submit button doesn’t make anything happen


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

Martin Bullivant Director


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

quote

Martin Bullivant

21 Jan 2010, 4:54 pm

This is just so baffling… I have created a new form, deleted the old one locally in my MAMP htdocs, on the remote server and as a page in Freeway. There are no required fields. I have been through the EasiForm_config.php line by line. I can find no errors. However when I try to press the submit button I get the following error:

Error! There is an error in the easiForm configuration: Error 003 - There appear to be ‘Required names’ set that do not match element names of your form. Check the ‘Required names’ value in the PHP easiForm actions window is set to match the required element name or names of your form, i.e. if you have a element names of ‘first_name’ and ‘company’ and you want these to be REQUIRED values then the ‘Required names’ field should be set as ‘first_name,company’ etc. (Without the quotes) The ‘Required names’ string of element names you have entered in this easiForm is:

email

To correct this error: You need to change the ‘Required names’ content in easiForm action window to match exactly the actual element names you have used in your form, the above element names currently do do not match those of your actual form.

I have not specified that field, I have checked that line 105 in the easiForm_config.php file reads as below

$CC = “”; // A list of the required form fields, entered as: “name,phone,message” etc.

This means that I have definitely specified NO fields, yet it tells me I have and that I have not matched them properly.

Tempting as the thought of conspiratorial AI living in my Mac might be, this isn’t the X Files and there must be a logical reason for this. At lines 345-46 of the easiForm_config.php file there are two lines that read

$FSTR[‘email’] = ‘Email’; // Text to replace [FIELD] in $FSTR[‘not_perm’] if there is an email error. $FSTR[‘email_match’] = ‘The [FIELD] fields do not match’; // Text used for a email confirm field error if used.

These appear to be optional error message conditions and I have no reason to believe they relate to this problem.

I don’t have time to build a new test stite from scratch tonight but that may be the next step. In the meantime I await a response from Mike B on the issue.

Thanks everyone for your help.


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

quote

twb716

21 Jan 2010, 6:13 pm

In Freeway, go to the page that contains your form. Then, go to Page-> Form Setup. In the resulting dialog box, in the Form section, choose POST from the Method drop down, and in the Action text box, type “submit.php” without the quotes. Hope this helps.

TB

On Thu, Jan 21, 2010 at 10:20 AM, Martin Bullivant <email@hidden> wrote:

Hi Todd-thanks Errr…. where’s that? Is that in the Freeway Action dialogue box for the page? Am I missing some hand coding somewhere? (I’m an artist and designer more than a coding programmer type… you can’t insult me with the obvious… ;)! Appreciate your help v much

Martin

On 21 Jan 2010, at 15:05, Todd Brown wrote:

Be sure that you are using a file extension in your “action=xxxxx.php”

line.

TB

On Thu, Jan 21, 2010 at 9:56 AM, Martin Bullivant <>> email@hidden> wrote:

Hi Todd

Thank you-I will check it out. If I don’t get anywhere I’ll post some code so people can have a look. Regards

Martin

On 21 Jan 2010, at 14:42, Todd Brown wrote:

Martin,

Sorry to hear that you are having trouble. It’s hard to say what the problem is without seeing any code. I have switched from easiform to FormsToGo. It’s a much easier interface, and will import your php or html pages while giving you options for databases, copying the form’s sender, required fields, etc.

Good luck.

TB

On Thu, Jan 21, 2010 at 6:19 AM, Martin Bullivant <>>>> email@hidden> wrote:

Hi everyone

Been a while since a post was put here..! I have a problem and didn’t want to start a new thread. Basically I have done everything I think I should using FreeWay 5 Pro, easiform actions and ioncube is loaded to the testing MAMP server and also to my remote host. I have a nice looking php form page, I have followed al the instructions, the php config file has the correct email address, the diagnostics that ship with Ioncube tell me all is working… except when I click on the submit button, absolutely nothing happens…. no success page, no error page, mo message sent… nothing. I have trawled the documentation, tried everything I can think of. I am baffled. I’ve got it to work before but that was 6 months ago… all pages are suffixed as php, the page action is applied… looks textbook to me… I can supply the URL to anyone who wants a look (yes php is enabled on my remote server with RedFox Hosting)


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


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

Martin Bullivant Director


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


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

Martin Bullivant Director


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


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

quote

Looking for a Content Management System? Max Fancourt’s WebYep Action Suite is the best there is!

DeltaDave

21 Jan 2010, 7:15 pm

OK Martin here is a typical action setup for easiform

Easiform

You do NOT need to do Page>Form setup - this is handled by the action.

I think one of the critical things is the submit button

<input type=submit name="submit" value="Send">

So look in the inspector when you have the Submit button selected

Make sure it has a value of Send with the type=submit. Name is not critical.

David


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

quote

Glasgow, Scotland

iMac 27 Snow and Pro 5.6.3

Martin Bullivant

21 Jan 2010, 7:35 pm

Dave Thank you-I’m VERY appreciative of the help people are offering.

Regards

Martin On 21 Jan 2010, at 20:15, DeltaDave wrote:

OK Martin here is a typical action setup for easiform

Easiform

You do NOT need to do Page>Form setup - this is handled by the action.

I think one of the critical things is the submit button

<input type=submit name="submit" value="Send">

So look in the inspector when you have the Submit button selected

Make sure it has a value of Send with the type=submit. Name is not critical.

David


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

Martin Bullivant Director


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

quote

DeltaDave

21 Jan 2010, 7:43 pm

If you want to put the form back up when you are ready I can have another look.

D


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

quote

Glasgow, Scotland

iMac 27 Snow and Pro 5.6.3

Martin Bullivant

21 Jan 2010, 8:08 pm

Thats great dave thank you be in touch tomorrow much appreciated ;)

On 21 Jan 2010, at 08:42 PM, “DeltaDave” <email@hidden> wrote:

If you want to put the form back up when you are ready I can have another look.

D


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


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

quote

Mike B

21 Jan 2010, 9:15 pm

Hi David,

Sorry I haven’t answered any of your post to date, went out early today and have just got back.

Would be great to see a URL of your form to see where you are going wrong, it is actually all very easy to do but there are a couple of * must do’s * that need to be followed:

1) The submit button needs an instance of the PHP easiForm Elements action attached, the action will give it the ‘Name’ and the ‘Vale’ will be set to it’s default but as Dave mentioned ypu can use ‘Send’, ‘Submit’ or whatever.

2) When the PHP easiForm Element action is attached to a form element other than the ‘Submit’ button then you should enter a ‘Name’ (Don’t mistake Value for Name as many do) for each element, that ‘Name’ you enter must not have a space and must not start with a digit, so: if you wanted to use ‘first name’ as a field name then use ‘first_name’, or ‘8ball’ use ‘ball8’ or ‘ball_8’.

3) Currently you need to have a field called ‘email’, this would be the field the sender would enter their email address into, I am sure I can give you a work round on that but I really do think anyone using a contact form should give the user a field for their email address. This is why you are getting the ‘reguired fields’ error, because easiForm expects a field of that name.

4) No need to do anything with the ‘form action’ as the easiForm action will take care of that.

There is an ‘in depth’ PDF of how to create forms in FW pro with easiForm on the easibase web site, it really is good to download this, it is a long document but it covers every aspect of a form with the easiForm actions… and more as it shows you ‘what I see’ as the easy way to layout your form, such as in a table. It also explains the way different form elements work, many thing they all basically work the same way… but they don’t, some of them work very differently than people expect.

The PDF is on this page: http://www.easibase.com/freeway/freewayactions.php

The actions are very easy to use, very easy… but you need to read the instructions to know how to use them. Most of the issues come from simple mistakes that are explained in the instructions and the PDF document… and I am here or at the easibase email to answer any questions you have… albeit at the end of the day possibly but if you post a URL of the form or send me * just * the FW site file then I will have a look at it and I am sure we can sort it all out very quickly.

Mike

On Jan 21, 2010, at 5:45 PM, Martin Bullivant wrote:

David Thank you. I am sure that you are correct and that the fault is mine. However I am rather ‘at sea’ now as I see that the Freeway action includes the line in the Action Panel that reads thus: “Perform POST on PHP easiForm variables” which is the only reference to ‘post’ and there is no option I can find in any part of the action dialogue boxes in Freeway to allow me to do what you say… as you say, I would have thought this would happen along with the other things the action does. There is no mention of it in the tutorial that I can see.

Nor did I understand what Todd Brown advised me to do which was to “Be sure that you are using a file extension in your “action=xxxxx.php” line.” I can’t se anywhere where I am asked to do that, and I have looked inside the easiForm_config.php file to check in case I’m missing something.

I have created a simple no frills contact form which is now giving another error message thus: “Warning, your form is using a Freeway Action to include ‘easiForm’ but it appears the ‘easiForm_config.php’ script has not been uploaded to the form directory, you will need to upload the ‘easiForm_config.php’ file to correct this error. The trouble is the file is there on the server-right directory, everything.

I will contact Mike and ask if he can shed any light.

Thank you again for your help.

Martin

On 21 Jan 2010, at 16:30, David Owen wrote:

There is no action to Post the form to the script.

<form action="url-to-my-script.php" method="post">

You would normally put this is the form set-up in Freeway. Or the action should do this for you. Why not contact Mike for Advice on how to do this with the script?

David

On 21 Jan 2010, at 15:41, Martin Bullivant wrote:

But the submit button doesn’t make anything happen


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

Martin Bullivant Director


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


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Martin Bullivant

22 Jan 2010, 10:05 am

Hi Mike Many thanks… I will try to take your points in order: I have traced the cause of the form failure but not the reason why Freeway does not seem to be building the page properly. In short I have traced that the following form code is missing from the non-functioning page: <form action=”mail.php” method=”post”> ……. </form> (with of course the email form html between the tags.) I have manually entered this and uploaded to the remote server and all is working.

I have a zipped up copy of the Freeway file but even zipped it is still 2.9 mb though so I have held off sending it until you say you are OK receiving an attachment that size.

Look forward to hearing from you

Martin Bullivant

On 21 Jan 2010, at 22:15, Mike B wrote:

Hi David,

Sorry I haven’t answered any of your post to date, went out early today and have just got back.

Would be great to see a URL of your form to see where you are going wrong, it is actually all very easy to do but there are a couple of * must do’s * that need to be followed:

1) The submit button needs an instance of the PHP easiForm Elements action attached, the action will give it the ‘Name’ and the ‘Vale’ will be set to it’s default but as Dave mentioned ypu can use ‘Send’, ‘Submit’ or whatever.

2) When the PHP easiForm Element action is attached to a form element other than the ‘Submit’ button then you should enter a ‘Name’ (Don’t mistake Value for Name as many do) for each element, that ‘Name’ you enter must not have a space and must not start with a digit, so: if you wanted to use ‘first name’ as a field name then use ‘first_name’, or ‘8ball’ use ‘ball8’ or ‘ball_8’.

3) Currently you need to have a field called ‘email’, this would be the field the sender would enter their email address into, I am sure I can give you a work round on that but I really do think anyone using a contact form should give the user a field for their email address. This is why you are getting the ‘reguired fields’ error, because easiForm expects a field of that name.

4) No need to do anything with the ‘form action’ as the easiForm action will take care of that.

There is an ‘in depth’ PDF of how to create forms in FW pro with easiForm on the easibase web site, it really is good to download this, it is a long document but it covers every aspect of a form with the easiForm actions… and more as it shows you ‘what I see’ as the easy way to layout your form, such as in a table. It also explains the way different form elements work, many thing they all basically work the same way… but they don’t, some of them work very differently than people expect.

The PDF is on this page: http://www.easibase.com/freeway/freewayactions.php

The actions are very easy to use, very easy… but you need to read the instructions to know how to use them. Most of the issues come from simple mistakes that are explained in the instructions and the PDF document… and I am here or at the easibase email to answer any questions you have… albeit at the end of the day possibly but if you post a URL of the form or send me * just * the FW site file then I will have a look at it and I am sure we can sort it all out very quickly.

Mike

On Jan 21, 2010, at 5:45 PM, Martin Bullivant wrote:

David Thank you. I am sure that you are correct and that the fault is mine. However I am rather ‘at sea’ now as I see that the Freeway action includes the line in the Action Panel that reads thus: “Perform POST on PHP easiForm variables” which is the only reference to ‘post’ and there is no option I can find in any part of the action dialogue boxes in Freeway to allow me to do what you say… as you say, I would have thought this would happen along with the other things the action does. There is no mention of it in the tutorial that I can see.

Nor did I understand what Todd Brown advised me to do which was to “Be sure that you are using a file extension in your “action=xxxxx.php” line.” I can’t se anywhere where I am asked to do that, and I have looked inside the easiForm_config.php file to check in case I’m missing something.

I have created a simple no frills contact form which is now giving another error message thus: “Warning, your form is using a Freeway Action to include ‘easiForm’ but it appears the ‘easiForm_config.php’ script has not been uploaded to the form directory, you will need to upload the ‘easiForm_config.php’ file to correct this error. The trouble is the file is there on the server-right directory, everything.

I will contact Mike and ask if he can shed any light.

Thank you again for your help.

Martin

On 21 Jan 2010, at 16:30, David Owen wrote:

There is no action to Post the form to the script.

<form action="url-to-my-script.php" method="post">

You would normally put this is the form set-up in Freeway. Or the action should do this for you. Why not contact Mike for Advice on how to do this with the script?

David

On 21 Jan 2010, at 15:41, Martin Bullivant wrote:

But the submit button doesn’t make anything happen


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

Martin Bullivant Director


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


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

Martin Bullivant Director


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

quote

Mike B

22 Jan 2010, 10:18 am

Send away…

it seems strange what you are saying but then now that I think of it maybe not, if I remember correctly there was/is a problem where Freeway will not publish the form tag on a ‘page with layers created a certain way I think!’ anyway… under very few circumstances when using an action that creates the form tag code such as easiForm (I need to try and dig into my brain on that but I do remember a bug in FW 5 there).

I am not saying this is the problem but send the file and I will have a look… I am going out soon so I might not get back to you on this for several hours.

Mike

On Jan 22, 2010, at 12:05 PM, Martin Bullivant wrote:

Hi Mike Many thanks… I will try to take your points in order: I have traced the cause of the form failure but not the reason why Freeway does not seem to be building the page properly. In short I have traced that the following form code is missing from the non-functioning page: <form action=”mail.php” method=”post”> ……. </form> (with of course the email form html between the tags.) I have manually entered this and uploaded to the remote server and all is working.

I have a zipped up copy of the Freeway file but even zipped it is still 2.9 mb though so I have held off sending it until you say you are OK receiving an attachment that size.

Look forward to hearing from you

Martin Bullivant

On 21 Jan 2010, at 22:15, Mike B wrote:

Hi David,

Sorry I haven’t answered any of your post to date, went out early today and have just got back.

Would be great to see a URL of your form to see where you are going wrong, it is actually all very easy to do but there are a couple of * must do’s * that need to be followed:

1) The submit button needs an instance of the PHP easiForm Elements action attached, the action will give it the ‘Name’ and the ‘Vale’ will be set to it’s default but as Dave mentioned ypu can use ‘Send’, ‘Submit’ or whatever.

2) When the PHP easiForm Element action is attached to a form element other than the ‘Submit’ button then you should enter a ‘Name’ (Don’t mistake Value for Name as many do) for each element, that ‘Name’ you enter must not have a space and must not start with a digit, so: if you wanted to use ‘first name’ as a field name then use ‘first_name’, or ‘8ball’ use ‘ball8’ or ‘ball_8’.

3) Currently you need to have a field called ‘email’, this would be the field the sender would enter their email address into, I am sure I can give you a work round on that but I really do think anyone using a contact form should give the user a field for their email address. This is why you are getting the ‘reguired fields’ error, because easiForm expects a field of that name.

4) No need to do anything with the ‘form action’ as the easiForm action will take care of that.

There is an ‘in depth’ PDF of how to create forms in FW pro with easiForm on the easibase web site, it really is good to download this, it is a long document but it covers every aspect of a form with the easiForm actions… and more as it shows you ‘what I see’ as the easy way to layout your form, such as in a table. It also explains the way different form elements work, many thing they all basically work the same way… but they don’t, some of them work very differently than people expect.

The PDF is on this page: http://www.easibase.com/freeway/freewayactions.php

The actions are very easy to use, very easy… but you need to read the instructions to know how to use them. Most of the issues come from simple mistakes that are explained in the instructions and the PDF document… and I am here or at the easibase email to answer any questions you have… albeit at the end of the day possibly but if you post a URL of the form or send me * just * the FW site file then I will have a look at it and I am sure we can sort it all out very quickly.

Mike

On Jan 21, 2010, at 5:45 PM, Martin Bullivant wrote:

David Thank you. I am sure that you are correct and that the fault is mine. However I am rather ‘at sea’ now as I see that the Freeway action includes the line in the Action Panel that reads thus: “Perform POST on PHP easiForm variables” which is the only reference to ‘post’ and there is no option I can find in any part of the action dialogue boxes in Freeway to allow me to do what you say… as you say, I would have thought this would happen along with the other things the action does. There is no mention of it in the tutorial that I can see.

Nor did I understand what Todd Brown advised me to do which was to “Be sure that you are using a file extension in your “action=xxxxx.php” line.” I can’t se anywhere where I am asked to do that, and I have looked inside the easiForm_config.php file to check in case I’m missing something.

I have created a simple no frills contact form which is now giving another error message thus: “Warning, your form is using a Freeway Action to include ‘easiForm’ but it appears the ‘easiForm_config.php’ script has not been uploaded to the form directory, you will need to upload the ‘easiForm_config.php’ file to correct this error. The trouble is the file is there on the server-right directory, everything.

I will contact Mike and ask if he can shed any light.

Thank you again for your help.

Martin

On 21 Jan 2010, at 16:30, David Owen wrote:

There is no action to Post the form to the script.

<form action="url-to-my-script.php" method="post">

You would normally put this is the form set-up in Freeway. Or the action should do this for you. Why not contact Mike for Advice on how to do this with the script?

David

On 21 Jan 2010, at 15:41, Martin Bullivant wrote:

But the submit button doesn’t make anything happen


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

Martin Bullivant Director


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


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

Martin Bullivant Director


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


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Mike B

22 Jan 2010, 8:37 pm

Martin,

have you this sorted or have you just not had a chance to send the file?

Mike


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Martin Bullivant

22 Jan 2010, 9:53 pm

Hi Mike No I sent the file some hours ago but I gather from your message you have not had it…. I think there is a limit to file sizes that the Freeway Talk address will accept-that may be why it has not arrived, do you have a direct email I can use? (I won’t give it to anyone else- I’m red hot on that kind of thing)

Apologies but I did send you the file-appreciate any help you can offer.

Best answer I can give is that I can sort this issue with manual coding but I have not resolved the Freeway issue which would be best.

Regards & thanks again

martin On 22 Jan 2010, at 21:37, Mike B wrote:

Martin,

have you this sorted or have you just not had a chance to send the file?

Mike


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


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

quote

Mike B

22 Jan 2010, 9:59 pm

Martin,

You cannot send or attach file to the Freeway Talk list, you will see my email address in the ‘From’ of the email that I posted to the list (unless you are viewing this on the web, in which case if you click my user name info you will see my email address), in fact I will just send my easibase address to you at your actual email.

Mike

On Jan 22, 2010, at 11:53 PM, Martin Bullivant wrote:

Hi Mike No I sent the file some hours ago but I gather from your message you have not had it…. I think there is a limit to file sizes that the Freeway Talk address will accept-that may be why it has not arrived, do you have a direct email I can use? (I won’t give it to anyone else-I’m red hot on that kind of thing)

Apologies but I did send you the file-appreciate any help you can offer.

Best answer I can give is that I can sort this issue with manual coding but I have not resolved the Freeway issue which would be best.

Regards & thanks again

martin On 22 Jan 2010, at 21:37, Mike B wrote:

Martin,

have you this sorted or have you just not had a chance to send the file?

Mike


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


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


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com

Back to Top

Mike B

23 Jan 2010, 10:27 am

Hi Martin,

Firstly on the test form you created:

1) Place your cursor into the html box that the PHP easiForm Errors action is applied to and type a space.

When using layers Freeway sets a style of 1px to certain sections of the html when it thinks they have no text, this is what is happening here so typing a space will fool FW into thinking there is text there and so when the user makes an error they will be able to see what the error text is rather than a couple of little black specks.

It is also useful to set a text style to the item the ‘PHP easiForm Errors’ action is applied to so the text matches that of any other on the page.

OK, so that is the test form you have on your site sorted.

The main form:

1) This form has no PHP easiForm action applied to it! select the page and apply that action to it and fill in the ‘Recipient’ address and add email to the ‘Required’ field in the action inspector.

I suspect you probably had the action applied but removed it between trying to sort the problem but without it there will be no form tag code written to the file.

2) There is a bug in Freeway (Still) where when using a layered site where your form is nested in another layer: the form tag and code does not get set when using an action to do that, so to get around this you should place a text field on the past board above the web site, do not attach any action to this field. In your case that field needs to be a layered item.

When you do this FW will let then set the form tag and corresponding code and your easiForm will work.

3) You have no PHP easiForm Errors action on the form, you do * not need * to use this action but it will alert any of the form users to a required field they have not filled in, so if you add a row at the top of the form table, join the two cells together then add an instance of the PHP easiForm Errors action to that cell then you and your users will get any form errors or alerts. Typing a space in the cell and adding a style to it will also style the error text to the same as your style.

Be aware as you are using layers that the items below the row the PHP easiForm Errors action it attached to will need to be high enough to allow for any dynamic text that the PHP easiForm Errors action puts out. As you are working with layers the items below will not adjust and the text will overlap, so making sure you have a little room for the text will prevent that from happening.

I have altered the site file you sent to be, removed all the irrelevant pages and made the corrections I mention above, I will send that to your email address in case you want to look at it.

You can see a working version of your form at: http://www.easibase.com/test/contact.php

I will remove this later today unless you advise otherwise.

Let me know how you get on.

Mike

On Jan 22, 2010, at 12:05 PM, Martin Bullivant wrote:

Hi Mike Many thanks… I will try to take your points in order: I have traced the cause of the form failure but not the reason why Freeway does not seem to be building the page properly. In short I have traced that the following form code is missing from the non-functioning page: <form action=”mail.php” method=”post”> ……. </form> (with of course the email form html between the tags.) I have manually entered this and uploaded to the remote server and all is working.

I have a zipped up copy of the Freeway file but even zipped it is still 2.9 mb though so I have held off sending it until you say you are OK receiving an attachment that size.

Look forward to hearing from you

Martin Bullivant


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

quote

Freeway, PHP and MySQL examples

http://www.easibase.com