Title: jetpack forms
Last modified: August 30, 2016

---

# jetpack forms

 *  Resolved [barbarameli](https://wordpress.org/support/users/barbarameli/)
 * (@barbarameli)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/)
 * ¿I can add HTML code to a form field jetcpack?
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436022)
 * No, your HTML code will be stripped from the form builder.
 * Could you let me know what you’d like to achieve? There might be another way 
   to do what you want to do.
 * Thanks!
 *  Thread Starter [barbarameli](https://wordpress.org/support/users/barbarameli/)
 * (@barbarameli)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436023)
 * I would like to add a link to the field label check box
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436126)
 * You should be able to add that link thanks to the `grunion_contact_form_field_html`
   filter:
    [https://github.com/Automattic/jetpack/blob/3.6.1/modules/contact-form/grunion-contact-form.php#L1863](https://github.com/Automattic/jetpack/blob/3.6.1/modules/contact-form/grunion-contact-form.php#L1863)
 * Here is an example that should show you how to use the filter:
    [https://gist.github.com/pippercameron/6613780](https://gist.github.com/pippercameron/6613780)
 * I hope this helps.
 *  Thread Starter [barbarameli](https://wordpress.org/support/users/barbarameli/)
 * (@barbarameli)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436127)
 * this is very difficult for me. Thank you
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436128)
 * Let me try to give you an example.
 * In the screenshot below, I’ve added a link to my “Terms” page right before the
   checkbox:
    [http://i.wpne.ws/cFQQ](http://i.wpne.ws/cFQQ)
 * Here is the code I used:
 *     ```
       // Add a link to the checkbox label
       function jeherve_grunion_link_checkbox_label( $field_html, $field_label, $post_id ) {
       	// First, let's make sure we only customize the contact form on a specific page, using the page ID 1370
       	if ( ! is_page( '1370' ) ) {
       		return $field_html;
       	}
   
       	// Then, we'll make sure we only make changes to one label, named "Check the box to agree to the terms"
       	if ( 'Check the box to agree to the terms' == $field_label ) {
       		$field_html = '<a href="http://google.com">Do you agree to the terms and conditions?</a>' . $field_html;
       	}
   
       	return $field_html;
       }
       add_filter( 'grunion_contact_form_field_html', 'jeherve_grunion_link_checkbox_label', 10, 3 );
       ```
   
 * You can start from that code, and modify the page ID, the label name, and the
   link you’d like to use. Once you’ve done so, you can paste the code snippet in
   your theme’s functions.php file or in a [functionality plugin](https://wordpress.org/plugins/functionality/).
 * I hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘jetpack forms’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/jetpack-forms/#post-6436128)
 * Status: resolved