Set custom field value on a single card.
Usage
update_card_field(card, field, key, value, ...)
update_card_checkbox(card, field, value, ...)
update_card_date(card, field, value, ...)
update_card_dropdown(card, field, value, ...)
update_card_number(card, field, value, ...)
update_card_text(card, field, value, ...)
clear_card_field(card, field, ...)
Arguments
- card
Card ID
- field
Custom field ID
- key
Key for the value, e.g.
"number"
or"checked"
- value
New value
- ...
Additional arguments passed to
update_resource()
Details
update_card_date
requires ISO Formatted Datetime String. "YYYY-MM-DD"
is
fine, but if you want also hour and timezone, use "YYYY-MM-DD hh:mm UTC+X"
,
e.g. "2018-12-24 16:00 UTC+1"
clear_card_field
does not remove the field, but replaces its value with
the equivalent of "No selection"
See also
Other functions to handle custom fields:
add_field_option()
,
add_field()
,
delete_field_option()
,
delete_field()
,
update_field()