55 lines
1.3 KiB
JavaScript
55 lines
1.3 KiB
JavaScript
export const signupFields = {
|
|
firstName: { required: true, label: "First Name", maxLength: 45 },
|
|
lastName: { required: true, label: "Last Name", maxLength: 45 },
|
|
firm: { required: true, label: "Firm", minLength: 2, maxLength: 45 },
|
|
telephone: {
|
|
required: true,
|
|
label: "Telephone: (###) ###-####",
|
|
maxLength: 45,
|
|
type: "phone",
|
|
},
|
|
streetAddress: {
|
|
required: true,
|
|
label: "Street Address",
|
|
minLength: 2,
|
|
maxLength: 45,
|
|
},
|
|
city: { required: true, label: "City", maxLength: 45 },
|
|
state: {
|
|
required: true,
|
|
label: "State",
|
|
minLength: 3,
|
|
maxLength: 45,
|
|
type: "select",
|
|
values: ["Florida", "Massachusetts", "New Jersey", "New York"],
|
|
},
|
|
zipCode: {
|
|
required: true,
|
|
label: "Zip Code (5 Digit)",
|
|
maxLength: 6,
|
|
type: "zip",
|
|
},
|
|
barNumber: { required: true, label: "Bar Number", maxLength: 45 },
|
|
practiceArea: { required: true, label: "Practice Area", maxLength: 45 },
|
|
email: {
|
|
required: true,
|
|
label: "Email",
|
|
maxLength: 45,
|
|
type: "email",
|
|
inputWidth: "80%",
|
|
},
|
|
password: {
|
|
required: true,
|
|
label: "Password",
|
|
maxLength: 45,
|
|
type: "password",
|
|
},
|
|
confirmPassword: {
|
|
required: true,
|
|
label: "Confirm Password",
|
|
maxLength: 45,
|
|
compareTo: "password",
|
|
type: "confirmPassword",
|
|
},
|
|
};
|