• Resolved hirogrrl

    (@hirogrrl)


    Hi. I just updated the Brilliant Web-to-Lead plug-in yesterday and our form is no longer working correctly. For a “required” textarea field, I am getting an error saying the “This field is required.”, when in fact I did fill in that specific field. After I filled out that field and returns with the specific error, the content that I put in the textarea field disappeared. It only pertains to a field where it is a “textarea.” Also, the correct textarea is not displaying. The plugin CSS says: .
    salesforce_w2l_lead .w2linput.textarea {
    width: 100%;
    height: 6em;
    margin: .75em 0;
    }

    On our form it only shows one row now. Which I think 6em should be about .75” and I know it used to show it about that size before. So not sure why it’s not displaying it as such any longer.

    I also did a test where I took off the “required” field and the form submits, but the Textarea content is not sent. It’s just gone. Any reason why?

    Here is a link to our form: https://www.mymediabox.com/contact-us/
    You can send yourself a copy of the form submitted and see that there will not be anything for the “Message” field.
    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Hmmm, that’s odd.

    Oh, I see the issue…

    message is a field used by the antispam honeypot in the plugin.

    You named your field message – the built-in “message” field at Salesforce is description.

    There is no message field so it’d never make it to Salesforce anyways.

    If you created a custom field called “Message”, the API name would be message__c.

    Thread Starter hirogrrl

    (@hirogrrl)

    Ok, let me change it. Thank you!

    Thread Starter hirogrrl

    (@hirogrrl)

    It worked! Thank you!!

    One last question, when the “Send me a copy” is checked the email that is generated is coming from an email address that we do not want it to come from via the hosting company. Is there any way to change the email address, so it is coming from our site?

    Plugin Author Nick Ciske

    (@nickciske)

    Plugin Author Nick Ciske

    (@nickciske)

    Or… there are some filters to override the defaults:

    salesforce_w2l_cc_user_from_name

    Change from name (user confirmation)

    salesforce_w2l_cc_user_from_email

    Change from email (user confirmation)

    salesforce_w2l_cc_admin_from_name

    Change from name (admin notification)

    salesforce_w2l_cc_admin_from_email

    Change from email (admin notification)

    Thread Starter hirogrrl

    (@hirogrrl)

    Thank you for the override codes, but I am unsure what needs to be done and where. If I use the plugin above, Is there any way to do this by not having to send via SMTP from the site? or is that the only way? Thanks again!

    Plugin Author Nick Ciske

    (@nickciske)

    The plugin defers to WordPress when sending mail, unless you override it using a filter.

    There is presently not a UI for these settings in the plugin as it assumes you’ve correctly configured WordPress to send mail from your server.

    In reality you should be using SMTP or an transactional email provider like mailgun, sendgrid, etc to send mail. Using “sendmail” (the default on most servers) results in very poor deliverability.

    Plugin Author Nick Ciske

    (@nickciske)

    If you insist on using sendmail…

    https://www.ads-software.com/plugins/wp-mailfrom-ii/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Textarea field is getting this error now: This field is required.’ is closed to new replies.