setting up an order-page for coffees with the PHP Feedback Form, I would like to only have the ordered items show up in the following order-mail, not every time the whole product-list. There is a long list of coffee-products, and it would get kind of confusing for my client to overlook this whole list of items in every mail to see that there is only 1item ordered.
How could I approach this? Can someone point me in the right direction?
Hi Alex,
First off well done on a good looking site.
The PHP Feedback Form Action was initially intended a general purpose form processing tool that would quickly and easily process form data regardless of what your form looked like and what data it contained. Pretty soon the Action became more complex as I added options requested by other Freeway users. Although the Action needs cleaning up and reworking to make these options less daunting for the new user I’ve added in an option specifically to address your needs.
The ‘Ignore empty fields’ option, when checked, will ignore all data fields that don’t contain a value. If you’ve a large form with this option enabled the resulting email will only contain information filled out by the user and none of the empty fields.
setting up an order-page for coffees with the PHP Feedback Form, I would like to only have the ordered items show up in the following order-mail, not every time the whole product-list. There is a long list of coffee-products, and it would get kind of confusing for my client to overlook this whole list of items in every mail to see that there is only 1item ordered.
How could I approach this? Can someone point me in the right direction?
thank you - glad, you like it!
This is 5-star-premium-support!!! Thanks a million, it works fine and I think, my customer will be very happy!
Best
Alexandra
Am 10.01.2013 um 15:24 schrieb Tim Plumb:
Hi Alex,
First off well done on a good looking site.
The PHP Feedback Form Action was initially intended a general purpose form processing tool that would quickly and easily process form data regardless of what your form looked like and what data it contained. Pretty soon the Action became more complex as I added options requested by other Freeway users. Although the Action needs cleaning up and reworking to make these options less daunting for the new user I’ve added in an option specifically to address your needs.
The ‘Ignore empty fields’ option, when checked, will ignore all data fields that don’t contain a value. If you’ve a large form with this option enabled the resulting email will only contain information filled out by the user and none of the empty fields.
setting up an order-page for coffees with the PHP Feedback Form, I would like to only have the ordered items show up in the following order-mail, not every time the whole product-list. There is a long list of coffee-products, and it would get kind of confusing for my client to overlook this whole list of items in every mail to see that there is only 1item ordered.
How could I approach this? Can someone point me in the right direction?
One other thing you might consider here is checkboxes. If you use a checkbox to choose a product, all browsers will only send the checkboxes that are checked. All other checkboxes on the page will not be sent to the server at all. So if you construct your form like this:
[ ] Latte
[ ] Mocha
[ ] Espresso
[ ] Americano
Only the chosen beverage(s) would be sent to your server, and PHPFF would not have to get into the business of filtering details at all.
Walter
On Jan 10, 2013, at 9:24 AM, Tim Plumb wrote:
Hi Alex,
First off well done on a good looking site.
The PHP Feedback Form Action was initially intended a general purpose form processing tool that would quickly and easily process form data regardless of what your form looked like and what data it contained. Pretty soon the Action became more complex as I added options requested by other Freeway users. Although the Action needs cleaning up and reworking to make these options less daunting for the new user I’ve added in an option specifically to address your needs.
The ‘Ignore empty fields’ option, when checked, will ignore all data fields that don’t contain a value. If you’ve a large form with this option enabled the resulting email will only contain information filled out by the user and none of the empty fields.
setting up an order-page for coffees with the PHP Feedback Form, I would like to only have the ordered items show up in the following order-mail, not every time the whole product-list. There is a long list of coffee-products, and it would get kind of confusing for my client to overlook this whole list of items in every mail to see that there is only 1item ordered.
How could I approach this? Can someone point me in the right direction?
That’s very interesting - didn’t know that! I’ll keep it in mind for another project!
Thank you Walter -
Regards
Alexandra
Am 10.01.2013 um 18:28 schrieb Walter Lee Davis:
One other thing you might consider here is checkboxes. If you use a checkbox to choose a product, all browsers will only send the checkboxes that are checked. All other checkboxes on the page will not be sent to the server at all. So if you construct your form like this:
[ ] Latte
[ ] Mocha
[ ] Espresso
[ ] Americano
Only the chosen beverage(s) would be sent to your server, and PHPFF would not have to get into the business of filtering details at all.
Walter
On Jan 10, 2013, at 9:24 AM, Tim Plumb wrote:
Hi Alex,
First off well done on a good looking site.
The PHP Feedback Form Action was initially intended a general purpose form processing tool that would quickly and easily process form data regardless of what your form looked like and what data it contained. Pretty soon the Action became more complex as I added options requested by other Freeway users. Although the Action needs cleaning up and reworking to make these options less daunting for the new user I’ve added in an option specifically to address your needs.
The ‘Ignore empty fields’ option, when checked, will ignore all data fields that don’t contain a value. If you’ve a large form with this option enabled the resulting email will only contain information filled out by the user and none of the empty fields.
setting up an order-page for coffees with the PHP Feedback Form, I would like to only have the ordered items show up in the following order-mail, not every time the whole product-list. There is a long list of coffee-products, and it would get kind of confusing for my client to overlook this whole list of items in every mail to see that there is only 1item ordered.
How could I approach this? Can someone point me in the right direction?
I must admit I read the description on the action-page, but decided the follow-mail to appear in German words - thank you Dave, I tested it and it works well!
Alex
Am 10.01.2013 um 20:55 schrieb DeltaDave:
If you name your email input field in the 3rd Tab in the inspector as email (case sensitive) then the script will error check for validity.
And you wont get form submissions without email addresses in them.