Fields
DMField
Attributes:
name
Yes
The name of the field. It has to be one of the DMField.* constants.
className
No
You custom css class to apply to the field.
value
No
The initial value of the field.
placeholder
No
The placeholder to be displayed.
style
No
Any inline styles.
hidden
No
If this is a hidden input.
Example:
import {DMField} from "@dealermesh/react";
<DMField name={DM_FIELDS.DR_CASH_DOWN} value={deal.down_payment} className="custom-input-class" value={2000}></DMField>Output:
<input name="dr_cash_down" type="text" class="custom-input-class" value="2000" aria-label="Cash down" tabIndex="0">DMField Names
import {DM_FIELDS} from "@dealermesh/react";Payment/Quote
DR_CASH_DOWN
Cash Down
DR_CREDIT_TIER
Credit Tier
DR_FINANCE_TERM
Financing term in months
DR_LEASE_TERM
Leasing term in months
DR_LEASE_MILES
Annual Lease milleage
DR_OFFER
Incentive or rebate selector, like a checkbox
DR_PLAN
Protection plan selector, like a checkbox
Trade
TRADE_VEHICLE_PLATE
Vehicle Plate Number
TRADE_VEHICLE_STATE
2-letter State abbreviation of vehicle registration
TRADE_VEHICLE_VIN
17 character vehicle indentification number
TRADE_VEHICLE_MILES
The current odometer reading in miles
TRADE_VEHICLE_CONDITION
Condition of the vehicle - Excellent, Good, Fair, Bad
TRADE_VEHICLE_OPTION
Multi-select vehicle options, like a checkbox
Soft Credit Form
SOFT_CREDIT_FIRST_NAME
First name
SOFT_CREDIT_LAST_NAME
Last name
SOFT_CREDIT_EMAIL
Email address
SOFT_CREDIT_PHONE
Home or mobile phone number
SOFT_CREDIT_ADDRESS
Street address, including apartment number or unit.
SOFT_CREDIT_CITY
City
SOFT_CREDIT_STATE
State
SOFT_CREDIT_ZIP
Zip or postal code
Credit Application
CREDIT_APP_FIRST_NAME
First name
CREDIT_APP_LAST_NAME
Last name
CREDIT_APP_EMAIL
Email address
CREDIT_APP_PHONE
Phone number
CREDIT_APP_ADDRESS
Address Line 1
CREDIT_APP_ADDRESS_2
Address Line 2
CREDIT_APP_CITY
City
CREDIT_APP_STATE
State
CREDIT_APP_ZIP
Zip or Postal Code
CREDIT_APP_ADDR_LESS_2Y
Have you lived at the address for less than 2 years (checkbox)
CREDIT_APP_PREV_ADDR_ADDRESS
Previus street address
CREDIT_APP_PREV_ADDR_CITY
Previous city
CREDIT_APP_PREV_ADDR_STATE
Previous state
CREDIT_APP_PREV_ADDR_ZIP
Previous zip or postal code
CREDIT_APP_HAVE_CO_APP
Do you have a co -applicant? (checkbox)
CREDIT_APP_CO_APP_FIRST_NAME
Co-applicant's first name
CREDIT_APP_CO_APP_LAST_NAME
Co-applicant's last name
CREDIT_APP_CO_APP_EMAIL
Co-applicant's email
CREDIT_APP_CO_APP_PHONE
Co-applicant's phone number
CREDIT_APP_CO_APP_ADDRESS
Co-applicant's street address line 1
CREDIT_APP_CO_APP_ADDRESS_2
Co-applicant's address line 2
CREDIT_APP_CO_APP_CITY
Co-applicant's city
CREDIT_APP_CO_APP_STATE
Co-applicant's state
CREDIT_APP_CO_APP_ZIP
Co-applicant's zip or postal code
CREDIT_APP_CO_APP_ADDR_LESS_2Y
Has co-applicant's live at the address for less than 2 years (checkbox)
CREDIT_APP_CO_APP_PREV_ADDR_ADDRESS
Co-applicant's previous street address
CREDIT_APP_CO_APP_PREV_ADDR_CITY
Co-applicant's previous city
CREDIT_APP_CO_APP_PREV_ADDR_STATE
Co-applicant's previous state
CREDIT_APP_CO_APP_PREV_ADDR_ZIP
Co-applicant's previous zip or postal code
CREDIT_APP_HOUSING_STATUS
Housing status. Dropdown based on the application partner
CREDIT_APP_MORTGAGE_RENT
Total monthly mortgage or rent
CREDIT_APP_TIME_AT_ADDR_YEARS
Time lived at the current address - years
CREDIT_APP_TIME_AT_ADDR_MONTHS
Time lived at the current address - months
CREDIT_APP_INCOME_TYPE
Type of income. Dropdown based on the application partner
CREDIT_APP_INCOME_INTERVAL
Interval at which you get paid - weekly, bi-weekly, monthly, yearly
CREDIT_APP_INCOME
Total Income
CREDIT_APP_SSN
Social Security Number
CREDIT_APP_DOB
Sate of Birth
CREDIT_APP_EMPLOYMENT_STATUS
Status of employment - dropdown based on application partner
CREDIT_APP_EMPLOYER
Name of employer
CREDIT_APP_JOB_TITLE
Job title
CREDIT_APP_WORK_PHONE
Work phone number
CREDIT_APP_TIME_AT_JOB_YEARS
Total time at job (years)
CREDIT_APP_TIME_AT_JOB_MONTHS
Total time at job (months)
Contact Form
CONTACT_FIRST_NAME
First name
CONTACT_LAST_NAME
Last name
CONTACT_EMAIL
CONTACT_PHONE
Phone
CONTACT_MOBILE_PHONE
Mobile phone
Appointment
APPOINTMENT_DATE
Appointment date
APPOINTMENT_TIME
Appointment time
APPOINTMENT_DATETIME
Appointment date and time (both)
Last updated