+ Start a Discussion
Tobias HaggeTobias Hagge 

Comment syntax for button

I have tried

// comment
/* comment */
<!-- comment -->

Any other ideas what the syntax might be? Or is it not possible at all?
sweetzsweetz
It says we can apply for formula fields, but not sure on buttons
https://help.salesforce.com/apex/HTViewHelpDoc?id=customize_formulas.htm&language=nl
Tobias HaggeTobias Hagge
Yeah, /* */ works on formulas, but no luck in buttons. Pretty unfortunate, since they can become quite complicated.
RadnipRadnip
What type of buttons? If its a javascript button you can use javascript commenting...
Tobias HaggeTobias Hagge
No unfortunately. It's a detail page link that displays in existing window with sidebar and content URL.