Changes

m
Line 564: Line 564:  
By default, the management of the cascade is fully automatic and is managed via AJAX. For compatibility, if the user has no AJAX support, the cascading won't happen so that user's without AJAX support (eg: smartphones, tablets, etc.) will still be able to select a value.
 
By default, the management of the cascade is fully automatic and is managed via AJAX. For compatibility, if the user has no AJAX support, the cascading won't happen so that user's without AJAX support (eg: smartphones, tablets, etc.) will still be able to select a value.
   −
Currently, the automatic management only works on '''constrained fields''' (both the child and parent fields must be constrained). If you want to cascade fields of other types than Constrained, you can use the [[Module_CustomFields#Custom_Ajax_Function|Custom Ajax Functions]] facility (see below) to manage cascading at object's creation, and [[Module_CustomFields#Overloading_functions:_Adding_your_own_management_code_for_custom_fields|Overloading Functions]] to manage cascading at object's edition.
+
Currently, the automatic management only works on '''constrained fields''' (both the child and parent fields must be constrained). If you want to cascade fields of other types than Constrained, you can use the [[Module_CustomFields#Custom_Ajax_Functions|Custom Ajax Functions]] facility (see below) to manage cascading at object's creation, and [[Module_CustomFields#Overloading_functions:_Adding_your_own_management_code_for_custom_fields|Overloading Functions]] to manage cascading at object's edition.
    
To setup a cascade in the administration panel, you just need to enable the Cascade option, and select the Parent field that should cascade its value onto the currently edited field. The admin panel will try to fill out the remaining fields automatically. However, if an alert is shown or if the two Join From and Join On fields remain empty, you will need to fill them manually.
 
To setup a cascade in the administration panel, you just need to enable the Cascade option, and select the Parent field that should cascade its value onto the currently edited field. The admin panel will try to fill out the remaining fields automatically. However, if an alert is shown or if the two Join From and Join On fields remain empty, you will need to fill them manually.
439

edits