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
pooja h 1pooja h 1 

I am working on Visualforce trialhead challenge and I receive the following error

User-added image
Please help
Best Answer chosen by pooja h 1
Raj VakatiRaj Vakati
Change command button as shown below 
 
<apex:commandButton action="{!save}" value="Save"/>

 

All Answers

Raj VakatiRaj Vakati
Change command button as shown below 
 
<apex:commandButton action="{!save}" value="Save"/>

 
This was selected as the best answer
Vinod ChoudharyVinod Choudhary
Hi Pooja,

The issue is on your on Class/Controller not on your VF page.

Share the Class/Controller code, I will help you :)

Cheers !!

Thanks
Vinod
pooja h 1pooja h 1
Hi Vinod,
The Code is working.
Thanks!!
pooja h 1pooja h 1
Hi Raj,
I have changed the command button, Now code is working. Can you please tell me how this command affect the standard controller? so that I can avoid mistakes in future.
Thanks