[Pro] PHP Feedback Form and Validate

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros


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

Have you applied the PHP Feedback Form Action to the form itself, or to the page? It works the same either way, as long as you only have one form on the page. What I think is happening here is the order of operations during publish. When you apply the PHP Feedback Form to a page element, it will remove the form element from the page and then create a new form wrapping whatever element you have applied it to. The Validate Action is trying to find that form at the same time, and is getting caught between the two events. See if applying PHPFF to the page makes any difference here.

Walter

On Sep 26, 2013, at 4:37 PM, José Barreiros wrote:

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros


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

On 26 Sep 2013, 8:50 pm, waltd wrote:

Have you applied the PHP Feedback Form Action to the form itself, or to the page? It works the same either way, as long as you only have one form on the page. What I think is happening here is the order of operations during publish. When you apply the PHP Feedback Form to a page element, it will remove the form element from the page and then create a new form wrapping whatever element you have applied it to. The Validate Action is trying to find that form at the same time, and is getting caught between the two events. See if applying PHPFF to the page makes any difference here.

Walter

On Sep 26, 2013, at 4:37 PM, José Barreiros wrote:

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros

Hi Walter,

Thank you for your answer.
I already have the PHPFF applied to the page as I said before.
I only have one form in the page, you can see it here:

Should I try to apply the PHPFF action to the form itself?

Thank you!

José Barreiros


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

That wouldn’t hurt to try. Remove it from the page, publish once, then apply it to the parent element of the form elements (usually a table).

Walter

On Sep 26, 2013, at 4:59 PM, José Barreiros wrote:

On 26 Sep 2013, 8:50 pm, waltd wrote:

Have you applied the PHP Feedback Form Action to the form itself, or to the page? It works the same either way, as long as you only have one form on the page. What I think is happening here is the order of operations during publish. When you apply the PHP Feedback Form to a page element, it will remove the form element from the page and then create a new form wrapping whatever element you have applied it to. The Validate Action is trying to find that form at the same time, and is getting caught between the two events. See if applying PHPFF to the page makes any difference here.

Walter

On Sep 26, 2013, at 4:37 PM, José Barreiros wrote:

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros

Hi Walter,

Thank you for your answer.
I already have the PHPFF applied to the page as I said before.
I only have one form in the page, you can see it here:

http://www.landroots.com/monte/EN/EQ/bookings.html

Should I try to apply the PHPFF action to the form itself?

Thank you!

José Barreiros


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

On 26 Sep 2013, 9:00 pm, waltd wrote:

That wouldn’t hurt to try. Remove it from the page, publish once, then apply it to the parent element of the form elements (usually a table).

Walter

On Sep 26, 2013, at 4:59 PM, José Barreiros wrote:

On 26 Sep 2013, 8:50 pm, waltd wrote:

Have you applied the PHP Feedback Form Action to the form itself, or to the page? It works the same either way, as long as you only have one form on the page. What I think is happening here is the order of operations during publish. When you apply the PHP Feedback Form to a page element, it will remove the form element from the page and then create a new form wrapping whatever element you have applied it to. The Validate Action is trying to find that form at the same time, and is getting caught between the two events. See if applying PHPFF to the page makes any difference here.

Walter

On Sep 26, 2013, at 4:37 PM, José Barreiros wrote:

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros

Hi Walter,

Thank you for your answer.
I already have the PHPFF applied to the page as I said before.
I only have one form in the page, you can see it here:

http://www.landroots.com/monte/EN/EQ/bookings.html

Should I try to apply the PHPFF action to the form itself?

Thank you!

José Barreiros

I still have the same error either way…
I already updated the Validate action, since I saw that it could be my problem, no luck again.

Any ideas?

José


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

Tim Plumb, who wrote both of those Actions (PHPFF – definitely, I think he wrote Validate while he worked at Softpress) would be better able to advise you. The issue seems to be one of the Actions not finding the parent form element when it tries to publish. Are you able to publish the page with the Validate Action off? Are you able to apply Validate if you don’t have the PHPFF on the page or form? Since you can’t get it to publish, it’s a bit of a game of chance to figure out how to fix it. There’s nothing for any of us to look at besides the screenshot of the error.

Walter

On Sep 26, 2013, at 5:07 PM, José Barreiros wrote:

On 26 Sep 2013, 9:00 pm, waltd wrote:

That wouldn’t hurt to try. Remove it from the page, publish once, then apply it to the parent element of the form elements (usually a table).

Walter

On Sep 26, 2013, at 4:59 PM, José Barreiros wrote:

On 26 Sep 2013, 8:50 pm, waltd wrote:

Have you applied the PHP Feedback Form Action to the form itself, or to the page? It works the same either way, as long as you only have one form on the page. What I think is happening here is the order of operations during publish. When you apply the PHP Feedback Form to a page element, it will remove the form element from the page and then create a new form wrapping whatever element you have applied it to. The Validate Action is trying to find that form at the same time, and is getting caught between the two events. See if applying PHPFF to the page makes any difference here.

Walter

On Sep 26, 2013, at 4:37 PM, José Barreiros wrote:

Hi all,

I’m trying to add more required fields to a form.
I need name and email (these two are working fine since the PHP Feedback Form action can handle them).
I also need another required fields, an address and phone field.

The problem:

I have all my “fields” inside a table, PHP Feedback Form action added to the page and validate action added to both fields, phone and address.

When I try to Publish I always get this error:

http://landroots.com/monte/Captura%20de%20ecrã%202013-09-26%2C%20às%2021.26.16.png

Already tryed a couple of things in order to solve it but no luck…

Can you please help me?
I have a deadline and I think my client is going to kill me :slight_smile:

José Barreiros

Hi Walter,

Thank you for your answer.
I already have the PHPFF applied to the page as I said before.
I only have one form in the page, you can see it here:

http://www.landroots.com/monte/EN/EQ/bookings.html

Should I try to apply the PHPFF action to the form itself?

Thank you!

José Barreiros

I still have the same error either way…
I already updated the Validate action, since I saw that it could be my problem, no luck again.

Any ideas?

José


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

On 26 Sep 2013, 9:10 pm, waltd wrote:

Tim Plumb, who wrote both of those Actions (PHPFF – definitely, I think he wrote Validate while he worked at Softpress) would be better able to advise you. The issue seems to be one of the Actions not finding the parent form element when it tries to publish. Are you able to publish the page with the Validate Action off? Are you able to apply Validate if you don’t have the PHPFF on the page or form? Since you can’t get it to publish, it’s a bit of a game of chance to figure out how to fix it. There’s nothing for any of us to look at besides the screenshot of the error.

Walter

I think the issue is the Validate action.

  • I CAN publish when I have ONLY the PHPFF action (either way, applied to the page or to the form itself). Validate Action off

  • I CAN´T publish if I have the Validate Action applied to any field, with or without the PHPFF action.

I don’t know if it helps : http://landroots.com/monte/4.png

José


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

SOLVED!

I uninstalled the Validate Action directly from Library> Application Support> Freeway Pro> Actions > General and then installed it again, with the required Publishes to erase/clean the document’s cache.
Don’t know why, it wasn’t installing the newer version correctly.

So, beside that, I was doing everything right!

Thank you Walter for your time!


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