Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

There are several properties to be set for a form that is being created specifically for a process. Find the detailed procedures required to define these settings below.

 

Estado
subtletrue
titleLearn more

HTML
<a id="toggleAll" href="#" >Expand/hide additional information. </a>
 <script type="text/javascript">
 
 var abertos = 0;
 var fechados = 0;
 function contador() {
    abertos = 0;
    fechados = 0;
    jQuery(".expand-control").each( function() {
		if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
           	fechados++;
        } else {
        	abertos++;
        }
    });
 }
 AJS.toInit(function() {
 
    contador();
	var soma = abertos + fechados;
	$("#toggleAll").html('Expand/hide ' + soma  + ' additional information.');

    AJS.$('#toggleAll').click(function() {
        contador();
        if (abertos >= fechados) {
            jQuery(".expand-control").each(
                function() {
                    if (document.getElementById(this.id).children[0].className == "expand-control-icon icon expanded") {
                        jQuery(this).trigger("click");
                    }
                }
            )
        } else {
            jQuery(".expand-control").each(
                function() {
                    if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
                        jQuery(this).trigger("click");
                    }
                }
            )
        }
    });
});
 </script>

Basic path

 

01. After clicking Create form from the process settings, click Form settings in the displayed window.

02. Define the required information.

Expandirpanel
titleLearn More

You can edit the previously entered title and description. The other required information is as follows:

...

03. In Form content, add the fields of your choosing - available in the Add fields area - to create the form.

Expandirpanel
titleLearn More

In order to add a field to the form, simply click on it from the list of available fields. The fields can be included in any order and quantity. To change the order of a field, just click on it and drag it to the position of your choosing. In order to delete an added field, click on the icon marked by an X located the upper right corner of the box corresponding to the field. The types of fields available are:

...

04. Click the edit icon, which is represented by a pencil and located in the upper right corner of the box corresponding to the field, and define the settings for the field.

Learn More
Expandir
title
Painel

Each field has specific options depending on the type of the data added or defined as default or data source.

...

05. After adding and configuring all the fields for the form, click Form rules, located in Advanced.

Expandirpanel
titleLearn More

Form rules are events that can occur in the form created in a particular activity and in a specific field. These events occur only in normal activities or in the start activity of a process.

Actions include disabling fields, validating values, setting values, and hiding fields on the screen. This procedure generates a form event with the selected settings.

...

07. Select the required information to define the rule.

Painel
Expandir
titleLearn More

The information required to define a rule is as follows:

...

09. In the Rules settings window, define how the conditions should be considered in the rule.

Expandirpanel
titleLearn More

 Satisfy all conditions

When it is selected, all defined conditions need to be met before the validation message is sent.

Satisfy one of the conditions
When it is selected, satisfying only one condition is enough for the validation message to be sent.

What message should be used in this validation?
Message to be sent as validation is performed and the defined conditions are met.

...

13. In the Rules settings window, select the information to be assigned to the field.

Painel
Expandir
titleLearn More

Available options are:

Logged-in user enrollment
When it is selected, the authenticated user’s enrollment is assigned to the field in question.

Current date
When it is selected, the current date is assigned to the field in question.

Request number
When it is selected, the request number is assigned to the field in question.

Custom value
When it is selected, a predefined value is assigned to the field in question.

Value
Specific value to be assigned to the field in question. This field is only displayed when the selected value assignment option is Custom value.

...

17. In the Order Analytics fields window, define the priority order for the fields in the boxes Field fact and Fields text using the arrow keys to move up and down.

Learn More
Expandir
title
Painel

Fact fields are Numeric.

18. After defining how to order the fields, click Save.

...