Field Control

Hi

I want to control some field is entered data

Example

my table field code| EDT| new_Edt| Size

if user select EDT not select new_EDT adn size,I must give error message.

or

if user enter data new_edt ,not enter EDT and enter Size

How can I control this?

,I ask very much I know but I m begınner =( sorry

Thanks for all

If you want to control what data is entered into a field you can check it in the OnValidate trigger of the field in the table.

Im not sure this is NAV question or AX, but if NAV the other solution is when you would like to check the input value on the Forms OnValidate Trigger, but if you would like to do something with the input value (posting or…) it is better to use of Table [field].OnValidate Trigger as the comment before.