Plugin Forms

Plugin Forms
Extension to create forms for the visitors


Anyware Services

Most recent version


Tracking issues


Lastest version 

  1. Presentation
  2. Screenshots
  3. User manual
  4. Installation and download
    1. Download
    2. Dependencies
    3. Installation
      1. Lib
      2. cms-ribbon.xml
      3. Workflow
  5. Exploitation
  6. Compatibility


This extension allows you to create forms for yours visitors. The forms are very simply to create in a rich text and can be submitted to existing external applications or handled directly in the cms application.

Features :

- powerful assistants to create forms in your content

- add validation (mandatory, number min and max, regexp, ...) on form fields

- alert emails address for each form to be notify on each submission

- acknowledgment mail for each form to send to visitor after submission

- export in .csv format of the entries


User manual

See the user manual

Installation and download



Forms 1.0.x requires jquery-ui 1.8.5, jquery 1.4.2.

Forms 1.1.x requires jquery-ui 1.8.7, jquery 1.4.4.



Add the plugin JAR in the WEB-INF/lib directory of your Ametys application


Add this declaration to you file WEB-INF/param/cms-ribbon.xml. This declaration add a "Insert form" menu, so it is a good idea to add it in the insert section of the inline editor toolbar (near org.ametys.cms.edition.table.Insert for example)

<control id="org.ametys.plugins.forms.Insert"/>

Add this declaration to you file WEB-INF/param/cms-ribbon.xml. This declaration add a "Export forms" button, so it is a good idea to add it in content toolbar (near org.ametys.cms.ContentConsistencyTest for example)

<control id="org.ametys.forms.ExportForm"/>

At the end of the same file (but before the closing tag), add the following declaration (that will add all the forms tabs)

<!-- Forms -->

Finally, add this to the workflow (default workflow is at WEB-INF/param/workflow.xml).

                <function type="avalon">
                    <arg name="role">org.ametys.plugins.forms.workflow.FormEditionFunction</arg>

This post function must be added to the edit action. In the default workflow, find the common action 2 (which name is EDIT - <common-actions><action id="2"...) and add the snippet juste after the <results> tags
This should looks like

<action id="2" name="plugin.web:WORKFLOW_ACTION_EDIT">
				<conditions type="AND">
					<condition type="avalon">
						<arg name="role">org.ametys.web.workflow.ContentCheckRightsCondition</arg>
						<arg name="right">Workflow_Rights_Edition_Online</arg>
					<condition type="avalon">
						<arg name="role">org.ametys.cms.workflow.LockCondition</arg>
				<function type="avalon">
					<arg name="role">org.ametys.cms.workflow.EditContentFunction</arg>
				<unconditional-result old-status=" " status=" " step="1" />
                <function type="avalon">
                    <arg name="role">org.ametys.plugins.forms.workflow.FormEditionFunction</arg>

Restart your servlet engine.
You have to add the new rights to your profile before you can see the news features.


Your data are stored in your SQL database.
There is a table for each form which name is prefixed with "PluginForms-".
The exact table name and the columns name are ids.

When the contributor erase a field, the column is kept but not used anymore (you can still get the data)
When a form is removed (or its content), the whole table is kept.

There are currently no way to know :

  • which table are currently used and which are not,
  • which table match which content
  • which column match which field
    except by requesting jcr in the _repository application.


Plugin version




Ametys 3.0.x




Ametys 3.1.x



Ametys 3.2.x


Ametys 3.3.x  

Ametys 3.4.x