Luke Stevens, Murdoch Children's Research Institute https://www.mcri.edu.au
https://github.com/lsgs/redcap-auto-save-value/
Action tags to trigger automatic saving of field values during data entry:
@AUTOSAVEAuto-save the field's value when it is updated (in either data entry or survey mode).@AUTOSAVE-FORMAuto-save in data entry mode only, not in survey mode.@AUTOSAVE-SURVEYAuto-save in survey mode only, no in data entry mode.@AUTOSAVE-FORM-HIDEICONAs@AUTOSAVE-FORM, but suppress the field's save icon where in data entry mode it would normally be shown.@AUTOSAVE-SURVEY-SHOWICONAs@AUTOSAVE-SURVEY, but show the field's save icon where in survey mode it would normally be suppressed.
- Auto-save cannot occur until the record exists for values to be saved to. This means that auto-save cannot work on the first page of a public survey, or when creating a new record.
- Only one tag is required per field: you do not need to use both
@AUTOSAVE-SURVEYand@AUTOSAVE-SURVEY-SHOWICON, for example.@AUTOSAVE-SURVEY-SHOWICONis sufficient alone for an auto-save field on a survey with icon shown. - The auto-save tags do not operate in Draft Preview mode.
- The auto-save tags do not operate when previewing an instrument with a record data in the Online Designer using the "Preview Instrument" external module.
The following field types are currently *not supported*:
- Text fields with ontology lookup
- Calculated fields (including text fields with
@CALCDATE()and@CALCTEXT()) - Checkbox
- File upload
- Signature
- Slider
Auto-saving on data entry forms is *not compatible* with the "Require reason for change" option.