Files
ax3Client/src/Constants/Fields/SignupFields.js
Kenneth Jannette 01fa0316d0 more
2024-02-01 16:51:13 -06:00

61 lines
1.5 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", "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",
},
};
export const stateDataValues = [
{ name: "Florida", value: "florida", code: "fl" },
{ name: "New York", value: "newYork", code: "ny" },
{ name: "New Jersey", value: "newJersey", code: "nj" },
];