@checkin.no/event-registration
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

Event registration

A wrapper around Checkin's event registration form embed script.

  • Makes it easy to load event registration form wherever and whenever you want to
  • Pre-fill the registration form with participant and order contact data
  • More is coming soon!

https://www.checkin.no/
https://www.checkin.no/signup

Trying the examples

After pulling repository

npm install
npm run build


See an example of how to load registration form here

npm run example-form-load-start


If you want to pre-populate participant and order contact data,
you can see an example of how to do that here

npm run example-form-pre_fill-start

Usage

npm package

npm install @checkin.no/event-registration

Showing the registration form

import { getEventRegistrationForm } from '@checkin.no/event-registration';

//Create registration form instance
const eventRegistrationForm = getEventRegistrationForm(<your-event-id>);

//Will mount registration form in the div with id "checkin_registration"
eventRegistrationForm.initRegistrationForm();

Connect crm property to participant linked to the order contact

eventRegistrationForm.setCrmProperty({
    propertKey: '<crm-property-key>',
    propertyValue: '<crm-property-value>',
    context: 'orderContactParticipant'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @checkin.no/event-registration

Weekly Downloads

1

Version

1.2.3

License

ISC

Unpacked Size

188 kB

Total Files

14

Last publish

Collaborators

  • bytesaurus