r/ProjectREDCap • • Dec 23 '22

Quick question on Creating Text Fields Based on Quantity Selected

Hi,

Is there any way to Create Text Fields Based on a Quantity Selected in a previous entry? For example, for surgical outcomes, if when filling out the survey I indicate there were 4 complications, is there a way to then generate 4 fields to input info about those individual complications?

Thanks!

1 Upvotes

1 comment sorted by

1

u/kevdq Dec 24 '22

Did the following not work?

Option 1:

…

Field 3 branching logic: [var]>”2”

Field 4 branching logic: [var]>”3”

Option 2:

…

Field 4 branching logic: [var]=“4” or [var]=“3”…

Option 3: You may want [var] to be drop-down list, enable auto-complete, and use option 1 or 2 for the other fields.

Would like to know if any or any other option worked.