EMAIL php field names

RobertC
6 Posts
RobertC posted this 28 June 2019
Ask a Question

I am trying to use my own PHP file to send emails from a contact form but the script is not receiving any of the input fields from the form in the $_POST array.
The script is being called successfully and the form method is set to POST but nothing is being seen by the script.

I am trying to use my own PHP file to send emails from a contact form but the script is not receiving any of the input fields from the form in the $_POST array. The script is being called successfully and the form method is set to POST but nothing is being seen by the script.
Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 01 July 2019

Hi Robert,

Please note that the names or classes of the field used in the script should match the names and classes of the fields used on the form.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Robert, Please note that the names or classes of the field used in the script should match the names and classes of the fields used on the form. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
RobertC
6 Posts
RobertC posted this 03 July 2019

Thank you for your reply.
I realise that the names must match (I have been writing PHP code for over 10 years) but there does not seem to be ANY '_POST' variables being sent by the nicepage form to the script. None at all.

Thank you for your reply. I realise that the names must match (I have been writing PHP code for over 10 years) but there does not seem to be ANY '_POST' variables being sent by the nicepage form to the script. None at all.
Support Team
Support Team posted this 09 July 2019

Hi Robert,

Sorry for the delay. HTML form itself does not send anything. Did you specify the path to your script as a value for the form action attribute? Are you sure that the path is valid?
Did you test this script with a simple html form? To be sure that it is working?

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Robert, Sorry for the delay. HTML form itself does not send anything. Did you specify the path to your script as a value for the form action attribute? Are you sure that the path is valid? Did you test this script with a simple html form? To be sure that it is working? ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
RobertC
6 Posts
RobertC posted this 14 September 2019

Thank you for your response and apologies for my delay in replying.
I understand that Nicepage doesn't send anything, it is the browser that does that based on the form definition ' method=post, action=something.php' but it still appears that the form is not being submitted when the 'send' button is pressed.

I have designed many forms and written my own (very large) apps using forms but can't figure out why this isn't working.

Thank you for your response and apologies for my delay in replying. I understand that Nicepage doesn't send anything, it is the browser that does that based on the form definition ' method=post, action=something.php' but it still appears that the form is not being submitted when the 'send' button is pressed. I have designed many forms and written my own (very large) apps using forms but can't figure out why this isn't working.
You must log in or register to leave comments