Coder Social home page Coder Social logo

tbembersimeao / modify_contact_admin_button Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctsit/modify_contact_admin_button

0.0 1.0 0.0 233 KB

Modify the behavior of the 'Contact REDCap Administrator' button by redirecting the user to a configurable url

License: Other

PHP 88.49% JavaScript 11.51%

modify_contact_admin_button's Introduction

REDCap module: Modify Contact Admin Button

Modify the behavior of the 'Contact REDCap Administrator' button by redirecting the user to a configurable url. The url should be provided as part of the external module configuration. A series of parameters may be added to the URL to make details about the current REDCap user and project available to the target form.

Prerequisites

Installation

  • Clone this repo into <redcap-root>/modules/modify_contact_admin_button_v<version_number>.
  • Go to Control Center > External Modules and enable Modify Contact Admin Button.
  • Still in Control Center > External Modules configure the module with a URL of a web form. You may also include parameter name-value pairs to be appended to the URL. For example, you could provide the URL of a REDCap survey used for service request intake. Lastly, activate this module for all projects.

Features included

The following values may be selected to be appended to the URL:

user_firstname
user_lastname
email
project_id
USERID

The USERID field contains the redcap username.

For example, using the configuration below:

Example Configuration

the rewritten target URL might look like this:

https://redcap.example.org/surveys/?s=DUPrXGmx3L&gatorlink=jdoe&project_id=14&redcap_username=jdoe

To use the appended parameters, make sure the parameter names you chose coincide with the names of the fields in the target REDCap survey.

modify_contact_admin_button's People

Contributors

marlycormar avatar pbchase avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.