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
finance1.3965145028592822E12finance1.3965145028592822E12 

I want to display some fields upon clicking the submit button in the same form

Sonam_SFDCSonam_SFDC
if I understand this correctly, you wish to use the submit button to commit data to db from the VF page and then redirect back to the same page showing some more fields - have you tried using the commandbutton with rerender attribute?
Using rerender you can update a section of the visualforce page and add the fields you wish to show, something similar to what is explained on the link below:
http://salesforce.stackexchange.com/questions/7497/hide-and-show-pageblock-on-button-click