realEstateForm Object

A user-submitted data entry form.

A user-submitted data entry form. Contains properties for common real estate form fields.

FieldTypeRequiredDescription
agentNamestringNo

The name of the sender's agent

fromEmailemailNo

The email address of the sender

fromNamestringNo

The name of the sender

fromTelephonetelephoneNo

The telephone number(s) of the sender

isPrequalifiedbooleanNo

The sender is prequalified for a mortgage

isWorkingWithAgentbooleanNo

The sender is working with an agent

messagestringNo

The contents of the message provided by the sender

namestringNo

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

relatedListinglistingNo

The listing related to this form submission

subjectstringNo

The subject of the form or email

toEmailemailNo

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

toNamestringNo

The name of the person to which the form was sent

1/* realEstateForm example */
2
3var listing = {
4 "price": 349000,
5 "mlsId": "2983599"
6 ...
7};
8
9var form = {
10 "fromEmail": "frank@fllngwtr.com",
11 "fromName": "Frank Wright",
12 "fromTelephone": {
13 "mobile": "555.867.5309"
14 },
15 "isPreQualified": false,
16 "isWorkingWithAgent": false,
17 "message": "Hi, I need an agent to sell my historic home in Pennsylvania.",
18 "name": "agent-contact-form",
19 "subject": "Looking for an agent",
20 "toEmail": "agent@yourcompany.com",
21 "toName": "Suzie Agent",
22 "relatedListing": listing
23};

Updated July 25, 2026