Deprecation note: The RsvpForm object is being deprecated. Use
the Form() object instead.
Using an RsvpForm, you can build custom RSVP experiences for your events.
You will need to have at least one existing event to create an RsvpForm.
- In the Dashboard, set up a registration form for an event.
- Retrieve the ID of an event from the Events/Events collection.
- Create a new
RsvpForm using the createEventRsvpForm()
method with the ID retrieved above.
- Retrieve information about the RSVP form inputs in the form using the
getRsvpData() method.
- In the Editor, add user input elements for each form inputs retrieved above.
You may want to set the elements IDs to match the names of form input retrieved above.
- In the Editor, add a button that will be used to submit the form value to create
a new RSVP.
- When the submit button is clicked, gather the values entered into the form in
a
FormValue array and use the submit() method
to submit the values.