473,385 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

passing retrieving data and display form summary before submit

18
dear experts,
i'm very newbie in javascript and i've been assined to work in a project that has a lot of javascript so i realy need your help.
my question is: i'm building a form and at the end of this form after all fields are filled in i need to submit a summary of all the information filled in by the client and after that send it.
so the user can view the information he filled in before he can send the form.
i think i need two buttons the send button is hidden and the summary one is visible and when he clicks the summary button he can see all the information he already filled in and after that he can send it.
any suggestions or examples how i can implement this. please make it easy on me cus as i told you i'm very new to this, so step by step please.
thanks
Dec 11 '06 #1
10 2736
dear experts,
i'm very newbie in javascript and i've been assined to work in a project that has a lot of javascript so i realy need your help.
my question is: i'm building a form and at the end of this form after all fields are filled in i need to submit a summary of all the information filled in by the client and after that send it.
so the user can view the information he filled in before he can send the form.
i think i need two buttons the send button is hidden and the summary one is visible and when he clicks the summary button he can see all the information he already filled in and after that he can send it.
any suggestions or examples how i can implement this. please make it easy on me cus as i told you i'm very new to this, so step by step please.
thanks

Expand|Select|Wrap|Line Numbers
  1.  
  2. Hi,
  3.          I guess that you want to get the report of the form just like,
  4.  to display whichever fields you filled..Am i clear? Awaiting your response.
  5.  
  6.  
Dec 12 '06 #2
mrjoka
18
Expand|Select|Wrap|Line Numbers
  1.  
  2. Hi,
  3.          I guess that you want to get the report of the form just like,
  4.  to display whichever fields you filled..Am i clear? Awaiting your response.
  5.  
  6.  
yes my friend, exactly, in the form i have some dates, check boxes, all kind of controlls.
Dec 12 '06 #3
acoder
16,027 Expert Mod 8TB
dear experts,
i'm very newbie in javascript and i've been assined to work in a project that has a lot of javascript so i realy need your help.
my question is: i'm building a form and at the end of this form after all fields are filled in i need to submit a summary of all the information filled in by the client and after that send it.
so the user can view the information he filled in before he can send the form.
i think i need two buttons the send button is hidden and the summary one is visible and when he clicks the summary button he can see all the information he already filled in and after that he can send it.
any suggestions or examples how i can implement this. please make it easy on me cus as i told you i'm very new to this, so step by step please.
thanks
Post the code that you have so far (if any).
Dec 15 '06 #4
AricC
1,892 Expert 1GB
So you want them to preview there content before sending this? How are you sending the data?
Dec 15 '06 #5
mrjoka
18
hi,
sorry for being late to answer back because i had a vacation.
the scenario is that i have a form that has to be filled in by the user and after sending the form i want the user to be able to see the summary of what he filled in, i have a form that has all kind of controlls, check boxes, drop down list, birth day, all kind of controlls.
i started by creating a page called summary and i tried to store all the information in that page. but i could not continue.
is there an easy way to do that?
some examples will be more helpful.
thanks
Dec 20 '06 #6
mrjoka
18
dear experts,
my question is: i'm building a form and at the end of this form after all fields are filled in i need to submit a summary of all the information filled in by the client and after that send it.
so the user can view the information he filled in before he can send the form.
in the form i have all kind of buttons, radio check, radio bottons, birthday, everything.
any suggestions or examples how i can implement this. please make it easy on me cus as i'm very new to this.
thanks
Dec 21 '06 #7
AricC
1,892 Expert 1GB
Ok so you want to have a user fill out a form then preview it before sending? Do you have any of the code completed?
Dec 22 '06 #8
mrjoka
18
hi,
no right now i just have the original form which has all kind of controlls, i have check box control, date, drop down buttons, check radio, all kind of controlls. can you tell me a way to pass the value os these controls and then show them to the customer before he can send the form?
thanks
Dec 27 '06 #9
acoder
16,027 Expert Mod 8TB
hi,
sorry for being late to answer back because i had a vacation.
the scenario is that i have a form that has to be filled in by the user and after sending the form i want the user to be able to see the summary of what he filled in, i have a form that has all kind of controlls, check boxes, drop down list, birth day, all kind of controlls.
i started by creating a page called summary and i tried to store all the information in that page. but i could not continue.
is there an easy way to do that?
some examples will be more helpful.
thanks
Assuming the form is named theForm, an input textbox, theInput,:
Expand|Select|Wrap|Line Numbers
  1. var inputval = "Input box: " + document.theForm.theInput.value;
Then how do you wish to display. if using an alert box:
Expand|Select|Wrap|Line Numbers
  1. summary += inputval; //this would go after each control
  2. // += adds to the current value of summary.
  3. alert(summary);
Once the summary has been displayed, you can display the submit button.

I think you'll need to give more info. - your code so far.
Dec 27 '06 #10
karthi84
271 100+
hi,
you can use a pop up window on button submit to get all the values from the main page with the caption verification and have the submit button from the pop up window.

i think this should solve your problem.
Dec 29 '06 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Nicolas Keller | last post by:
Hi! I'm used to have Mozilla for testing my PHP sites when I'm coding. The site's nearly finished, now I've made a test with the Internet Exlporer... guess what... failed. The problem: I'm...
3
by: redneck_kiwi | last post by:
Hi all: I have a really weird problem. I am developing a customer catalog system for my company and as such have delved into sessions for authentication and access levels. So far, I have managed...
17
by: Freeserve | last post by:
Hi, I am trying to pass a value from an ASP script to a VB application running on the server. The only way I have got this to work is by using a file, which is too slow. I tried using DDE but...
3
by: John Dunlop | last post by:
(Note crosspost and follow-ups to ciwah.) Nicolas Keller wrote in thread "Differences in form handling btw Mozilla and IE?": > The problem: I'm using a form that submit's (POST) its data via...
10
by: Noozer | last post by:
Below is some ASP, HTML and javascript. It is part of a page used to maintain a small database. This code did work at one time, but has since stopped. For some reason the data on my form is not...
1
by: Jeffrey B. Holtz | last post by:
I'm trying to get the Name of the USB device pluged in from the RegisterDeviceNotification that I've used P/Invoke to marshal. I have seen a similar posting on the VisualBasic newgroups but I do...
8
by: Johnny | last post by:
I'm a rookie at C# and OO so please don't laugh! I have a form (fclsTaxCalculator) that contains a text box (tboxZipCode) containing a zip code. The user can enter a zip code in the text box and...
15
by: tmax | last post by:
PHP Pros: I have a simple html form that submits data to a php script, which processes it, and then redisplays the same page, but with a "thank you" message in place of the html form. This is...
6
by: jej1216 | last post by:
I am trying to put together a PHP search page in which the user can select none, one, two, or three fields to search, and then the results php will build the SQL with dynamic where caluses to reflect...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.