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
MargiroMargiro 

Saving a form doesnt do anything

I have a 3 page wizard with a save button on the last page. After all the data is entered an i go to hit save the page seems to just refresh over and over again. The data in the form isnt lost but i can not redirect away to finish the wizard. How can I fix this?
Best Answer chosen by Admin (Salesforce Developers) 
David VPDavid VP

You might have a validation or other error happening which prevents your record from saving.

If you haven't already put an apex:pagemessages component on your page : it will show exceptions that might tell you what went wrong.

All Answers

RyanGuestRyanGuest

Can you post some sample code or a URL of your site?

 

Also, does saving the form work from within salesforce.com?

 

 

Have you taken a look at the example wizard on the wiki? (http://wiki.developerforce.com/index.php/NewOpportunityController.apex)

 

David VPDavid VP

You might have a validation or other error happening which prevents your record from saving.

If you haven't already put an apex:pagemessages component on your page : it will show exceptions that might tell you what went wrong.

This was selected as the best answer