function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

validation rules on related list fields up on saveing record

I have Account as parent object. Campaigne and Candidate objects are child objects of (lookup) Account Objects. in Candidate Objects I have 3 fields first name, Last Name, Age fields. when i am treying to save Campagine record if it shoud check related candidate fields(first name, Last Name, Age) should not bank. if blank upon saveing Campagine records it should display error message that 'first name, Last Name, Age' fileds should not blank. it should work if any of candidate field is blank also...

kindly suggest me....
William TranWilliam Tran
how is campaign and candidate relate to each other?  parent/child? or Nothing?

thanks for reply.....
No relation ship between 
campaign and candidate 
William TranWilliam Tran
Well, the validation does not make sense to me since.

If first, last name and age is needed, then you should make those mandatory fields when creating the candidate object then you are done.

as per my requirment i need to show error message upon saveing campaig record only..
related account related candidate...
Jay Parikh 25Jay Parikh 25
please check ur paten child relaion one more time may be there were some problem and it is not related to each others