You need to sign in to do that
Don't have an account?
Philip DeGraaf
Javascript Button to Validated Required fields
I've searched high and low for an example of a Validation button(javascript) for my custom object. What I need the Validate Button to do is to validate what fields should be required based on a picklist selection. I was really hoping not to do any apex. The reason for using the button on the custom object instead of standard required fields is so the Sales reps can save as they go before validating required fields.
if(ISPICKVAL(picklist_field, "selection 1"), (validate 10 fields), IF(ISPICKVAL(picklist_field, "selection 2"), validate _5_fields, false))