473,320 Members | 1,825 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,320 software developers and data experts.

Posting Form Fields in a hidden DIV

KeredDrahcir
426 256MB
I want to break a form into more than one page but post all the fields in on go at the end. I was think of hacing the first page and then having a Next >> button that would set the style of the div surounding those fields to display: none and setting the div sttyle of the div surrounding the remaining fields to display: block.

If I do this, will the fields in the hidden div still be posted?

Is there a better way to do this? The fields are created dynamically so I wont knwo how many there could be before hand and may want different numbers of fields on each page.
Oct 7 '10 #1
2 1267
acoder
16,027 Expert Mod 8TB
It should work. Have you tried it? Any problems?
Oct 8 '10 #2
KeredDrahcir
426 256MB
Haven't gor round to trying it yet. It's not something I'm planning too soon but I need to plan ahead. If it should work I can work out when to do it.
Oct 8 '10 #3

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

Similar topics

2
by: Gawie Marais | last post by:
hi all, i have a form and would like to check two fields. if field 1 containes the letter 'c' and the other field contains 'undefined', then an error should apprear ina box on the screen. can...
5
by: Thor W Hammer | last post by:
In ASP.NET 2.0, it seems to wrap a div around the hidden form fields such as __ViewState. How do you override this rendering?
4
by: Mark | last post by:
Assume you have a web application with many different web pages, and you'd like to avoid using cookies and storing session state in any form. Assume further that bandwidth and security are not...
4
by: mickey | last post by:
I have a form like the one below. Upon submit I would like to self post to the same page but have the original $_POST data( which was posted to this page from another ) also be sent along with the...
1
by: Derek Basch | last post by:
I spent several hours struggling with dynamic form fields added with appendChild or innerHTML not POSTing on submit in Firefox. The only way I found to make it work is to append any created fields...
3
by: cmo | last post by:
Well I hope I this isn't too nebulous of a problem. The problem I currently have is this: I have a button in a form that opens up a javascript/css poup that has an input field and two ahref links...
1
by: AR123 | last post by:
Hi I have set up mandatory form fields but it dosne t seem to be working. Would appreciate it if somone could have a look. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> ...
26
by: pepper.gabriela | last post by:
Hello, a stupid question but... page_A.php is a page with a form. The user inserts text in four fields, then he clicks a submit button. The data goes to page_B.php: this page controls the data...
11
by: CJM | last post by:
I have a bit of code that inserts some extra controls (specifically, ordinary <input type="hidden" name="MyField"form fields) into an existing HTML form. However, it is mangling the name & IDs of...
0
by: =?Utf-8?B?YnJ1Y2UgYmFya2Vy?= | last post by:
asp.net munges the name, because this is what the browser posts. remember forms can not be nested, so the placeholder must be outside the form. you could create you own naming container, that did...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.