I have an employment application set up with the PHP Feedback Form action applied to the page. It was working fine in during testing a couple weeks ago, but now it errors out due to a “Not in domain” error. The URL is https://nsasecurityforces.com/applicationform.html
I was wondering if there is anybody who might be willing to offer some advice on what I could do to go about fixing it? I really appreciate the help.
I adjusted the domain checking code back in version 2.3.8 to take secure servers into account. Previously the code would throw the ‘not in domain error’ if your form was stored on a secure (http) server.
Regards,
Tim.
On 26 Oct 2011, at 03:18, Lance wrote:
I have an employment application set up with the PHP Feedback Form action applied to the page. It was working fine in during testing a couple weeks ago, but now it errors out due to a “Not in domain” error. The URL is https://nsasecurityforces.com/applicationform.html
I was wondering if there is anybody who might be willing to offer some advice on what I could do to go about fixing it? I really appreciate the help.
Tim, thanks so much for your reply. Yes, I was testing from a sub directory of the same site, so it was secure. I tried downloading the action again from the link you sent, and it did indeed clear up the “not in domain” error!
Unfortunately, I am now only able to use the form when I enter a valid email address. If I enter no email address in the text field I’ve named “email”, then I get the “invalid email address” error. Under “Missing email address options” I tried setting the action up to send from the generic noreply@(domain), and also the specific email address of jobs @ nsasecurityforces.com.
What would be the result if I renamed the “email” text field to something different? The action still reverts to the “Missing email address options” settings right?
Hi Lance,
The Action only validates the email address if the field is called ‘email’. Call it something different and the code simply skips the validation and sends the email from a noreply@(yourdomain) address or the address you specify in the Action.
I hope this helps.
Regards,
Tim.
On 26 Oct 2011, at 15:26, Lance wrote:
What would be the result if I renamed the “email” text field to something different? The action still reverts to the “Missing email address options” settings right?
The action is now working fine as long as the user enters a valid email address. If there is no email address entered, then it gives a server error instead of using the noreply@ option that I selected in the Actions Palate.