A+AA-

QuickForm 2 - form builder with dynamic fields and calculator

Maurits Cornelis Escher Metamorphosis (fragment)
QuickForm 2 is a small but very functional component that creates dynamic forms on the Joomla! engine. It is a free product with open source.

The extension allows you to create a complex branched structure, at any level of nesting elements, including calculators, various forms of ordering goods, polls, instructions, support, dynamic content modules.

QuickForm 2 provides the ability to conveniently administer both individual structure elements, and entire groups of fields, their relationships and redirects. At the same time, a high speed of code execution is provided, which allows using the component not only for complicated, but simple forms, such as ordering a callback, feedback, and others.

To understand what is dynamic form in this context, just view example "Online Mineral Identifier".* Unfortunately, not yet finished translation (very large).
*drawn from the book "the key to the identification of minerals and rocks" (Dr. František Němec)


Such a structure is needed, for example, in various quick polls in the diagnosis of diseases. Or any automatic support of something.

Logical model QuickForm 2 is built on the principle of group fractals. This achieves compactness of code and ease of administration. Moreover, it allows to build not only an extensive web form, but branched calculators. Read more about calculators below, and is an example of a simple calculation:

Calculator plastic Windows
0$


As you may have guessed, QuickForm 2 allows you to output several forms on one page, but this is not the most surprising - it allows you to display them quickly and without limiting yourself in functionality and design.

The management interface should be intuitive to anyone who has experience with Joomla. But sometimes it can be difficult, especially at the initial stage when you still do not understand the structure and logic of building form. Let's look at the simplest example is a feedback form with fields that change when you select an entity, civil or legal person.

Please note that in different cases, you can have a different set of required fields. This is a unique opportunity component.

An example of a simple form

So, you installed QuickForm 2, now create a form project. Enter the title, the message after sending and click "save." In the list of projects, a new entry will appear, on the right side of which there will be a "plug-in code", it will need to be inserted into the site material. And to the right of the title you will see the link "fields". Go over it and press "create." Add all stationary fields to this page, all except those that should fall out. In our case, this is the text field "First Name", select with the choice of the subject of the right, the text container "Your message", the checkbox with the privacy policy and the submit button. Save this group of fields.
Again click "create" and fill in another field group, the one that will fall on the "natural person". Here we have the Phone and Email. Similarly create a group for "Legal person". Remember the id of the created groups. Now we need to open the first (we will have it by default) group of fields, open select, and in the settings of its items, write down the id, remembered by us, without forgetting to press the green button at the top of the window. We press "to save" - the form is ready. Color it with CSS and check the sending to your inbox.

The following video shows the general principle of constructing a more complex (dynamic) calculator.





A more complex example





Installation

The installation package includes the component itself forms, module and plugin group content. To display the form using the plugin, paste the following {QuickForm id=хх}, where xx - id form project, in the right place material or any component that supports content plugins. If your site is already has older version (QuickForm 1), it must first be uninstalled.

Download

Download QuickForm you can here.

Works with Joomla! 3+


Link back to author


Component QuickForm is a free open source extension. But if you do not want to see a link to the author's site, then there is the possibility to remove it completely. This is an optional feature, not necessarily. In the component settings, you can choose to display the author's reference: visible , hidden , without reference . In the latter case, you will need to enter the code. Here you can get the code. It will be sent automatically.

Enter EMAIL to receive a code *  
Enter the domain you want to activate *  
WebMoney R1 180RUB
LiqPay(MasterCard)20USD
YandexMoney1 180RUB