+ Start a Discussion
BeekmanBeekman 

JavaScript Button to Erase fields

Hello, I am new to this but I am trying to create a custom button with javascript that will delete a few fields and copy one into another.

 

I would like to delete fields A, B and C.  Copy D to E. Both on a custom object Machine (Machine__c)

 

Any help would be appreciated.

MartinHaagenMartinHaagen
Hi Beekman,

you will need to have a look at the AJAX Toolkit - have a look at the reference manual.Theres a lot of examples in it.

http://www.salesforce.com/us/developer/docs/ajax/apex_ajax.pdf

Best rregards

Martin