• xddankex
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

hi

 

i have an customobject. i have a view created to show some records. i want to have an ability to update a field in the custom object to true for all selected records<a href="http://www.wbiura.pl"> wirtualne biuro </a>. i have a custom button created and have it included in the view layout

 

I am not sure how to go about doing the update using java script.  i have the behaviour as execute javascript and in onclick javascript i have

	{!Appointment__c.test1__c}='true'

 Test1 is the field which i want to update. check syntax give no errors but when i click the button its gives

A problem with the OnClick JavaScript for this button or link was encountered:

syntax error

 Any ideas, i dont mind using javascript or any other means to do a mass update.

 

Thanks