form
A user-submitted data entry form.
A user-submitted data entry form.
| Field | Type | Required | Description |
|---|---|---|---|
fromEmail | string | No | The email address of the sender |
fromName | string | No | The name of the sender |
fromTelephone | telephone | No | The telephone number(s) of the sender |
message | string | No | The contents of the message provided by the sender |
name | string | No | The name of the form (ex: contact, about, etc) |
subject | string | No | The subject of the form or email |
toEmail | string | No | The email address of the person to which the form was sent |
toName | string | No | The name of the person to which the form was sent |
Use this basic form object whenever a form is submitted that is not included in your specific package.
For example, use this object in the submittedForm event when a user submits a "Contact Us" form on a real estate site, but not when a user submits a listing inquiry (use realestate.requestedInfo instead, in that case).
https://cdn.brytecore.com/packages/schemas/form.json
https://github.com/Brytecore/brytescore-api-core-packages/blob/master/schemas/form.json
1/* form example */23var form = {4 "fromEmail": "info@ivankatrump.com",5 "fromName": "Ivanka Trump",6 "fromTelephone": {7 "mobile": "212.555.0001",8 "home": "212-555-0100"9 },10 "message": "Real estate is my day job. But it consumes my nights and weekends, too.",11 "name": "testimonial-request-form",12 "subject": "Thoughts on real estate",13 "toEmail": "agent@yourcompany.com",14 "toName": "Suzie Agent"15}
Updated July 25, 2026