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
najumuddin najnajumuddin naj 

Formula Expression is required on the action attributes. I am getting this error while working with CMSForce2?

Hi all I am getting this error "Formula Expression is required on the action attributes" while working with CMSForce2?
Virendra ChouhanVirendra Chouhan
Hi najumuddin 

i don't know what is CMSForce2 but i think this error is occure when we forget {! } in action attribute.

i.e. use action="{!save}" insted of action="Save"

Regards
Virendra
PrasadVRPrasadVR
Hi najumuddin 

In addition to Virendra statement, if your redirecting user to some other page using pageReference method and if you forgot to mention forward slash you will get this error  

some thing like this 

pageReference paq = new pageReference('apex/somecontrollername');  // you will get error 

pageReference paq = new pageReference('/apex/somecontrollername'); // this will work 



Thanks 
Prasad VR