Increase the number of fields you can use in the Contact Form builder

By default, you can only add up to 9 fields to a contact form you create with Jetpack’s Contact Form feature. Once you reach that number, the link to add new fields disappears from the form builder.

You can use the grunion_max_new_fields filter to change that number, like so:

function jeherve_more_contact_fields() {
    return 20;
add_filter( 'grunion_max_new_fields', 'jeherve_more_contact_fields' );

This can be useful on sites where folks need to create advanced forms, with multiple options.

This entry was posted in Code snippets and tagged , , . Bookmark the permalink.

Unlimited Video Hosting

Jetpack Premium now provies unlimited use of our video CDN. Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.

Learn More