A new "Auto-completion" parameter is available for text form fields.
This parameter allows the browser to propose completion with values previously entered for the selected type.
The Auto-completion parameter can be modified if the form already contains data.
The recipients of notification emails can now be configured:
The fields listed are :
Read/write restriction is only available on forms with a lifecycle.
A new tab entitled "Access rights" is available when editing a field:
On this field, this tab allows you to :
Two new pictograms have been added to the tree view of a form:
On the front office, when changing status from the dashboard, entries can be modified if the field has modification rights (detailed here).
This modification is only possible if the report contains an edit action.
The new forms are now available!
The new tool consists of :
For more information, please visit this page.
The "Forms dash board" service enables site users to view all form responses and their status.
From this dashboard, users can view the details of their request and the status history.
Forms now offer the possibility of managing costs.
It is then possible to associate a cost with each option in the drop-down list (new Cost column):
You can choose the unit of this cost field:
Here's an example of how to use the Cost field:
For more information on editing forms, please visit this page.
It is now possible to define a limit on the number of entries in a form.
After this limit, the form is no longer available.
Find out more on this page.
Text, textarea, list, password, captcha and checkbox fields can be described.
On the rendering side, by default (overloadable at skin), the description is inserted in the "label", in the form of a tooltip. The HTML product is :
<div class="label"> <label id="Ametys_Gen_1_label" for="Ametys_Gen_1">Nom <span title="Votre nom et votre prénom en majuscule" class="input-help"> <span>Aide</span> </span> <span class="mandatory-marker">*</span> </label> </div>
Example of rendering with the skin demo:
It is possible to display the tooltip to the right of the fields. To do this, override the "form-input-description" template, which is empty by default.
The template that renders is form-field-description
The template that renders at the label level is form-label-description and by default it just calls form-field-description.
See XSL docbbok2html.xsl of plugin forms for more details.
Notifications and acknowledgements of receipt can be overwritten. The following XSL can be overloaded:
It is also possible to overload e-mails according to the graphic charter:
Example file WEB-INF/param/view/stylesheets/forms/mail/form-entry.xsl
<xsl:stylesheet version="1.0" xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:import href="plugin:forms://stylesheets/forms/mail/form-entry.xsl"/> <xsl:template match="entry" mode="text"> <!-- Surcharge des réponses pour le format text (commune à tous les sites) --> </xsl:template> <xsl:template match="entry" mode="html"> <!-- Surcharge des réponses pour le format HTML (commune à tous les sites) --> </xsl:template> </xsl:stylesheet>