I was wondering if anyone can help me with this. I want to have a form that the user fills out, then when they submit it, it displays the values on the page in a summary with two buttons: Submit and Cancel. The Submit button directs the user to the main page, while the Cancel button takes them back to the form, with the values entered still filled in. How do I do this? I have a simple form that shows the values on the next page, but I don't know how to make it go back with the values filled in. Maybe I am doing the whole page wrong. Can someone tell me how to do this?
twilitegxa
0
Newbie Poster
Recommended Answers
Jump to PostThere are 2 ways to do this: using same page 2 panels or 2 pages for
1. data entry and 2. Confirmation. You can hide-undhide panels (panelConfirm.visible= true) if you decide only one page.
For one page solution:
By default, show data-entry panel , hide other. On submit, read text …
Jump to PostI have changed your code to store and retrieve the values from Session.
<!-- UserForm.aspx --> <%@ Page Language="VB" ClassName="SenderClass" %> <script runat="server"> ' Readonly property for name Public ReadOnly Property Name() As String Get Return USerName.Text End Get End Property 'Readonly Property for phone Public ReadOnly …
All 8 Replies
padtes
30
Junior Poster in Training
twilitegxa
0
Newbie Poster
Ramesh S
129
Posting Pro
twilitegxa
0
Newbie Poster
Ramesh S
129
Posting Pro
twilitegxa
0
Newbie Poster
Ramesh S
129
Posting Pro
twilitegxa
commented:
Exactly what I needed!
+2
twilitegxa
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.