{"id":36853,"date":"2023-02-28T14:48:39","date_gmt":"2023-02-28T14:48:39","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=36853"},"modified":"2024-12-13T11:28:31","modified_gmt":"2024-12-13T11:28:31","slug":"how-to-insert-update-cct-via-form","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/","title":{"rendered":"How to Insert and Edit Custom Content Type Items via Form"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"add-custom-content-type\">Add Custom Content Type<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Let\u2019s begin by creating a <strong>Custom Content Item<\/strong> (<strong>CCT<\/strong>). Head to <strong><em>WordPress Dashboard > JetEngine > Custom Content Types <\/em><\/strong>and press the \u201c<strong>Add New<\/strong>\u201d button. <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-create-custom-content-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Create a CCT<\/strong><\/a> with all the fields you need.\u00a0<\/p>\n\n\n\n<p>For instance, we create a \u201cSome Info\u201d <strong>CCT<\/strong> with three <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">meta fields<\/a>: \u201cName,\u201d \u201cAddress,\u201d and \u201cMessage.\u201d&nbsp;<\/p>\n\n\n\n<p>When the \u201c<strong>Add Content Type<\/strong>\u201d button is clicked, the <strong>Forms<\/strong> section will appear on the right panel with the \u201c<strong>Create new form<\/strong>\u201d button.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-1024x640.webp\" alt=\"Create custom content type\n\" class=\"wp-image-46024\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"generate-the-form\">Generate the Form<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>After clicking the \u201c<strong>Create new form<\/strong>\u201d button, the <em>JetFormBuilder<\/em> form will be created automatically with all the form fields corresponding to the <strong>CCT<\/strong>&#8216;s meta fields.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-1024x640.webp\" alt=\"JetFormBuilder CCT form\" class=\"wp-image-46025\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/form-cct.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"edit-cct-status-or-fields-mapping\">Edit CCT Status or Fields Mapping<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>If you open the <strong>JetForm<\/strong> tab on the right panel of the form editor, you will see that the \u201c<strong>Insert\/Update Custom Content Type Item<\/strong>\u201d <a href=\"https:\/\/jetformbuilder.com\/features\/post-submit-action-controls-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">post-submit action<\/a> has been added automatically, with the fields already mapped to the corresponding <strong>CCT<\/strong>\u2019s meta fields.\u00a0<\/p>\n\n\n\n<p>You can edit field mapping, <strong>CCT<\/strong> status, and the fallback values for the meta fields by hovering on the \u201c<strong>Insert\/Update Custom Content Type Item<\/strong>\u201d post-submit action and clicking on the \u201c<strong>pencil<\/strong>\u201d icon.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-1024x640.webp\" alt=\"edit post-submit action\n\" class=\"wp-image-46026\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/pencil.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The popup with all the settings will appear.&nbsp;<\/p>\n\n\n\n<p>Adjust them if needed and press the \u201c<strong>Update<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-1024x640.webp\" alt=\"CCT editor in form\n\" class=\"wp-image-46027\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/cct-mapping-edit.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>You can add more post-submit actions if needed by clicking on the \u201c<strong>+New Action<\/strong>\u201d button on the right panel of the form editor.&nbsp;<\/p>\n\n\n\n<p>Press the \u201c<strong>Save<\/strong>\u201d button to save the form.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"insert-the-form-into-website-pages\">Insert the Form Into Website Pages<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Go to <strong><em>WordPress Dashboard > Pages, <\/em><\/strong>press<strong> &#8220;Add New,&#8221; <\/strong>or use an existing page. There, add a form using the <a href=\"https:\/\/jetformbuilder.com\/features\/jetform-overview\/#jetform-widget-in-elementor\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JetForm<\/strong><\/a><strong> block\/widget\/element<\/strong> for <a href=\"https:\/\/jetformbuilder.com\/features\/jetform-overview\/#jetform-widget-in-elementor\">Elementor<\/a> or <a href=\"https:\/\/jetformbuilder.com\/features\/jetform-overview\/#jetform-element-in-bricks-builder\" target=\"_blank\" rel=\"noreferrer noopener\">Bricks<\/a>.\u00a0<\/p>\n\n\n\n<p>Select the form from the list in the <strong>Form Settings <\/strong>section. Then, add styling for the form fields, if required, by proceeding to the <strong>Styling <\/strong>tab.&nbsp;<\/p>\n\n\n\n<p>To save changes, click \u201c<strong>Publish<\/strong>.\u201d<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-1024x640.webp\" alt=\"Insert JetFormBuilder form\n\" class=\"wp-image-46028\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-form-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>If you use Block Editor, Divi, or other form builders except Elementor and Bricks, you can insert the form using a shortcode and use a free <a href=\"https:\/\/crocoblock.com\/plugins\/jetstylemanager\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetStyleManage<\/em><strong><em>r<\/em><\/strong><\/a> plugin for <a href=\"https:\/\/jetformbuilder.com\/features\/form-block-style-settings\/\" target=\"_blank\" rel=\"noreferrer noopener\">styling<\/a>.\u00a0<\/p>\n\n\n\n<p>Check the result on the front end, fill in the form fields, and click \u201c<strong>Submit<\/strong>.\u201d&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"409\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-1024x409.jpg\" alt=\"front-end form\n\" class=\"wp-image-46029\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-1024x409.jpg 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-300x120.jpg 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-768x307.jpg 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-1536x613.jpg 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test-600x239.jpg 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/front-test.jpg 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, proceed to the <strong><em>WordPress Dashboard &gt; Your CCT name,<\/em><\/strong> and you will see the new <strong>CCT <\/strong>item added with the fields filled in the form.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-1024x640.webp\" alt=\"CCT item front end\" class=\"wp-image-46031\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/result-cct.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"edit-update-existing-cct-items-via-frontend-form\">Edit \/ Update Existing CCT Items via Front-End Form<\/h2>\n\n\n\n<p>To update the existing <strong>CCT<\/strong> items via a front-end form, create a form with the same fields as the one for adding fields. The best way to do this is to <strong>duplicate<\/strong> the form to add fields, rename it, and change some settings.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"field-for-items-to-be-updated\">Field for items to be updated<\/h3>\n\n\n\n<p>First, set a <strong>Select Field<\/strong> to select a <strong>CCT<\/strong> item to be updated. This field should be generated dynamically following <a href=\"https:\/\/jetformbuilder.com\/features\/multi-optional-field-source-settings\/#generate-dynamically\">these instructions<\/a>.&nbsp;<\/p>\n\n\n\n<p>In short, you should create a custom query using the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\"><strong>Query Builder<\/strong><\/a>.<\/p>\n\n\n\n<p>Go to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder <\/em><\/strong>and press the \u201cAdd New\u201d button.<\/p>\n\n\n\n<p>Enter the <strong>Name<\/strong> and select the \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-cct-query-type\/\">Custom Content Type Query<\/a>\u201d <strong>Query Type<\/strong>.<br>In the <strong>Content Type Query <\/strong>section, select the name of your CCT whose items are to be updated from the <strong>From Content Type<\/strong> dropdown menu. Then, press the \u201c<strong>Add\/Update Query<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-1024x587.webp\" alt=\"Custom Query for CCT\n\" class=\"wp-image-46320\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-1024x587.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-300x172.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-768x440.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-1536x880.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-150x85.webp 150w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct-600x344.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-query-cct.webp 1823w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Go back to the form to update <strong>CCT<\/strong> and add the <a href=\"https:\/\/jetformbuilder.com\/features\/select-field\/\"><strong>Select Field<\/strong><\/a>. Choose \u201cGenerate Dynamically\u201d in the <strong>FILL OPTIONS FROM <\/strong>drop-down, then the \u201cGet values list from JetEngine Query\u201d option from <strong>GENERATOR FUNCTION<\/strong>.&nbsp;<\/p>\n\n\n\n<p>In the<strong> FIELD NAME<\/strong>, write the macro for the items to be displayed. This is a format for the macro:<\/p>\n\n\n\n<p>query ID|_ID|field to be displayed as a label<\/p>\n\n\n\n<ul>\n<li><strong>query ID<\/strong> \u2014 can be found at the end of the URL when editing the <strong>Query Builder<\/strong> query. Replace it with your value;&nbsp;<\/li>\n\n\n\n<li><strong>_ID<\/strong> \u2014 ID of the CCT item. Don\u2019t replace it with anything;&nbsp;<\/li>\n\n\n\n<li><strong>field to be displayed as a label<\/strong> \u2014 any field of your <strong>CCT<\/strong> item that you want to display as a label in your <strong>Select Field<\/strong>. Replace it with any field name you want from your <strong>CCT<\/strong> item.<\/li>\n<\/ul>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>14|_ID|name<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-1024x640.webp\" alt=\"custom query fields\" class=\"wp-image-46321\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/generate-dynam.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mapping-fields-in-insertupdate-cct-postsubmit-action\">Mapping fields in Insert\/Update CCT post-submit action<\/h3>\n\n\n\n<p>Go to <strong><em>JetForm &gt; Post-Submit Actions<\/em><\/strong> and choose the \u201cInsert\/Update Custom Content Type Item\u201d option. Click on the \u201c<strong>pencil<\/strong>\u201d icon and map all the fields.&nbsp;<\/p>\n\n\n\n<p>If you have duplicated the form for inserting <strong>CCT<\/strong>s, all the fields, except one, will be already mapped correctly.&nbsp;<\/p>\n\n\n\n<p>The goal now is to map the <strong>Select Field<\/strong>, which fetches the ID of the <strong>CCT<\/strong> to be edited, with the ID of the existing <strong>CCT<\/strong>.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-1024x640.webp\" alt=\"\" class=\"wp-image-46322\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/update-field.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Insert the form into the page with the <strong>JetForm<\/strong> block\/widget\/element and use it to update existing <strong>CCT<\/strong>s.&nbsp;<\/p>\n\n\n\n<p>That\u2019s it; now you know how to insert and edit <em>JetEngine <\/em><strong>Custom Content Types<\/strong> items from the WordPress front end.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have ever wondered how to create and edit CCT items via front-end form, don\u2019t hesitate to dive deep into this tutorial<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[322],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-13T11:28:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-1024x640.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/\",\"name\":\"How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-02-28T14:48:39+00:00\",\"dateModified\":\"2024-12-13T11:28:31+00:00\",\"description\":\"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Insert and Edit Custom Content Type Items via Form\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock","description":"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/","og_locale":"en_US","og_type":"article","og_title":"How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock","og_description":"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/","og_site_name":"Help Center","article_modified_time":"2024-12-13T11:28:31+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/CCT-create-form-1-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/","name":"How to Insert and Edit Custom Content Type Posts via Form \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-02-28T14:48:39+00:00","dateModified":"2024-12-13T11:28:31+00:00","description":"Follow this tutorial to learn more about how to create and update CCT items via the front-end WordPress form.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-insert-update-cct-via-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Insert and Edit Custom Content Type Items via Form"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/36853"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=36853"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=36853"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=36853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}