.. _onlineformfields:

Appendix: Online Form import fields
===================================

ASM will recognise fields with the following names when receiving incoming
online form submissions. These can be used to create person, lost animal, found
animal, incident and waiting list records as well as attach to existing 
animal records.

title
    The person's title, eg: Mr
initials
    The person's initials
forenames / firstname
    The person's first name
surname / lastname
    The person's last name
address
    The person's address
town / city
    The person's town or city
county / state
    The person's county or state
postcode / zipcode
    The person's postcode or zipcode
hometelephone
    The person's home phone number
worktelephone
    The person's work phone number
mobiletelephone / celltelephone
    The person's mobile number
emailaddress
    The person's email address
excludefrombulkemail
    If this field is supplied and not a blank or "No" in your language, the exclude from bulk email flag will be set for the created person
description
    The description for the lost, found or waiting list animal
reason
    The reason the person is putting their animal on the waiting list
type
   The animal type for the animal. ASM will try and guess based on the text which one is meant. Use a lookup field to limit the choices to known items.
species
    The species of the animal. ASM will try and guess based on the text which one is meant. Use a lookup field to limit the choices to known items (or use the Species field type)
breed
    The breed of the animal. ASM will try and guess one of it's lookup values (or use the Breed field type to limit to them)
agegroup
    The age group of the animal. Again, ASM will try and guess one if it's internal values.
color / colour
    The colour of the animal. ASM will try and guess a match (or use the Color field type to limit to them)
datelost
   The date the animal was lost (lost animals only)
datefound
   The date the animal was found (found animals only)
arealost
    The area the animal was lost in (lost animals only)
areafound
    The area the animal was found in (found animals only)
areapostcode / areazipcode
    The postcode/zipcode area the animal was lost or found in
microchip
   The animal's microchip number
animalname
    The name of an existing shelter animal to attach this form to if specified (use the adoptable/shelter animal field types to get a valid animal name from your form)
reserveanimalname[x]
    The name of a shelter/adoptable animal to reserve to the imported person record. This is useful when creating adoption application forms to automatically tie the person to the animal they are interested in adopting. Unlike the other keys, you can add a numeric suffix to have multiple animals reserved by the imported person (eg: reserveanimalname1, reserveanimalname2...)
callnotes
   When creating an incident, the incident notes
dispatchaddress / dispatchcity / dispatchstate / dispatchzipcode
   The dispatch address for an incident
