how to write custom field validations

I have some required fields in my models. when i click on Save button without enter any data, i need to display error messages in top of the applicatio page.for this i have to write any custom snippet. can any help me to give some sample snippet data

Hi Raj

Have a look at this thread, maybe you can find your answer there. If you don’t, I will gladly further assist you.

Cheers

Thanks David!