{
  "contact": {
    "title": "Kontaktperson for tekniske avklaringer",
    "name": {
      "top-label": "Navn:",
      "text-input-id": "contact-name",
      "text-input-placeholder": "Feks. Kari Nordmann",
      "isRequired": true,
      "data-required": {
        "data-required-message": "Du har ikke oppgitt navn på kontaktperson."
      }
    },
    "phone": {
      "top-label": "Telefon:",
      "text-input-id": "contact-phone",
      "input-type": "tel",
      "isRequired": true,
      "error-message-popover": true,
      "form-control-class": "a-input-phonenumber",
      "has-feedback": {
        "icon-prefix": "ai",
        "iconClass": "ai-plus",
        "iconExtraClass": "form-control-feedback"
      },
      "data-required": {
        "data-required-message": "Du har ikke oppgitt telefonnummer."
      },
      "input-regex-validation": {
        "error-message": "Telefonnummer må bestå av 8 siffer",
        "validation-pattern": "\"[0-9]{8}\""
      },
      "form-label-isPhoneNumber": {
        "text-input-id": "text-input-countrycode", 
        "text-input-placeholder": "+47",
        "form-control-class": "a-input-countryCode a-js-countryCode",
        "input-type": "tel",
        "isRequired": true,
        "maxlength": 6,
        "minlength": 2,
        "input-regex-validation": {
          "error-message": "Landskode må bestå av '+' og 2 eller 3 siffer",
          "validation-pattern": ""
        }
      }
    },
    "email": {
      "top-label": "Epost:",
      "text-input-id": "contact-email",
      "text-input-placeholder": "f.eks post@karinordmann.no",
      "input-type": "email",
      "error-message-popover": true,
      "isRequired": true,
      "input-name": "email-field",
      "input-regex-validation": {
        "error-message": "Feil epost verdier",
        "validation-pattern": "(('[^']+')|(([a-zA-Z0-9!#$%&'*+-=?^_`{|}~])+(.([a-zA-Z0-9!#$%&'*+-=?^_`{|}~])+)*))@((((([a-zA-Z0-9æøåÆØÅ]([a-zA-Z0-9-æøåÆØÅ]{0,61})[a-zA-Z0-9æøåÆØÅ].)|[a-zA-Z0-9æøåÆØÅ].){1,9})([a-zA-Z]{2,14}))|((d{1,3}).(d{1,3}).(d{1,3}).(d{1,3})))"
      },
      "extra-help": false,
      "isHidden": false,
      "isLarge": false,
      "form-label-hasIcon": {
        "icon-prefix": "ai",
        "iconClass": "ai-closedmessage"
      },
      "data-required": {
        "data-required-message": "Du har ikke oppgitt epost."
      }
    }
  },
  "submit": {
    "button-text": "Send bestilling",
    "buttonClass": "a-btn d-block mt-3",
    "button-id": "a-js-contactForm-submit2",
    "button-type": "button",
    "onclick": false,
    "button-icon": false,
    "display-as-link": false,
    "data-is-success": true,

    "data-action": "next",
    "data-toggle":"altinn-modal",
    "data-target":"#modal-message",
    "page-url": "../..link.organismer-melding-ferdig"
  }
}
