Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
protogrid:script_library [2021-12-21 23:21] – [Client ScriptLibrary] dru | protogrid:script_library [2022-05-16 15:35] (current) – [Execute JS on field change] dru | ||
---|---|---|---|
Line 82: | Line 82: | ||
The function document_ready_trigger tells your card that you want something to happen when a value changes. The call " | The function document_ready_trigger tells your card that you want something to happen when a value changes. The call " | ||
+ | ==== Activate Save Buttons ==== | ||
+ | After a manipulation of Fields on a Card you might want to activate the save buttons in order to let the user save the modified Card. Just call modifications_on_current_card() after setting a field value: | ||
+ | <code javascript> | ||
+ | var csl_helpers = mod_csl_helpers(); | ||
+ | csl_helpers.set_value(csl_keys.field_key_sample_field, | ||
+ | modifications_on_current_card(); | ||
+ | </ | ||
==== Manipulate Contet of Rich Text Field ==== | ==== Manipulate Contet of Rich Text Field ==== | ||