Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI, i have a form and after the submission of the form i want to view it as readonly. in my form i am submitting some data to the database and every form is submitted on the basis of an id. and i want to get the readonly view of that form which is related to that id.
Posted
Comments
kk2014 19-Apr-13 3:25am    
you can make the controls read only after form submission..
nishant2310 19-Apr-13 3:27am    
i want to load the whole form on user requirement if he wants to look at his form ??
kk2014 19-Apr-13 3:32am    
please elaborate your req.
what is "every form is submitted on the basis of an id. and i want to get the readonly view of that form which is related to that id." in your post?
nishant2310 19-Apr-13 3:38am    
forget the above thing.
user submit one form now he wants to see his form how it looks. how to do that ?
kk2014 19-Apr-13 3:44am    
user want to see that form on another page or same page?

1 solution

The simplest solution is make form controls 'Readonly' when user selects 'Verify' (to see what he has entered) and display it. On selection of 'Submit' make a trip to server for actual data submission.

Creating/displaying on another page needs a new page to be created to display the data. Also you've to submit the data to the server to render it on the newly added page causes extra round trip to the server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900