Skip to content

mjwconsult/afformchecksumredirect

Repository files navigation

FormBuilder Checksum Redirect

This extension provides a "hack" to allow redirecting a FormBuilder form to a Quickform (eg. Contribution Page) using a checksum.

The redirect is currently hardcoded in CRM_Afformchecksumredirect_Checksumredirect::mapRedirect().

In FormBuilder you must configure the post-submit redirect as follows:

civicrm/affredir?csr=0&token=[token]

such that it contains:

  • csr: A number which tells the redirect which rule to use.
  • token: The JWT token provided by FormBuilder.

The extension is licensed under AGPL-3.0.

Installation

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

Update / Usage

Redirect rules can be configured in Adminster->Customize Data and Screens->FormBuilder Checksum Redirect Settings.

The default is:

0:contributionpage:2

which means csr=0. Redirect type is "Contribution page". Contribution Page ID is 2.

You could configure additional rules (one per line) eg:

0:contributionpage:2
1:contributionpage:5

So if you specified csr=1 then the user would be redirected to contribution page 5.

Requires Contact ID / Membership ID from form submission.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages