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
sanjusfdcsanjusfdc 

update record based on field in vf page

Hello everyone,
I am trying to update STATUS field from a campaign member.
Suppose now STATUS field value is "
Planned" and I have NEW STATUS field if I give the value "sent" 
it should change the STATUS field value.
NOTE: STATUS and NEW STATUS both have same value.
Thanks in advance.
 
PriyaPriya (Salesforce Developers) 
The developer community recommends providing any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this while posting a question.