Forms
contact
Form type:
"App\Form\Type\ContactType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
No options were passed when constructing this form.
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [ Symfony\Component\Validator\Constraints\Collection {#739 +payload: null +groups: [ "Default" ] +fields: [ "name" => Symfony\Component\Validator\Constraints\Required {#745 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#740 +payload: null +groups: [ "Default" ] +message: "Name should not be blank" +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Length {#741 +payload: null +groups: [ "Default" ] +maxMessage: "This value is too long. It should have {{ limit }} character or less.|This value is too long. It should have {{ limit }} characters or less." +minMessage: "This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more." +exactMessage: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters." +charsetMessage: "This value does not match the expected {{ charset }} charset." +max: null +min: 2 +charset: "UTF-8" +normalizer: null +countUnit: "codepoints" } ] } "email" => Symfony\Component\Validator\Constraints\Required {#746 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#742 +payload: null +groups: [ "Default" ] +message: "We'd like your e-mail address so we know how to reach you" +allowNull: false +normalizer: null } Symfony\Component\Validator\Constraints\Email {#743 +payload: null +groups: [ "Default" ] +message: "This value is not a valid email address." +mode: null +normalizer: null } ] } "phone" => Symfony\Component\Validator\Constraints\Required {#747 +payload: null +groups: [ "Default" ] +constraints: [] } "company" => Symfony\Component\Validator\Constraints\Required {#748 +payload: null +groups: [ "Default" ] +constraints: [] } "comments" => Symfony\Component\Validator\Constraints\Required {#749 +payload: null +groups: [ "Default" ] +constraints: [ Symfony\Component\Validator\Constraints\NotBlank {#744 +payload: null +groups: [ "Default" ] +message: "Comments should not be blank" +allowNull: false +normalizer: null } ] } ] +allowExtraFields: false +allowMissingFields: false +extraFieldsMessage: "This field was not expected." +missingFieldsMessage: "This field is missing." } ] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#689 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#690 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#691 …} -namespace: Closure() {#693 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#751 : "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#752 : "Symfony\Component\Form\Extension\Core\Type\FormType" : { : Symfony\Component\OptionsResolver\OptionsResolver {#750 …} } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "contact" "_contact" ] |
| cache_key | "_contact_contact" |
| compound | true |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#805 -form: Symfony\Component\Form\Form {#810 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#753 …5} |
| full_name | "contact" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "contact" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "contact" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_contact" |
| valid | true |
| value | null |