form

A user-submitted data entry form.

A user-submitted data entry form.

FieldTypeRequiredDescription
fromEmailstringNo

The email address of the sender

fromNamestringNo

The name of the sender

fromTelephonetelephoneNo

The telephone number(s) of the sender

messagestringNo

The contents of the message provided by the sender

namestringNo

The name of the form (ex: contact, about, etc)

subjectstringNo

The subject of the form or email

toEmailstringNo

The email address of the person to which the form was sent

toNamestringNo

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 */
2
3var 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