Files
ax3Client/src/Constants/Fields/Signupfields.js
Kenneth Jannette 4c1fb67383 first commit
2024-01-11 18:24:41 -06:00

49 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" },
password: {
required: true,
label: "Password",
maxLength: 45,
type: "password",
},
confirmPassword: {
required: true,
label: "Confirm Password",
maxLength: 45,
compareTo: "password",
type: "confirmPassword",
},
};