Is it possible to have two separate and independent forms on the same page using the Send Form Action and be able to use them one at a time? I would like the user to be able to send only one of the forms.
Thanks
freewaytalk mailing list
email@hidden
Update your subscriptions at:
There was a time when the advice was to add the Send Form to a Page,
SendForm hasn’t been around as long as the PHP Feedback Form action and brought some improvements.
Both actions can be applied as Item or Page actions depending on what else is going on in the page.
The Multiple form action is often used when you have a Search field (or similar) on there as well.
Difficult to be specific without knowing more about your particular use case.
The problem with applying the action as a Page action is that it will wrap the whole Page in Form Tags - not what you want if there is more than one Form on the page. And remember there are lots of things out there like Search boxes, Buy Buttons etc. that are Form items.
Thanks for the help. I tried Dave’s suggestion and I must have done something incorrectly. Here’s what I get; after filing out one of the forms and hitting submit it asks me to complete the other form and after doing so and hitting submit for the second form it sends the second form, only.
Here’s what I get; after filing out one of the forms and hitting submit it asks me to complete the other form and after doing so and hitting submit for the second form it sends the second form, only.
I think because you have set all the fields as ‘required’ it is not differentiating between the 2 forms.
That depends on how you have applied the validation. If there are truly two forms on the page, and each of them is using HTML5 validation, then this should not happen. But if you have applied a form validation Action to the page, I can easily imagine it working this way. I don’t know if the Validation Action can be applied to sub-page forms at all.
Walter
On Feb 14, 2016, at 3:15 PM, DeltaDave email@hidden wrote:
Here’s what I get; after filing out one of the forms and hitting submit it asks me to complete the other form and after doing so and hitting submit for the second form it sends the second form, only.
I think because you have set all the fields as ‘required’ it is not differentiating between the 2 forms.