OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Overriding form RFQ

This topic contains 2 replies, has 2 voices, and was last updated by  Guillaume Deneux 1 year, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #37451

    Guillaume Deneux

    I added a field from the backoffice on the entity rfq, I wish to make this option mandatory and type email.
    To add these constraints I am looking to modify the form:

    I followed the documentation:

    All my tests lead me to the same error:

    Cannot read index “firstName” from object of type “Oro\Bundle\RFPBundle\Entity\Request” because it doesn’t implement \ArrayAccess.

    I created the class RequestType from namespace namespace Tbd\RFPBundle\Form\Type\Frontend :

    In my file .yml

    What is wrong ?

    thanking you

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No