-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When creating a survey that can be repeated and contains a field with multiple alternative default values, these default values are not displayed when the survey is loaded the first time (filling of first instance).
A minimal example instrument to observe this is
"Variable / Field Name","Form Name","Section Header","Field Type","Field Label","Choices, Calculations, OR Slider Labels","Field Note","Text Validation Type OR Show Slider Number","Text Validation Min","Text Validation Max",Identifier?,"Branching Logic (Show field only if...)","Required Field?","Custom Alignment","Question Number (surveys only)","Matrix Group Name","Matrix Ranking?","Field Annotation"
record_id,form_1,,text,"Record ID",,,,,,,,,,,,,
field1,form_1,,text,Field1,,,,,,,,,,,,," @DEFAULT_0="""" @DEFAULT_1=""instance 0 default value"""
When configuring this instrument as a repeatable survey, I would expect the field1 to be prefilled for all instances of the survey. However, this is only the case for all but the first instance.
The used versions are: Server info: REDCap 11.1.0 · PHP 7.3.27-1~deb10u1 (Linux/Unix OS) · MariaDB 10.3.27, Auto Populate Fields - v2.6.0
Metadata
Metadata
Assignees
Labels
No labels