+ Start a Discussion
GRStevenBrookesGRStevenBrookes 

Help with OnClick JavaScript Button

Morning All,

 

I have limited experience of creating Javabuttons - mainly conditional but am getting stuck on this one and would be most grateful of any assistance.

 

I have 2 objects,

Service_Agreement__c

Service_Implementation__c (Master Detail (Child) to above)

 

The SA will only ever have 1 SI, what i would like is for a button which sets the field on the child object (Service Implementation__c)named Stage__c to 'Set Live' but only when the check box named 'Condition__c' is TRUE. When it is FALSE, then a message should be displayed to the User saying 'Denied'.

 

Many thanks in advance.