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
Sam WardSam Ward 

Update a current record to have blank values with a javascript button

I am new to javascript but having some problems getting it to execute and update fields, Please see below a screen shot of what I have so far, I think its something to do with the Stock.Name rather than an ID but not sure. If anyone can point me in the right direction that would be great. 

User-added image

Thanks in advance