Error on form submission

jjspelman 08 Mar, 2018
On a rental application I created with CFV5, we are now getting an error when trying to submit the form. I added the ability to upload files, added the upload file to the setup and now we are getting this message:

Notice: Undefined index: mail in/home/aictampa/public_html/stressfreepropertymanagement.com/administrator/components/com_chronoforms5/chronoforms/actions/email/email.phpon line246

The form is here: https://stressfreepropertymanagement.com/rental-application

Please help asap as the client is not getting the completed applications to fill their vacancies.

I can provide admin if necessary.
GreyHead 09 Mar, 2018
HI jjspelman,

Do you have the latest release of CFv5 installed? I can see code that might give rise to this notice around line 229 but not at line 246.

That is a PHP Notice - not an error, does the form work correctly if you change the Site Error Reporting to System Default or None?

Bob
jjspelman 09 Mar, 2018
I turned error reporting off and the message goes away.

The form goes to the Thank you message, but still not getting uploads.

I tried adding "field1:jpg-png-gif-pdf-doc
field2:zip-rar" set up in the config for File Upload - but still not working.


This is the latest version of CFv5. 5.0.16
jjspelman 09 Mar, 2018
Answer
SOLVED - OK i corrected the issue. I was using "field1" as the name and not the actual name of the field.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger