Module CustomizeForms: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 56: Line 56:
* In this example, we click on the Home Page in the New Commercial Proposal - Customer form.
* In this example, we click on the Home Page in the New Commercial Proposal - Customer form.
* This page only displays fields with default values that have already been set. All fields of the form are displayed on this page.
* This page only displays fields with default values that have already been set. All fields of the form are displayed on this page.
1 - Extrafields that were created for this module will be inserted automatically when you open the page.
 
2 - The Header and footer fields are options that can be added to the form.
1 - '''Extrafields''' that were created for this module will be inserted automatically when you open the page.
 
2 - The '''Header''' and '''footer''' fields are options that can be added to the form.


'''Presentation: '''
'''Presentation: '''
Line 73: Line 75:
[[Image:Pagina3.png|800px|CustomizeForms]]
[[Image:Pagina3.png|800px|CustomizeForms]]


* In this example, we click in the New Commercial Proposal - Customer form on the Customer field.
In this example, we click in the New Commercial Proposal - Customer form on the Customer field.


* To Hide fields:
* '''To Hide fields:
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Invisible''' option
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Invisible''' option


* Make fields as mandatory (Javascript);
* '''To Make fields as mandatory''' (Javascript);
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Required''' option
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Required''' option


* Disable fields;
* '''To Disable field''';
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Disable''' option
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Disable''' option


* Define default values for fields (texts, lists, html, selection and categories);
* '''To Define default values''' for field (texts, lists, html, selection and categories);
** Click in the combo box '''Set Default Value'''  and select the desired option (Dolibarr options to combo box and checkbox, other field type only digit text to default value)
** Click in the combo box '''Set Default Value'''  and select the desired option (Dolibarr options to combo box and checkbox, other field type only digit text to default value)


* Change the presented names of the fields without changing the translations;
* '''To Change the presented name of the field''' without changing the translations;
** Digit new name text to '''Modify Field Name'''  
** Digit new name text to '''Modify Field Name'''  


* Create auxiliary lists of preformatted texts and phrases to easily insert into the fields (text, html);
* '''To Create auxiliary lists''' of preformatted texts and phrases to easily insert into the fields (text, html);
** Digit  List of Text separated by line breaks that can be added in any text field or textarea in '''Create Auxiliary List to insert into text or HTML fields'''  
** Digit  List of Text separated by line breaks that can be added in any text field or textarea in '''Create Auxiliary List to insert into text or HTML fields'''  


* Create tooltip with instructions on the fields;
* '''To Create tooltip''' with instructions on the fields;
** Digit html text to '''Create Tooltip with Help Info'''  
** Digit html text to '''Create Tooltip with Help Info'''  


202

edits

Navigation menu