Brian's Blog Homepage
import a form
import a form

Last week I blogged about creating a large form with complex validation rules using bfForms.

But what do you do if you want to add an existing html form to your joomla site?

Perhaps you have a form created in dreamweaver, or you have purchased a form from an on-line library, or even have a form created in microsoft word that you want to add to your site.

There are two options:

  1. Wrap your form into your site using the "wrapper" menu option.
  2. Re-create your form with a joomla form component.

Option 1. Is ok, it keeps the existing layout, but you don't get any validation rules or advanced options like storing the results in the database.

Option 2. Is the best option but if its a large form be prepared for it to take you a while to recreate all the fields and you have to re-create the existing layout from scratch.

So how do you import an existing form into joomla?

bfForms has the answer in a hidden feature!

Don't ask why it's hidden I've been moaning at Phil Taylor to make it more obvious for a very long time. But once you've found it, and I'm spilling the beans here, you will be importing html forms directly into bfForm in seconds. Once the form is imported all you have to do is add any validation rules you require and the on-submit actions.

It's so easy to do you will be wondering why no one thought of it before.

It's actually quite hard for me to explain how to do this. Not hard to do just hard to explain. So to make it easier just watch this short walkthrough movie.

How easy was that?

J o o m l a !

Brian Teeman

Brian Teeman

Who is Brian?

As a co-founder of Joomla! and OpenSourceMatters Inc I've never been known to be lacking an opinion or being too afraid to express it.

Despite what some people might think I'm a shy and modest man who doesn't like to blow his own trumpet or boast about achievements.

Where is Brian?