Registrations - Retrieving form fields
Information to allow you to see all fields from a registration form and customize the form in order to create it (see: "Creating Registrations")
GET 'https://organization-subdomain.kindful.com/register/registration-public-slug-here.json'
Parameter | Description |
---|---|
callback | value should be a function name you've defined |
Sample Response
Key
- Person Fields - map to the person
- Person Custom Fields - map to person custom fields
- Registration Fields - fields only stored on registration, registration specific, does not appear in person's profile.
- Participant Fields - a specific type of custom fields
{
"registration_form":
{
"person_fields":[
{
"id":"55555-555555-55555555",
"type":"RegistrationFormField",
"model":"Person",
"name":"first_name",
"label":"First Name",
"field_type":"text",
"values":[],
"required":true
},
{
"id":"55555-555555-55555555-333333",
"type":"RegistrationFormField",
"model":"Person",
"name":"last_name",
"label":"Last Name",
"field_type":"text",
"values":[],
"required":true
}
]
},
"participant_fields":[],
"person_custom_fields": [
{
"id":"555",
"type":"RegistrationFormField",
"model":"PersonCustomField",
"name":"T-Shirt Size",
"label":"T Shirt Size",
"field_type":"select",
"values":["Large","Medium","Small"],
"required":true
}
],
"registration_custom_fields":[]
}