Jam.py documentation

fields

fields

domain: client

language: javascript

class Item class

Description

Lists all field objects of the item.

Example

function customer_fields(customers) {
    customers.open({limit: 1});
    for (var i = 0; i < customers.fields.length; i++) {
        console.log(customers.fields[i].field_caption, customers.fields[i].display_text);
    }
}