Skip to main content

Notifications

Business Central forum
Answered

Can we apply onvalidate trigger on option field in business central?

Posted on by 36
Can we use onvalidate trigger in option field in business central?
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 61,962 Super User on at
    Can we apply onvalidate trigger on option field in business central?
    Yes, only Flowfield is not allowed.
    And, If both the table field and page field triggers are defined, then the OnValidate trigger on the table field is run before the OnValidate trigger on the page field.
    More details:
     
    Thanks.
    ZHU
  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,773 Super User on at
    Can we apply onvalidate trigger on option field in business central?
    Yes, you should be able to use the OnValidate trigger on option/enum field.
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 11,228 User Group Leader on at
    Can we apply onvalidate trigger on option field in business central?
    Hi,
     
    Yes, you can apply onvalidate trigger on any valid field datatype in business central.
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 3,574 Super User on at
    Can we apply onvalidate trigger on option field in business central?
    Hi
    Here is an example of what I understood you wanted to know.
    BR
    GR

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,623 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,463 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans