[Pro] PHP Feedback Form Recipients List + Validate

Best Tim and other Freeway specialists,

Subject: Php feedback form + PHP Feedback Form Recipients List + Validate

I have a form with Php feedback form and PHP Feedback Form Recipients List.
On a scroll menu are 30 place names (in choice) and 30 different email addresses (in value).
All this works as behind ’ select ’ (choice), also an email address (in value). In itself not a problem.

Only if I Validate on the scroll menu to apply than does not work because behind ’ select ’ in ’ value ’ an e-mail address.
Can I get the email address value, then does the PHP Feedback Form Recipients List. The message comes or not in the e-mailbox.

Has someone a solution?

Sincerely,
Peter Sanders

http://www.kippie.nl/bestelformulier.html

http://www.kippie.nl/bestelformulier.html


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

Just to be clear, are you referring to W3C validation of the HTML code in your page, or the Freeway Action for form validation? If the latter, which field (that is supposed to be failing validation) is actually passing by mistake?

Walter

On Oct 12, 2012, at 9:34 AM, Peter Sanders wrote:

Best Tim and other Freeway specialists,

Subject: Php feedback form + PHP Feedback Form Recipients List + Validate


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

Walter, can you also explain, because otherwise I do not understand…

Peter


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

What type of validation are you talking about?

There is a Freeway Action that you can attach to a form field and it uses JavaScript to “require” a particular type of input value for that field. This is separate from the PHP Feedback Form Action, and not required to be used in combination with it.

The PHP Feedback Form can also require certain form fields be filled in before the form may be submitted. These are signaled by naming them in a very particular manner (the names are exact, and case-sensitive – if you vary them at all, the validation will do nothing).

  1. E-mail: For an e-mail field to be validated (and this is the field where the visitor adds her e-mail address to the form), that field must be NAMED* email (just like that, all lower-case, precisely that spelling). If the field is properly named, then the value entered must pass a rigid set of tests to determine if it “appears” to be an e-mail address. (The handler does not actually try to look up the address and see if it is deliverable, but the address must meet the minimum requirements for a legal e-mail address.)
  2. Name: If you have a field named name, then something must be entered into it.
  3. Message: If you have a field named message, then something must be entered into it.

*The name attribute of a form field is not set using the Title field on the first tab of the Form Element Inspector, but rather on the third tab from the left (Output). If you let Freeway enter this for you, it will say something like item42 instead of email, and there’s the root cause of all issues with the PHPFF Action.

Finally, separate from the meaning of validation that refers to form inputs, there is the over-arching W3C HTML Validation meaning. The W3C (governing body of the World Wide Web) sets definitions for how HTML, XHTML, HTML5, XML, CSS, and myriad other technical text formats may be structured. When a particular type of document is in accordance with these standards, it is said to be “valid”, and the process of determining this is ALSO called “validation”.

(Much of the pain in my professional life comes from this rabid overloading of terms by our community. My wife complains bitterly when I refer to a “server” and don’t mean “the kindly guy at our neighborhood restaurant who brings us our plates”.)

Walter

On Oct 12, 2012, at 10:02 AM, Peter Sanders wrote:

Walter, can you also explain, because otherwise I do not understand…

Peter


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


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

I meant to say:

… and there’s the root cause of nearly all issues with the PHPFF Action. The remainder come from hosting at GoDaddy!

Walter

On Oct 12, 2012, at 10:25 AM, Walter Lee Davis wrote:

and there’s the root cause of all issues with the PHPFF Action.


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

Dear Walter,

I’m a little late with answers, because I had forgotten to click the notification via e-mail.
Your answer should I still study, because this kind of thing I always find very difficult.

You asked first; What type of validation are you talking about?.
My answer:

It comes to Validate Form Suite and then subject menu/list option.
In the inspect State now under ’ Choice ’ a name and an email address under ’ Value '. (Total 30 times).

Under the first ’ Choice ', the word ’ Kies '.
Under the first ’ Value ’ an email address (email@hidden).
So does Validate Form Suite but the message will not work.

I get the first email address away, then it works ’ PHP Feedback Form Recipients List ’ no more and Validate Form Suite works than though).

I hope it is understandable.

Sincerely,
Peter Sanders


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

Not sure that you can use that action on a recipient list - it is really designed to be used on a single empty email field.

Your form is a bit difficult to work out because it consists of a lot of individual items. It would be better set out in a table structure. If you increase the text size while viewing in your Browser your layout falls apart.

See http://www.deltadesign.co/formtest.html

David


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

David, The menu list now works fine, all 30 store owners get their order within, just a pity that just for this reason ‘Formulier valideren Suite’ this does not work.

And a form in a table structure might indeed be better.

Sincerely,
Peter sanders


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

I would just not try to validate this field. It’s always going to return a value – either the first value in the list, or some other value thereafter. I don’t have that Action here, so I can’t see if it can offer a “blank” option, I seem to think it cannot. Save validation for fields like empty text boxes, where you know they can be submitted empty, and don’t want them to be empty.

Walter

On Oct 13, 2012, at 9:27 AM, Peter Sanders wrote:

Dear Walter,

I’m a little late with answers, because I had forgotten to click the notification via e-mail.
Your answer should I still study, because this kind of thing I always find very difficult.

You asked first; What type of validation are you talking about?.
My answer:

It comes to Validate Form Suite and then subject menu/list option.
In the inspect State now under ’ Choice ’ a name and an email address under ’ Value '. (Total 30 times).

Under the first ’ Choice ', the word ’ Kies '.
Under the first ’ Value ’ an email address (email@hidden).
So does Validate Form Suite but the message will not work.

I get the first email address away, then it works ’ PHP Feedback Form Recipients List ’ no more and Validate Form Suite works than though).

I hope it is understandable.

Sincerely,
Peter Sanders


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


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

Walter, I also think that it can’t. I have many tests done and does not work.
Then my question now answered, unfortunately can’t.

Pity for the customer because an order can only come at the head office instead of at the shopkeeper.

I think I need to solve with design/color indication on the form.

Thanks for the effort.

Sincerely,
Peter Sanders


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

Pity for the customer because an order can only come at the head office instead of at the shopkeeper.

If you wanted to ensure that head office got an email as well as the particular shop then that may still be possible.

David


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

The whole point of the PHP Feedback Form Recipient Action is to allow you to do what you want. It does not work using JavaScript, so I don’t know how it would conflict with the Validate Action, but the other point here is that the select form element it generates will always return some value or another. If the user chooses a particular recipient, they will get the mail, assuming everything else in the form was completed correctly. The only way I can imagine this failing is if you get one or another of the addresses wrong in the Action interface. Otherwise, it’s pretty rock-solid.

Walter

On Oct 13, 2012, at 10:40 AM, Peter Sanders wrote:

Walter, I also think that it can’t. I have many tests done and does not work.
Then my question now answered, unfortunately can’t.

Pity for the customer because an order can only come at the head office instead of at the shopkeeper.

I think I need to solve with design/color indication on the form.

Thanks for the effort.

Sincerely,
Peter Sanders


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


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

Yes, this should be simple to do. In the Inspector for the picking list of addresses, simply edit the values of the options to read like this:

email@hidden,email@hidden
email@hidden,email@hidden

and so on. Leave the label side alone, so it looks like you’re mailing to only one address. The mail command in PHP takes as its first argument any legal “to” address, and if you go back far enough in the mists of time as I do, to the days of command-line mail, then you know that you send mail to a whole list of people by separating the addresses with commas.

Walter

On Oct 13, 2012, at 10:51 AM, DeltaDave wrote:

Pity for the customer because an order can only come at the head office instead of at the shopkeeper.

If you wanted to ensure that head office got an email as well as the particular shop then that may still be possible.

David


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


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

Monday I viewing and testing.

Peter


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

I would simply remove the validation from this field. The other Action you’ve applied to it (PHP Feedback Form Recipient) overrides many of the settings that the validation Action tries to check, so it’s not surprising that the two aren’t getting along.

But you really don’t need validation in this case. As long as none of the options in the picker are blank, you don’t need to check whether or not your visitor chose one of them – whatever is the top (or default) option will be submitted along with the rest of the form – whether the visitor touches that picker or not.

As I mentioned in my list message, you could do something like this:

Home Office -> email@hidden
Store 1 -> email@hidden, email@hidden
Store 2 -> email@hidden, email@hidden
Store 3 -> email@hidden, email@hidden
Store 4 -> email@hidden, email@hidden
Store 5 -> email@hidden, email@hidden
Store 6 -> email@hidden, email@hidden

That way, if they choose nothing, the home office gets the message, and if they choose one of the stores, both the store and the home office get the message. Does that make sense?

Walter

On Oct 13, 2012, at 9:27 AM, Peter Sanders wrote:

Dear Walter,

I’m a little late with answers, because I had forgotten to click the notification via e-mail.
Your answer should I still study, because this kind of thing I always find very difficult.

You asked first; What type of validation are you talking about?.
My answer:

It comes to Validate Form Suite and then subject menu/list option.
In the inspect State now under ’ Choice ’ a name and an email address under ’ Value '. (Total 30 times).

Under the first ’ Choice ', the word ’ Kies '.
Under the first ’ Value ’ an email address (email@hidden).
So does Validate Form Suite but the message will not work.

I get the first email address away, then it works ’ PHP Feedback Form Recipients List ’ no more and Validate Form Suite works than though).

I hope it is understandable.

Sincerely,
Peter Sanders


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


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

Dear Walter,

If I understand your explanation is equal to the current interpretation of the menu list.

In column ’ Choice ’ State: Store 1
In column ’ value ', email@hidden, email@hidden
Also now get the headquarters always an email message.
also if the customer forgets to click a city name.

But (if the customer forgets to click a city name) can not see headquarters for which shop the order is!?

Or is your explanation otherwise?

Peter


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

My suggestion is merely to route the message to someone at all times. If the human sending the message makes a mistake, make it easy for another human to recognize that and sort it out for them. You might make the default (top) option in the picking list deliberately read Home Office, so it’s clear that by default, the message will go there. I think I put that in one of my examples this weekend.

Walter

On Oct 15, 2012, at 9:40 AM, Peter Sanders wrote:

But (if the customer forgets to click a city name) can not see headquarters for which shop the order is!?

Or is your explanation otherwise?


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

Dear Walter,

Thank you for the effort, I’m going to complete the form this week, including all suggestions and opinions.

Sincerely,
Peter Sanders


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

Hi all,

I have been looking for this kind of solution for a while, but I am not sure if I have it set up exactly right.

I have the dropdown set-up in my form, and have applied different email addresses for each as below:
Choice: Accounts Value: email@hidden
Choice: Sales Value: email@hidden
etc, etc,

However, I can’t seem to get multiple email addresses to work in the recipient by separating with a comma in the Value field, and secondly, am I right in thinking that because I have the PHP Feedback Form applied to my table containing the fields, I still need to enter a master email recipient in the actual PHP Feedback Form palette, meaning two places get notification that the enquiry has been made - the first to match the drop-down menu choice, the second notifying an enquiry has been made.

Thanks in advance.


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

Just checking the action download of PHP Feedback Form Recipients, and when unzipped it has the date of 08 May 2012 but it states on actionsforge as being updated September 2012. Is the link downloading the latest action?


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