Epesi ENS | Epesi Academy | epesi.cloud PaaS | GitHub

Help Me! | Download from SourceForge Download Epesi BIM Free & Open Source CRM


Hi All,
I am clear about the $tab_field table's param field for type="select"

But I am confuse about the following case :--

When

type="multiselect"
param= ::,::;::

I know the concept of param field i.e in this case

param =module name :: Field Name ; ClassName :: Method name ; Classname :: Method name

But how i am passing the value to that method.

Thanks.

Hello,

The param syntax for both select and multiselect is technically identical. The "::" means simply that this param should assume default value. As you probably already know param syntax is defendant on field type. crm_contact and crm_company types have a little different order for those parameters.

But in general, the meaning of each segment for select/multiselect elements is:
recordset element is pointing to :: field name the element is pointing to ;
Class name :: method that returns criteria for records ;
Class name :: method that return more advanced properties for the field

To set those parameters, just assign a value under 'param' key in Installation file, in relevant field row.

Alternatively you can also define QFfield_callback and in that method define all the field constructing rules by yourself (this however, is a bit more advanced approach).

Hope this helps,
Arek

Thanks For Your Reply,

Is there any document for QFfield_callback function designing ?

Thanks.

Write a Reply...