Within REDCap you are able to display certain images, PDFs, or uploaded files (uploaded to file upload fields) inline on a page. This feature works for forms, surveys, and emails.
For a full list of REDCap action tags, and instructions on how to use them, see Action Tags in REDCap.
The @INLINE action tag allows a PDF file or image file that is uploaded to a File Upload field to be displayed in an inline manner on the survey page or data entry form. The PDF file or image can be viewed on the page by the user or survey participant without having to download it.
This action tag works for certain image types (JPG, JPEG, GIF, PNG, TIF, BMP) and PDF files.
The @INLINE-PREVIEW action tag allows a PDF file or image file that is uploaded to a File Upload field or into a Descriptive Field to be previewed by the user or survey participant viewing the form. This action tag adds a "Preview" button that can be toggled to view the recently uploaded field without the need to download it to your device.
You can also pipe an uploaded image or file inline using the ":inline" piping parameter. You may pipe an uploaded image or file into another field or into an email.
To use inline piping, append ":inline" to the name the piped file upload field, such as [my_field:inline]. If the uploaded file is a PDF file or image file (JPG, JPEG, GIF, PNG, TIF, BMP), the file will be displayed in an inline manner so that it is viewable on the page.
The ':inline' option DOES work inside emails, so you can pipe a field with ':inline' inside the email body. This allows you to display inline images inside survey invitations or Alerts & Notifications.
Keywords | REDCap | Doc ID | 111587 |
---|---|---|---|
Owner | Amy S. | Group | SMPH Research Informatics |
Created | 2021-06-10 09:42 CST | Updated | 2023-09-28 14:22 CST |
Sites | Institute for Clinical and Translational Research, SMPH Research Informatics , SMPH Research Informatics TEST | ||
Feedback | 2 0 Comment Suggest a new document |