WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Grunion Contact Form] ignores custom shortcode (1 post)

  1. sempervirent
    Member
    Posted 3 years ago #

    This is a repost of the following, I think it actually belongs in this forum:
    http://wordpress.org/support/topic/grunion-ignores-my-extra-fields

    The topic title says it all. I set up a form that looks like this:

    [contact-form subject="Website Contact" to="xxxxxxxx@gmail.com"]
    [contact-field label="Name" type="name" required="true" /]
    [contact-field label="Email Address" type="email" required="true" /]
    [contact-field label="Phone Number" type="text" /]
    [contact-field label="School/Company/Organization" type="text" /]
    [contact-field label="Message" type="textarea" /]
    [contact-field label="I would use your product in:" type="radio" options="School District,Afterschool Program,Library Program,Museum or other Cultural Institution,Other" /]
    [/contact-form]

    All the form elements appear as expected on the page.

    But when I send the message, I only get the Name, Email, Website, and Message fields (the default set) in the email. A dead giveaway is that "Website" is not even included in the shortcode above but it shows up in the email that I receive.

    I found the "Website" stuff coded into 'grunion-contact-form.php', it is supposed to show up when no custom fields are specified. Someone the plugin is not correctly parsing/seeing the shortcode above, and instead it's generating the email as if the defaults had not been modified.

    Any ideas? I've deleted and reinstalled the plugin just to make sure it wasn't something I changed, but the problem persists.

Topic Closed

This topic has been closed to new replies.

About this Topic