Retrieving Registration 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")

Parameters
Description

callback

value should be a function name you've defined

Sample Response

{"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":[]}}
}

KEY

  1. Person Fields - map to the person
  2. Person Custom Fields - map to person custom fields
  3. Registration Fields - fields only stored on registration, registration specific, does not appear in person's profile.
  4. Participant Fields - a specific type of custom fields