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: 3, maxLength: 45 },
  telephone: {
    required: true,
    label: "Telephone: (###) ###-####",
    maxLength: 45,
    type: "phone",
  },
  streetAddress: {
    required: true,
    label: "Street Address",
    minLength: 3,
    maxLength: 45,
  },
  city: { required: true, label: "City", maxLength: 45 },
  state: {
    required: true,
    label: "State",
    minLength: 3,
    maxLength: 45,
    type: "select",
    values: ["Florida", "Michigan", "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,
    minLength: 8,
    type: "password",
  },
  confirmPassword: {
    required: true,
    label: "Confirm Password",
    maxLength: 45,
    minLength: 8,
    compareTo: "password",
    type: "confirmPassword",
  },
};

export const stateDataValues = [
  { name: "Florida", value: "florida", code: "fl" },
  { name: "Michigan", value: "michigan", code: "mi" },
  { name: "New York", value: "newYork", code: "ny" },
  { name: "New Jersey", value: "newJersey", code: "nj" },
];
