<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Martin van de Hoef</title>
    <description>The latest articles on DEV Community by Martin van de Hoef (@martinvandehoef).</description>
    <link>https://dev.to/martinvandehoef</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F197836%2Fb1af9c3a-6b52-4408-b4e3-7380b8315799.jpg</url>
      <title>DEV Community: Martin van de Hoef</title>
      <link>https://dev.to/martinvandehoef</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/martinvandehoef"/>
    <language>en</language>
    <item>
      <title>Visual Form Builder in 200 lines of code</title>
      <dc:creator>Martin van de Hoef</dc:creator>
      <pubDate>Fri, 19 Jul 2019 08:25:24 +0000</pubDate>
      <link>https://dev.to/martinvandehoef/visual-form-builder-for-contact-form-7-in-200-lines-of-code-g4j</link>
      <guid>https://dev.to/martinvandehoef/visual-form-builder-for-contact-form-7-in-200-lines-of-code-g4j</guid>
      <description>&lt;p&gt;Next level editing for the most popular form plugin of WordPress&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tjRaUfvI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/0%2AEt_X8ccgf769lqsC" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tjRaUfvI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/0%2AEt_X8ccgf769lqsC" alt=""&gt;&lt;/a&gt;Photo by &lt;a href="https://unsplash.com/@peter_mc_greats?utm_source=medium&amp;amp;utm_medium=referral"&gt;Pietro De Grandi&lt;/a&gt; on &lt;a href="https://unsplash.com?utm_source=medium&amp;amp;utm_medium=referral"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Every website has a contact form
&lt;/h3&gt;

&lt;p&gt;When you have been involved with WordPress websites, you have likely come across the &lt;a href="https://wordpress.org/plugins/contact-form-7/"&gt;Contact Form 7&lt;/a&gt; plugin. It is — by far — the most successful form plugin for WordPress, with more than 5 million installations! Imagine how many contact forms are filled in right now?&lt;/p&gt;

&lt;p&gt;One of the reasons this plugin is so succesfull is that it just get’s the job done. No nonsense. People want simple contact forms and that’s what this plugin gives them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Editing like it’s 2009
&lt;/h3&gt;

&lt;p&gt;But if I have to be critical, the editor in Contact Form 7 is pretty outdated.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zPKALCx9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/502/1%2AOanwKuLWChtcYX_ptFhlOQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zPKALCx9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/502/1%2AOanwKuLWChtcYX_ptFhlOQ.png" alt=""&gt;&lt;/a&gt;Contact Form 7’s HTML markup editor in action&lt;/p&gt;

&lt;p&gt;A couple of drawbacks of the editor:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No drag and drop of fields&lt;/li&gt;
&lt;li&gt;No editing of fields via the Generate tag tool&lt;/li&gt;
&lt;li&gt;No syntax checking&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Editing like it’s 2020
&lt;/h3&gt;

&lt;p&gt;To make the lives of all the Contact Form 7 users a little easier and more fun, we’ve come up with a free alternative for this old fashioned user experience.&lt;/p&gt;

&lt;p&gt;A brand new visual form builder for Contact Form 7!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--N1smRS4h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/1%2Aau_hfpIsJzqm1BJboNIHqw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--N1smRS4h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/1%2Aau_hfpIsJzqm1BJboNIHqw.png" alt=""&gt;&lt;/a&gt;Visual Form Builder for Contact Form 7&lt;/p&gt;

&lt;p&gt;Create your Contact Form 7 forms like you’ve never done before. Using features like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Move fields with drag and drop&lt;/li&gt;
&lt;li&gt;Change the type of a field&lt;/li&gt;
&lt;li&gt;Add, edit and delete fields via intuive UI&lt;/li&gt;
&lt;li&gt;Don’t worry about the syntax anymore!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Contact Form 7 code is updated real-time in a panel next to the editor. Grab this code and paste it back into Wordpress. No extra plugins required. No hassle.&lt;/p&gt;

&lt;h3&gt;
  
  
  Show me the magic
&lt;/h3&gt;

&lt;p&gt;Try the editor in CodePen directly. For free. 🧙‍♂️&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/tripetto/embed/mNbJZj?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Feel free to check out the code. Please let me know if you like it!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>npm</category>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
