OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Programming Questions Contact address js requirements

This topic contains 1 reply, has 2 voices, and was last updated by  ishakuta 9 years, 2 months ago.

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

  • Creator
    Topic
  • #24980

    Ivan
    Participant

    Hello,

    I need to customize address contact form behavior.
    Now, if user choose country, he need put ZIP code, city, street.
    So I need only country, how I can customize that js form behavior?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #24981

    ishakuta
    Participant

    Hi, @ivan_dyadin

    You should override Contact bundle and define your own validation group, e.g.:
    validation.yml

    And add form extension to set this validation group to address form.
    Default validation constraints won’t be used after that.

    Not sure it will work as is, but you got an idea.

    Btw: next week we’ll host another webinar about customization techniques and will show how you can do similar overrides yourself.

Viewing 1 replies (of 1 total)

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

Back to top