ctsit / warrior_specific_features

This is a redcap modules which contains specific features for warrior project.
Other
1 stars 5 forks source link

Blank Subject ID when user sets Randomization and leaves the form #9

Closed tbembersimeao closed 5 years ago

tbembersimeao commented 5 years ago

Assuming Randomization and Subject ID fields belong to the same form, here are the steps to reproduce the issue:

  1. Make sure this module is properly configured on your project, pointing to First name and Last name fields.
  2. Start a new record and make sure to fill first and last name.
  3. Go to an ampty randomization form - you should see a pre-set/default value for Subject ID field.
  4. Click on Randomization button, which saves data into that form.
  5. Leave the form (instead of saving).
  6. Go back to the form - which now has data, so default values do not apply anymore. You should see a blank Subject ID this time.
tbembersimeao commented 5 years ago

Fixed by #8.