Textarea goes blank when submitting
-
I have been trying for the last several hours to figure out the issue here. When submitting the contact form from my site, the text field goes blank upon clicking the submit button. It goes blank for the end user and it’s also blank when I receive the submission email. Can not figure this out, can anyone please offer suggestion as to what the issue is? Thanks!
The page I need help with: [log in to see the link]
-
Sounds obvious but have you included the correct textarea mail-tag in the Mail section of the plugin admin?
Try reducing the form-tag name and corresponding mail=-tag to something with less characters e.g.
[textarea g205-textarea]
. Does this help?Try disabling all other plugins and activating a stock WordPress theme (e.g. Twenty-Seventeen). You can use the Health Check plugin to do this without affecting the front-end visitors.
Thanks, not sure what area you’re referring. You mean Plugins/Installed Plugins/Contact Form 7 / Settings?
Weird thing but yeah I’m sure it is something very obvious that I’m just not seeing because it was working previously and I can show the two versions of code NEW vs OLD below. I haven’t changed anything else except updating the plugin to the latest update:
OLD CODE THAT WORKED:
[contact-form to='*****@fluidcopy.com, *****@gmail.com' subject='Inquiry'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Phone (if you prefer)' type='text'/][contact-field label='Location' type='text'/][contact-field label='Company' type='url'/][contact-field label='Brief description of your needs' type='textarea' required='1'/][/contact-form]
NEW/CURRENT CODE THAT DELETES TEXT AREA:
<h4>Complete the form below and I’ll get back to you within 24 hours</h4>
Don’t like forms and prefer a simple email message instead? You can also reach Fluid Copy directly at [email protected].
[contact-form to="*****@fluidcopy.com" subject="Inquiry"][contact-field label="Name" type="name" required="1"][contact-field label="Email address" type="email" required="1"][contact-field label="Your location" type="text"][contact-field label="Company name" type="text"][contact-field label="Company website address" type="text"][contact-field label="Provide a brief description of the type of content or service you're seeking" type="textarea"][/contact-form]
I’m not familiar with using that type of syntax to code this plugin. This is an example of what the documentation describes:
Form: https://snag.gy/EQUihA.jpg
Mail: https://snag.gy/w59EfL.jpgThanks for the continued help. So my tabs for FORM and MAIL look like the following. Do these help to show what I’m still doing wrong? Much appreciated.
MAIL: https://snag.gy/zjSG5y.jpg
FORM: https://snag.gy/u650as.jpg
TEXTAREA: https://snag.gy/Yodnht.jpgI havent’changed any of these so don’t understand why there’s a sudden problem with it submitting the textarea field to me.
No problem. The only thing which looks odd there, and which might be causing this issue, is in the Mail >> From field. Try removing the square brackets surrounding Fluid Copy contact form, as the plugin may be confusing this for a form-tag that doesn’t exist.
No luck ?? Same issue.
If anything else comes to mind in the coming days or if anyone else spots anything, please let me know.
The thing to note is that I hadn’t changed any of those settings before and the form was working properly with the earlier code I posted previously. Coincidentally, I also had updated the Contact Form 7 plugin right around the same time as it stopped working, so I’m wondering if that’s anything to do with it :/ But if I revert back to that code, the textarea works fine. So something else is up here it seems and it must be something in the new code I’d guess ??
What about making all the fields required, including the textarea?
[text* your-subject]
[textarea* your-message]Nope, now I get this message, even after populating the field with text. Upon clicking submit, it then acts like I never added anything. Strangest thing :/
Made the change as you suggested under the Settings/Form tab too:
Hmm. The next step is to rule out a conflict, particularly as you mention
Coincidentally, I also had updated the Contact Form 7 plugin right around the same time as it stopped working, so I’m wondering if that’s anything to do with it
Try disabling all other plugins and activate a stock WordPress theme like Twenty Seventeen. You can use the Health Check plugin I mentioned above to do this without affecting the front end.
I’m a bit hesitant to try that Health Check plugin due to all the recent reviews saying it screwed up several sites on people.
I tried another workaround and created a whole new form, replaced the existing with it on the current fluidcopy.com/contact page and the same issue is happening.
Now 1 other thing I just noticed is that when I receive the email alert of the test inquiries, I can see that it’s being sent by my OLD hosting company using my old cpanel id. So the email I receive says it’s from “*********@server165.web-hosting.com” Earlier this year, I changed my email host to Microsoft Office 365, of which their support initiated all of the changes. I’m now wondering if something is screwed up there, although again if I revert to an earlier form, this issue doesn’t exist, however I also didn’t used to have the inquiry alerts emailed to me either. Could this be causing the issue in your opinion?
I’m a bit hesitant to try that Health Check plugin due to all the recent reviews saying it screwed up several sites on people.
Another option is to activate a maintenance mode plugin and run the test, or to set up a staging site on a subdomain.
Now 1 other thing I just noticed is that when I receive the email alert of the test inquiries, I can see that it’s being sent by my OLD hosting company using my old cpanel id. So the email I receive says it’s from “*********@server165.web-hosting.com. Earlier this year, I changed my email host to Microsoft Office 365, of which their support initiated all of the changes.”
When I moved server last year, I had to change the MX records from the old host to point to the new one, or some emails would continue to be send to the old host’s IP. I would chase this up with Office support as his shouldn’t be happening, although I don’t think it relates to your issue with the form textarea.
Hi,
I have same problem with my input email.
When I submit my form, and there is a validation error, input email is cleared and remplaced by input name value.
I’m trying to fix it for the last 3 days. Do you have any solution ?
Thank you very much
- The topic ‘Textarea goes blank when submitting’ is closed to new replies.