473,473 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Add additional fields to a form

Hi, I would like for users to check a box within a form to add more fields.

I have a simple form for scheduling deliveries but I need it to work a bit harder! The form caters for 1 palet of goods where the user can add the weight and dimensions of the pallet. I would like now to have the form handle up to 10 pallets, but only add more fileds when the user selects a "add more fields" type option. The database I use is SQL and I have added 10 additional tables to handle the requirements.

I have no idea how this could be done so any guidance would be appreciated.
Many thanks.

Scott
Oct 11 '10 #1
1 1634
jhardman
3,406 Recognized Expert Specialist
I've seen probably three ways to handle this issue, only one of those requires server-side scripting (asp for example). That approach is to perform some action (like a button-click) that sends a form back to the server, and the asp script re-builds the form with more fields.

Nowadays I see more people use javascript-based approaches. Either have javascript create new fields in runtime or have the extra fields hidden until needed.

Let me know if any of this helps or if it has at least helped you kn ow the way to go.

Jared
Oct 11 '10 #2

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

Similar topics

7
by: pizzy | last post by:
PROBLEM: I CAN'T GET THE LAST RESUTS TO WORK CORRECTLY. I WOULD PROVIDE THE CODE (AND WILL IF REQUESTED). BUT IN MY OWN WORDS I AM TRYING TO HAVE THE FIRST FORM DYNAMICALLY CREATE INPUT BOXES...
3
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems...
20
by: Robert | last post by:
Need some help to stop me going around in circles on this one.... Have a nested subform (subform2) which simulates a continuous form for the record on the parent subform. Subform2 has rows of...
6
by: Mark | last post by:
Hello. I have an MS Access 2000 form whose fields I need to read and write from VBA. The fields are data-bound, using a query that has been defined and saved in my Access database. The query...
1
by: vtxr1300 | last post by:
I am working with one of the .net starter kits and it uses the createuserwizard control. That's fine, but it doesn't include a field for first and last name. On another thread on asp.net, they...
2
by: Alien Clone | last post by:
I am using the following code within an Access database to retrieve data from Oracle and build a local table within the Access database. DoCmd.RunSQL "Select Field1, Field2, " _ & "'' as...
1
by: mazdotnet | last post by:
Hi guys, I've just started using ASP.NET's membership feature and it all seems pretty good. However, I need to have additional fields such as Address, Postal Code, Country, State, City...etc......
9
by: markla | last post by:
Hi, I have an EDM model, which I'm rendering using DynamicData pages. I need to add a derived/calculated field. For example, in a "Person" entity, I have LastName and FirstName. I need to...
5
by: aktar | last post by:
The code below adds a file field only if no other file field is empty. The code works as expected in FF and Opera. However in IE7, it will only create one additional field. Can anyone explain...
5
by: garfieldsevilla | last post by:
I have large table from which I need to select some records based on options given by the user in a form. Filtering the table is no problem but the filtered records (around 300) need additional...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.