{"id":61512,"date":"2016-10-08T15:27:44","date_gmt":"2016-10-08T15:27:44","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=61512"},"modified":"2024-03-04T05:07:33","modified_gmt":"2024-03-04T05:07:33","slug":"add-html-content-using-uicomponent-form","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/","title":{"rendered":"How to add html content using uicomponent form"},"content":{"rendered":"\n<p>How to add html content using uicomponent form &#8211; As we all know that in magento2 we can create a form using magento uicomponent, but if you want to add some html content in your form using magento uicomponent then the solution is here. Using this post you will know how can add a html content inside a fieldset in magento admin form.<\/p>\n\n\n\n<p>In this example I am creating a banner form &#8220;grid_banner_form&#8221; in module &#8220;Webkul_Grid&#8221; .<\/p>\n\n\n\n<p>Here I am following some steps-<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create a custom module:<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Name of the module is defined as&nbsp;<code class=\"language-plaintext highlighter-rouge\">VendorName_ModuleName<\/code>. First part is name of the vendor and last part is name of the module: For example:&nbsp;<code class=\"language-plaintext highlighter-rouge\">Magento_HelloWorld<\/code>,&nbsp;<code class=\"language-plaintext highlighter-rouge\">Webkul_Grid<\/code>. Focus on following guide to create the folders:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-create-etcmodulexml-file\">&nbsp;2: Create etc\/module.xml file.<\/h4>\n\n\n\n<p>Then, it is necessary to create etc folder and add the\u00a0<code class=\"language-plaintext highlighter-rouge\">module.xml<\/code>\u00a0file app\/code\/Webkul\/Grid\/etc\/module.xml<\/p>\n\n\n\n<p><strong>Contents would be:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Module\/etc\/module.xsd&quot;&gt;\n    &lt;module name=&quot;Webkul_Grid&quot;&gt;\n    &lt;\/module&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-create-etcregistrationphp-file\">&nbsp;3: Create etc\/registration.php file<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\\Magento\\Framework\\Component\\ComponentRegistrar::register(\n    \\Magento\\Framework\\Component\\ComponentRegistrar::MODULE,\n    &#039;Webkul_Grid&#039;,\n    __DIR__\n);<\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Define your uicomponent form in your module xml path &#8211; \/app\/code\/Webkul\/Grid\/view\/adminhtml\/layout\/grid_banner_form.xml &nbsp;&#8211;<\/li>\n<\/ol>\n\n\n\n<p>In this layout file you will declare your&nbsp; uiComponent using the &lt;uiComponent&gt; tag.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;page xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; layout=&quot;admin-2columns-left&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd&quot;&gt;\n    &lt;head&gt;\n        &lt;link src=&quot;Webkul_Grid::js\/bootstrap\/banner-post-action.js&quot;\/&gt;\n    &lt;\/head&gt;\n    &lt;body&gt;\n        &lt;referenceContainer name=&quot;content&quot;&gt;\n            &lt;uiComponent name=&quot;grid_banner_form&quot;\/&gt;\n        &lt;\/referenceContainer&gt;\n    &lt;\/body&gt;\n&lt;\/page&gt;<\/pre>\n\n\n\n<p>Now create uicomponent form xml path &#8211; \/app\/code\/Webkul\/Grid\/view\/adminhtml\/ui_component\/grid_banner_form.xml \u00a0&#8211;<\/p>\n\n\n\n<p>Create your uiComponent in the grid_banner_form.xml with dataSource<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;form xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:module:Magento_Ui:etc\/ui_configuration.xsd&quot;&gt;\n    &lt;argument name=&quot;data&quot; xsi:type=&quot;array&quot;&gt;\n        &lt;item name=&quot;js_config&quot; xsi:type=&quot;array&quot;&gt;\n            &lt;item name=&quot;provider&quot; xsi:type=&quot;string&quot;&gt;grid_banner_form.grid_banner_form_data_source&lt;\/item&gt;\n            &lt;item name=&quot;deps&quot; xsi:type=&quot;string&quot;&gt;grid_banner_form.grid_banner_form_data_source&lt;\/item&gt;\n        &lt;\/item&gt;\n        &lt;item name=&quot;label&quot; xsi:type=&quot;string&quot; translate=&quot;true&quot;&gt;Grid Banner Information&lt;\/item&gt;\n        &lt;item name=&quot;layout&quot; xsi:type=&quot;array&quot;&gt;\n            &lt;item name=&quot;type&quot; xsi:type=&quot;string&quot;&gt;tabs&lt;\/item&gt;\n            &lt;item name=&quot;navContainerName&quot; xsi:type=&quot;string&quot;&gt;left&lt;\/item&gt;\n        &lt;\/item&gt;\n        &lt;item name=&quot;buttons&quot; xsi:type=&quot;array&quot;&gt;\n            &lt;item name=&quot;back&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\BackButton&lt;\/item&gt;\n            &lt;item name=&quot;delete&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\Banner\\DeleteButton&lt;\/item&gt;\n            &lt;item name=&quot;reset&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\ResetButton&lt;\/item&gt;\n            &lt;item name=&quot;save&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\Banner\\SaveButton&lt;\/item&gt;\n            &lt;item name=&quot;save_and_continue&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\SaveAndContinueButton&lt;\/item&gt;\n        &lt;\/item&gt;\n    &lt;\/argument&gt;\n    &lt;dataSource name=&quot;grid_banner_form_data_source&quot;&gt;\n        &lt;argument name=&quot;dataProvider&quot; xsi:type=&quot;configurableObject&quot;&gt;\n            &lt;argument name=&quot;class&quot; xsi:type=&quot;string&quot;&gt;Webkul\\Grid\\Model\\Banner\\DataProvider&lt;\/argument&gt;\n            &lt;argument name=&quot;name&quot; xsi:type=&quot;string&quot;&gt;grid_banner_form_data_source&lt;\/argument&gt;\n            &lt;argument name=&quot;primaryFieldName&quot; xsi:type=&quot;string&quot;&gt;id&lt;\/argument&gt;\n            &lt;argument name=&quot;requestFieldName&quot; xsi:type=&quot;string&quot;&gt;id&lt;\/argument&gt;\n            &lt;argument name=&quot;data&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;config&quot; xsi:type=&quot;array&quot;&gt;\n                    &lt;item name=&quot;submit_url&quot; xsi:type=&quot;url&quot; path=&quot;grid\/banner\/save&quot;\/&gt;\n                &lt;\/item&gt;\n            &lt;\/argument&gt;\n        &lt;\/argument&gt;\n        &lt;argument name=&quot;data&quot; xsi:type=&quot;array&quot;&gt;\n            &lt;item name=&quot;js_config&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;component&quot; xsi:type=&quot;string&quot;&gt;Magento_Ui\/js\/form\/provider&lt;\/item&gt;\n            &lt;\/item&gt;\n        &lt;\/argument&gt;\n    &lt;\/dataSource&gt;\n    &lt;fieldset name=&quot;grid_banner&quot;&gt;\n        &lt;argument name=&quot;data&quot; xsi:type=&quot;array&quot;&gt;\n            &lt;item name=&quot;config&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;label&quot; xsi:type=&quot;string&quot; translate=&quot;true&quot;&gt;Grid Banner Information&lt;\/item&gt;\n            &lt;\/item&gt;\n        &lt;\/argument&gt;\n        &lt;container name=&quot;banner_container&quot;&gt;\n            &lt;argument name=&quot;data&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;config&quot; xsi:type=&quot;array&quot;&gt;\n                    &lt;item name=&quot;sortOrder&quot; xsi:type=&quot;number&quot;&gt;1&lt;\/item&gt;\n                &lt;\/item&gt;\n            &lt;\/argument&gt;\n            &lt;htmlContent name=&quot;html_content&quot;&gt;\n                &lt;argument name=&quot;block&quot; xsi:type=&quot;object&quot;&gt;Webkul\\Grid\\Block\\Adminhtml\\Edit\\Banner\\CustomData&lt;\/argument&gt;\n            &lt;\/htmlContent&gt;\n        &lt;\/container&gt;\n    &lt;\/fieldset&gt;\n&lt;\/form&gt;<\/pre>\n\n\n\n<p>Note : Make sure to declare the data source in di.xml file of your module located at app\/code\/Webkul\/Grid\/etc\/adminhtml\/di.xml<\/p>\n\n\n\n<p>Now create a custom Block &#8220;CustomData.php&#8221;&nbsp; file in path :<\/p>\n\n\n\n<p>\\app\\code\\Webkul\\Grid\\Block\\Adminhtml\\Edit\\Banner\\<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\Grid\\Block\\Adminhtml\\Edit\\Banner;\n\nclass CustomData extends \\Magento\\Backend\\Block\\Template\n{\n    \/**\n     * Block template.\n     *\n     * @var string\n     *\/\n    protected $_template = &#039;banner\/customdata.phtml&#039;;\n\n    \/**\n     * AssignProducts constructor.\n     *\n     * @param \\Magento\\Backend\\Block\\Template\\Context  $context\n     * @param array                                    $data\n     *\/\n    public function __construct(\n        \\Magento\\Backend\\Block\\Template\\Context $context,\n        array $data = &#091;]\n    ) {\n        parent::__construct($context, $data);\n    }\n}<\/pre>\n\n\n\n<p>Now create a template file for the above block customdata.phtml file in which we will write the html content which you want in path &#8211; \/app\/code\/Webkul\/Grid\/view\/adminhtml\/templates\/banner\/<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;div&gt;&lt;span&gt;&lt;?php echo __(&quot;Webkul123&quot;);?&gt;&lt;\/span&gt; &lt;\/div&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1450\" height=\"428\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2.png\" alt=\"Screenshot-2\" class=\"wp-image-364998\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2.png 1450w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2-300x89.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2-1200x354.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2-250x74.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2-768x227.png 768w\" sizes=\"(max-width: 1450px) 100vw, 1450px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>So In this way you can add custom html data in your uiComponent form.<\/p>\n\n\n\n<p>How to add html content using uicomponent form in magento2<\/p>\n\n\n\n<p>You can also check below:<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.adobe.com\/commerce\/frontend-core\/ui-components\/\">https:\/\/developer.adobe.com\/commerce\/frontend-core\/ui-components\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-photo is-provider-webkul-blog wp-block-embed-webkul-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/webkul.com\/blog\/create-ui-form-magento2-part-1\/\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-photo is-provider-webkul-blog wp-block-embed-webkul-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/webkul.com\/blog\/create-ui-form-magento2-part-2\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>How to add html content using uicomponent form &#8211; As we all know that in magento2 we can create a form using magento uicomponent, but if you want to add some html content in your form using magento uicomponent then the solution is here. Using this post you will know how can add a html <a href=\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":15,"featured_media":61510,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[3752,3751],"class_list":["post-61512","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-htmlcontent","tag-magento2-uicomponent-form"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add custom html content using uicomponent form<\/title>\n<meta name=\"description\" content=\"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add custom html content using uicomponent form\" \/>\n<meta property=\"og:description\" content=\"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-08T15:27:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T05:07:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pooja Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja Sahu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\"},\"author\":{\"name\":\"Pooja Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\"},\"headline\":\"How to add html content using uicomponent form\",\"datePublished\":\"2016-10-08T15:27:44+00:00\",\"dateModified\":\"2024-03-04T05:07:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\"},\"wordCount\":362,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png\",\"keywords\":[\"htmlcontent\",\"magento2 uicomponent form\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\",\"name\":\"How to add custom html content using uicomponent form\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png\",\"datePublished\":\"2016-10-08T15:27:44+00:00\",\"dateModified\":\"2024-03-04T05:07:33+00:00\",\"description\":\"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png\",\"width\":825,\"height\":260,\"caption\":\"Ui Component Form\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add html content using uicomponent form\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b\",\"name\":\"Pooja Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Pooja Sahu\"},\"description\":\"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/pooja\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add custom html content using uicomponent form","description":"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.","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:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/","og_locale":"en_US","og_type":"article","og_title":"How to add custom html content using uicomponent form","og_description":"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.","og_url":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-10-08T15:27:44+00:00","article_modified_time":"2024-03-04T05:07:33+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png","type":"image\/png"}],"author":"Pooja Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Pooja Sahu","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/"},"author":{"name":"Pooja Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b"},"headline":"How to add html content using uicomponent form","datePublished":"2016-10-08T15:27:44+00:00","dateModified":"2024-03-04T05:07:33+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/"},"wordCount":362,"commentCount":2,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png","keywords":["htmlcontent","magento2 uicomponent form"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/","url":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/","name":"How to add custom html content using uicomponent form","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png","datePublished":"2016-10-08T15:27:44+00:00","dateModified":"2024-03-04T05:07:33+00:00","description":"How to add html content using uicomponent form - you want to add some html content in your form using magento uicomponent then the solution is here.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Magneto-Code-Snippet-1.png","width":825,"height":260,"caption":"Ui Component Form"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-html-content-using-uicomponent-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add html content using uicomponent form"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/420601cccfd5bc83506bcdd12362504b","name":"Pooja Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87f400f19d2c602040b38dc2db6412c18f8c1ee7405e40a06bf4a21f24ea12c7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Pooja Sahu"},"description":"Pooja Sahu is an Adobe Certified Professional &ndash; Developer in the Magento department, with expertise in HTML, CSS, JavaScript, MySQL, eCommerce platform development, and PWA. Her skills drive innovative solutions and enhance user experiences across various platforms.","url":"https:\/\/webkul.com\/blog\/author\/pooja\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=61512"}],"version-history":[{"count":13,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61512\/revisions"}],"predecessor-version":[{"id":425734,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61512\/revisions\/425734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/61510"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=61512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=61512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=61512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}