Validate form again

I have form items that have been styled with the Form Element Style and I have then applied the validate action to them.

When I test it live, it sends without any validation error.

http://www.newyoubootcamp.com/contact-us.php

Anyone else having problems?


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

I think this might be the fact you have a couple of different forms on the page and not the Form Element Styler. The FES action just sets styles that are named as the form item ID while the Validate action runs through the forms items of the form… but as I say you have 3 forms on the page, not sure it is an issue but I wonder does the validate action know what form it is supposed to be checking.

HTH

On Jan 17, 2012, at 4:42 PM, BigG wrote:

I have form items that have been styled with the Form Element Style and I have then applied the validate action to them.

When I test it live, it sends without any validation error.

http://www.newyoubootcamp.com/contact-us.php

Anyone else having problems?


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

Very good point!

Hmmmm what to do!

Nathan Garner
Senior Designer

RLA
http://www.rla.co.uk
(Part of The Mission Group)

Sent from my iPhone

On 17 Jan 2012, at 19:47, “Mike B” email@hidden wrote:

I think this might be the fact you have a couple of different forms on the page and not the Form Element Styler. The FES action just sets styles that are named as the form item ID while the Validate action runs through the forms items of the form… but as I say you have 3 forms on the page, not sure it is an issue but I wonder does the validate action know what form it is supposed to be checking.

HTH

On Jan 17, 2012, at 4:42 PM, BigG wrote:

I have form items that have been styled with the Form Element Style and I have then applied the validate action to them.

When I test it live, it sends without any validation error.

http://www.newyoubootcamp.com/contact-us.php

Anyone else having problems?


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


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

Well if it where me I know what I would do but then that solution might not be what you are looking for as I would just hand code it in… On looking at the Contact page:

I wonder if it would not make better sense having the ‘Get in touch with our…’ and the contact form as one, does not make much sense to me to have these two different forms on the page when one would cover for both, if anything it might just make things a little confusing the way it is. Also the ‘Get in touch with our…’ form is on most of the other pages, does it make sence to even be on the contact us page when you have a form there to make contact?

The ‘Sign up to…’ form, this is on all the other pages as it is part of the footer, I wonder as I think you have hand coded this in would removing the ‘Get in touch with our…’ form on the Contact page actually end up in it’s self fixing the issue.

I don’t mean to sound critical, just looking for easy solutions for you that might also seem logical.

HTH

On Jan 17, 2012, at 9:31 PM, Nathan.Garner wrote:

Very good point!

Hmmmm what to do!

Nathan Garner
Senior Designer

RLA
http://www.rla.co.uk
(Part of The Mission Group)

Sent from my iPhone

On 17 Jan 2012, at 19:47, “Mike B” email@hidden wrote:

I think this might be the fact you have a couple of different forms on the page and not the Form Element Styler. The FES action just sets styles that are named as the form item ID while the Validate action runs through the forms items of the form… but as I say you have 3 forms on the page, not sure it is an issue but I wonder does the validate action know what form it is supposed to be checking.

HTH

On Jan 17, 2012, at 4:42 PM, BigG wrote:

I have form items that have been styled with the Form Element Style and I have then applied the validate action to them.

When I test it live, it sends without any validation error.

http://www.newyoubootcamp.com/contact-us.php

Anyone else having problems?


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


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

That doesn’t sound critical at all… Makes perfect sense - when you look st something every day sometimes you don’t see it clearly. I will remove those other forms as you’re right they’re not required and give it another go.

I have no problem hand coding it if there’s still an issue.

Thanks for having a look

Nathan


Sent from my iPhone

On 17 Jan 2012, at 21:14, “Mike B” email@hidden wrote:

Well if it where me I know what I would do but then that solution might not be what you are looking for as I would just hand code it in… On looking at the Contact page:

I wonder if it would not make better sense having the ‘Get in touch with our…’ and the contact form as one, does not make much sense to me to have these two different forms on the page when one would cover for both, if anything it might just make things a little confusing the way it is. Also the ‘Get in touch with our…’ form is on most of the other pages, does it make sence to even be on the contact us page when you have a form there to make contact?

The ‘Sign up to…’ form, this is on all the other pages as it is part of the footer, I wonder as I think you have hand coded this in would removing the ‘Get in touch with our…’ form on the Contact page actually end up in it’s self fixing the issue.

I don’t mean to sound critical, just looking for easy solutions for you that might also seem logical.

HTH

On Jan 17, 2012, at 9:31 PM, Nathan.Garner wrote:

Very good point!

Hmmmm what to do!

Nathan Garner
Senior Designer

RLA
http://www.rla.co.uk
(Part of The Mission Group)

Sent from my iPhone

On 17 Jan 2012, at 19:47, “Mike B” email@hidden wrote:

I think this might be the fact you have a couple of different forms on the page and not the Form Element Styler. The FES action just sets styles that are named as the form item ID while the Validate action runs through the forms items of the form… but as I say you have 3 forms on the page, not sure it is an issue but I wonder does the validate action know what form it is supposed to be checking.

HTH

On Jan 17, 2012, at 4:42 PM, BigG wrote:

I have form items that have been styled with the Form Element Style and I have then applied the validate action to them.

When I test it live, it sends without any validation error.

http://www.newyoubootcamp.com/contact-us.php

Anyone else having problems?


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


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


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

Removing the other forms on the contact page , so there’s only 1 didn’t work - the form still gets sent.

I can hand code it in, but why would it not work? It seems to work for others.

  1. Insert Text Field
  2. Apply the Form Element Styler to the item
  3. Apply the PHP feedback form to the table that the form elements reside in.
  4. Apply the Validate action to each relevant form item

I have even added the form extras action to the page, but the form still sends.

http://www.newyoubootcamp.com/contact-us.php

Nathan


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

Hi Nathan,
It looks like the Validate Action can’t find the form tag. I can see the validate function in the document head but nothing associated with the form itself. I suspect something is moving or removing the default form tag and the Action is unable to locate it in the page.
In the Validate Action look for the line;
form=tag.fwFindEnclosing(“form”);
and add the following line after it;
alert(form);

When you next publish you should see an alert that says ‘form’ or ‘null’ (if it can’t find the form).
Fixing the issue is another question! :slight_smile:
Regards,
Tim.

On 18 Jan 2012, at 08:54, BigG wrote:

  1. Insert Text Field
  2. Apply the Form Element Styler to the item
  3. Apply the PHP feedback form to the table that the form elements reside in.
  4. Apply the Validate action to each relevant form item

FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

First off, you have two different references to Prototype.js on the same page. One is to a previous version, 1.6.1, and the other is to the latest, 1.7.0. I suspect you have an old version of Protaculous added to the page, along with one or another of the in-built Freeway FX Actions. Download the latest version of Protaculous from ActionsForge, and follow the usual steps to replace it in this document.

Second, I can see no reference to the form validation script in this page at all. I know those functions, they are really really wordy and long, and they don’t appear to be here in the head of the page at all.

I suspect that the form element styler may be messing with the form elements at their text level rather than modifying their object references directly. What this means in English is that you cannot stack this Action along with another Action, because by the time that second Action comes along during the publish process, the input field is not there to be modified. Instead, it’s been replaced by the HTML text that will represent it to the browser. (That’s just a guess, I don’t use this Action and don’t have it here for dissection.)

Walter

On Jan 18, 2012, at 3:54 AM, BigG wrote:

Removing the other forms on the contact page , so there’s only 1 didn’t work - the form still gets sent.

I can hand code it in, but why would it not work? It seems to work for others.

  1. Insert Text Field
  2. Apply the Form Element Styler to the item
  3. Apply the PHP feedback form to the table that the form elements reside in.
  4. Apply the Validate action to each relevant form item

I have even added the form extras action to the page, but the form still sends.

http://www.newyoubootcamp.com/contact-us.php

Nathan


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

The Problem still exists. And it is NOT the form element styler.

On my form and on http://www.newyoubootcamp.com/contact-us.php. Not very good…

It starts as soon as one uses the php feedback form.


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

Hi Tom,
Can you post a link to your broken form please?

The New You site has several issues;

  1. As Walter previously mentioned on this thread there are two references to the p libraries. One should be removed.
  2. The page is throwing a number of JavaScript errors because of the use of iFrames on the page. See this thread for a run down of the issue and fix;
    http://freewaytalk.net/thread/view/110315
  3. Lastly the page doesn’t look like it contains any form validation code. If the Validate Action is applied then I suspect it is throwing an error and is failing to run.
    Regards,
    Tim.

On 31 May 2012, at 09:12, TomP wrote:

The Problem still exists. And it is NOT the form element styler.

On my form and on http://www.newyoubootcamp.com/contact-us.php. Not very good…

It starts as soon as one uses the php feedback form.


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

I’m not sure what happened there.

That line should read;

  1. As Walter previously mentioned on this thread there are two references to the ** prototype ** libraries. One should be removed.
    Regards,
    Tim.

On 31 May 2012, at 09:32, Tim Plumb wrote:

  1. As Walter previously mentioned on this thread there are two references to the p libraries. One should be removed.

FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

Also if you name your fields correctly (name, email - case sensitive) you will get the built in error checking of the -go.php file.

David


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

Tim thanks for the quick response. Here is the page.

http://www.werbedruck.ch/news.php

Valitade works, but as soon as I write an email adress in the field, and leave ALL other empty – it shoots out.


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

Just in case, You may try it, form comes to me not to the client :o)


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

Hi Tom,
I can see the Validate Action code in the page but it isn’t attached to the form itself (and therefore isn’t running) which makes me think the Action is having problems locating the elements on the page. I would suggest attaching the PHP Feedback Form Action to the page (rather than a parent item) and making all of the layered form items non-layered. Ideally place these into a table structure to hold the elements in place.
Regards,
Tim.

On 31 May 2012, at 09:52, TomP wrote:

Tim thanks for the quick response. Here is the page.

http://www.werbedruck.ch/news.php

Valitade works, but as soon as I write an email adress in the field, and leave ALL other empty – it shoots out.


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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

Tim, again, thank You!

  • The VE Action is attached to the page (and the fields)
  • As Dave said, the names (email etc) are controlled and ok.

Only Question: where do I set up an email field to “case sensitive”?


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

Click on the text field and select the 3rd tab in the Inspector palette (Item output settings). The name should be email (all lowercase).
Regards,
Tim.

On 31 May 2012, at 10:33, TomP wrote:

Only Question: where do I set up an email field to “case sensitive”?


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


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