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