@checkin.no/event-registration
v1.2.3
Published
Load checkin event registration form on your website ⚡
Downloads
26
Readme
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 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'
});