Module CustomizeInterface: Difference between revisions

Jump to navigation Jump to search
tr
(es)
(tr)
Line 70: Line 70:
===To apply module functionality to the form example:===
===To apply module functionality to the form example:===


*'''To Hide fields:'''
===10 Templates to customize:===
**Click in the combo box '''Define Visibility and Mandatory'''  and select '''Invisible''' option (The entire line will be invisible);
<gallery>
 
File:Pagina4-1.png
*'''To Make fields as mandatory''' (Javascript):
File:Pagina2-1.png
**Click in the combo box '''Define Visibility and Mandatory'''  and select '''Required''' option;
File:Pagina3-1.png
 
File:Pagina5-1.png
*'''To Disable field:'''
File:Pagina6-1.png
**Click in the combo box '''Define Visibility and Mandatory'''  and select '''Disable''' option;
File:Pagina7-1.png
 
File:Pagina8-1.png
*'''To Define default values''' for field (texts, lists, html, selection and categories):
File:Pagina9-1.png
**Click in the combo box '''Set Default Value'''  and select the desired option (Dolibarr options to combo box and checkbox, other field type only write the text to default value);
File:Pagina10-1.png
 
</gallery><br />
*'''To Change the presented name of the field''' without changing the translations:
**Digit new name text to '''Modify Field Name;'''
 
*'''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''';
 
*'''To Create tooltip''' with instructions on the fields:
**Digit html text to '''Create Tooltip with Help Info;'''  
*'''To put the date (future and past) in the date fields''' :
**It is possible to define '''future and past dates''' in all date fields, just put the text '''now(0)''' for the current day, '''now(+5)''' for 5 days later, or '''now(-5)''' for 5 days previous in the default value, for example;
 
 
===To create Headers and Footers on a form:===
 
1- Choose the form on the home page of the module (Page 1);
 
2- In the chosen form, click in the Header or Footer field (Page 2);
 
3- In Page 3:
 
*Click in the combo box '''Define Visibility and Mandatory'''  and select '''Visible''' option;
*Digit new name text to '''Modify Field Name''', this field is a name of Header/Footer in the left table form;
*Digit html text  in the field '''Set Default Value''' , this field is a content of Header/Footer in the right table form;


=<small>Prerequisites</small>=  
=<small>Prerequisites</small>=  
202

edits

Navigation menu