first commit
This commit is contained in:
18
src/Constants/Fields/DemoFields.js
Normal file
18
src/Constants/Fields/DemoFields.js
Normal file
@@ -0,0 +1,18 @@
|
||||
export const demofields = {
|
||||
firstName: { required: true, label: "First Name", maxLength: 45 },
|
||||
lastName: { required: true, label: "Last Name", maxLength: 45 },
|
||||
telephone: {
|
||||
required: true,
|
||||
label: "Telephone: (###) ###-####",
|
||||
maxLength: 45,
|
||||
type: "phone",
|
||||
},
|
||||
email: { required: true, label: "Email", maxLength: 45, type: "email" },
|
||||
firm: { required: true, label: "Firm", minLength: 3, maxLength: 45 },
|
||||
firmSize: {
|
||||
required: true,
|
||||
label: "Firm Size (num of attorneys)",
|
||||
minLength: 3,
|
||||
maxLength: 45,
|
||||
},
|
||||
};
|
||||
48
src/Constants/Fields/Signupfields.js
Normal file
48
src/Constants/Fields/Signupfields.js
Normal file
@@ -0,0 +1,48 @@
|
||||
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",
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user