Using easiForm with Freeway

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:

PHP easiForm - A page action, apply 1 per form.

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

PHP easiForm Errors - 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

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

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

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

James, thanks for the implementation.

Cheers
Mike


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

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

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

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

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

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.

  1. 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.

  1. 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.

  2. 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

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

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

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

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

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

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

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

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

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

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