Plugin Directory


Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#1762 closed defect (duplicate)

Contact form: cannot insert a form using do_shortcode

Reported by: jeherve Owned by: tmoorewp
Priority: normal Severity: normal
Plugin: jetpack Keywords: contact-form grunion shortcode
Cc: jeherve, richard@…, llocally, ian.dunn@…


Steps to reproduce:

  1. Edit one of your theme's template files and add a Contact form with the do_shortcode function:

<?php echo do_shortcode( "[contact-form][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Website' type='url'/][contact-field label='Comment' type='textarea' required='1'/][/contact-form] " ); ?>

  1. Load a page using this template file: the contact form is displayed.
  2. Fill in the form, and submit it:
    • The form is not submitted properly.

Reported here:

Change History (5)

Note: See TracTickets for help on using tickets.