Title: Gravity Forms   Custom Post Types without Title
Last modified: August 21, 2016

---

# Gravity Forms Custom Post Types without Title

 *  [wpoo](https://wordpress.org/support/users/wpoo/)
 * (@wpoo)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/gravity-forms-custom-post-types-without-title/)
 * Hey,
 * Thank you for this nice plugin. It’s working great!
    There’s only one question.
 * [http://wordpress.org/support/topic/plugin-gravity-forms-custom-post-types-post-title-and-conditional-custom-post-types](http://wordpress.org/support/topic/plugin-gravity-forms-custom-post-types-post-title-and-conditional-custom-post-types)
 * In the link above I already read that the plugin’s author says a title field 
   must be added in the GF form-editor in order to save the entries to a Custom 
   Post Type.
 * But I want to pre-set CPTs with a given title and only want users to be able 
   to edit the Body and not the title at all.
 * I use Gravity Forms and the two extensions **Custom Post Types **and **Update
   Post**
 * [http://wordpress.org/plugins/gravity-forms-update-post/](http://wordpress.org/plugins/gravity-forms-update-post/)
 * Already found this in **gfcptaddon_1-5.php** in **line 136 to line 153**.
 *     ```
       <li class="custom_post_type_field_setting field_setting" style="display:list-item;">
                           <input type="checkbox" id="field_enable_custom_post_type" />
                           <label for="field_enable_custom_post_type" class="inline">
                               <?php _e("Save As Post Type", "gravityforms"); ?>
                           </label>
                           <?php gform_tooltip("form_field_custom_post_type") ?><br />
                           <select id="field_populate_custom_post_type" onchange="SetFieldProperty('saveAsCPT', jQuery(this).val());" style="margin-top:10px; display:none;">
                               <option value="" style="color:#999;">Select a Post Type</option>
                           <?php
                           $args=array(
                             'public'   => true
                           );
                           $post_types = get_post_types($args, 'objects');
                           foreach($post_types as $post_type): ?>
                               <option value="<?php echo $post_type->name; ?>"><?php echo $post_type->label; ?></option>
                           <?php endforeach; ?>
                           </select>
                       </li>
       ```
   
 * How to Change the Position of the Checkbox to be outside of the title (post-field)?
 * [http://s.wordpress.org/plugins/gravity-forms-custom-post-types/screenshot-3.png?r=754726](http://s.wordpress.org/plugins/gravity-forms-custom-post-types/screenshot-3.png?r=754726)
 * Any suggestions? Thanks in advance.
 * [http://wordpress.org/plugins/gravity-forms-custom-post-types/](http://wordpress.org/plugins/gravity-forms-custom-post-types/)

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

 *  [Robbie_berns](https://wordpress.org/support/users/robbernsteinzgmailcom/)
 * (@robbernsteinzgmailcom)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/gravity-forms-custom-post-types-without-title/#post-4018304)
 * I would think that the simplest is to create the title field, pre-populate it
   with your default value, and make it hidden in CSS rules.
 * voila!
 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/gravity-forms-custom-post-types-without-title/#post-4018413)
 * Change “visibility” to “admin-only” — don’t use CSS.

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

The topic ‘Gravity Forms Custom Post Types without Title’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-custom-post-types/assets/icon-256x256.png?
   rev=2542252)
 * [Gravity Forms + Custom Post Types](https://wordpress.org/plugins/gravity-forms-custom-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-custom-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [no title](https://wordpress.org/support/topic-tag/no-title/)

 * 2 replies
 * 3 participants
 * Last reply from: [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/gravity-forms-custom-post-types-without-title/#post-4018413)
 * Status: not resolved