This widget is used to place the registration form on the customer’s page.
You can edit it in the settings of the registration forms.
Registration widget settings
URL
The absolute path to the place where the registration widget will be placed. Other related Zooza services will link to this URL.
In particular, the calendar widget and email services such as Confirmation of registration or unsubscribing from the appointment.
Widget customization
Javascript
Within the registration widget, it is possible to limit the offer of courses by filtering the offer:
In the document object, it is necessary to create a zooza object with the filter_courses parameter. This parameter expects the course ID field in Zooza. You can also filter by places and both filters can be used together or separately. If they are used together then course filter takes precedence and only those courses that have groups with matching places will be included. For filtering by place you can either use pid format (place_id + ‘_’ + room_id ), or just a place_id.
Query parameters
The widget can be initialized through query parameters:
lang
Changes the default widget language.
Enum: sk-SK, en-EN, cz-CZ, de-DE, pl-PL, ro-RO
Example: https://www.yoursite.com/registration?lang=sk-SK
course_id
Presets the active course. If the widget detects a valid course ID, it will preset this value in the course selection.
Example:
https://www.yoursite.com/registration?course_id=10
place_id
Presets the active location in the location selection.
Place ID is entered either separately or in the form of PID (combined with a specific room)
Example:
Location: ZŠ Ružinov. Place ID: 10
Room: Small gym: Room ID: 11
The PID for the Small gym room will therefore be: 10_11
Place id: 10.
If it is necessary to preset the widget for a specific room, it is necessary to always use the PID format.
Example:
https://www.yoursite.com/registration?course_id=10&place_id=10_0
schedule_id
Presets the active group in the group selection.
Example:
https://www.yoursite.com/registration?course_id=10&schedule_id=10
These three parameters must follow in the given sequence. For example, it is not enough to enter only the group ID and expect the corresponding course_id and place_id to be set automatically.
hide_preselected
Accepts a value of 1 or true. This radio button will hide the preset values in the form. Instead, it displays a recap of those elements that are hidden. So there is no need to hide all three options: course, place, group. This prevents the user from changing the pre-selected course, place or even group.
Example:
https://www.yoursite.com/registration?course_id=10&hide_preselected=1