how to design form with two fields that need to have ability to add a limitless number of values.

I have a form with 5 textboxes and 2 fields that need to have an endless number of options and I just don't know how to deal with this all on one form.  Questions 1-5 are basic demo graphic questions about a person (Name, address, etc)

Question 6 asks you to provide insurance beneficiaries and their percentage, and there is no limit to the number of insurance beneficiaries you can have.  (You could list 100 beneficiaries, with each getting 1%)

Question 7 asks the user to provide 401k benficiaries and their percentage, and again, there is no limit to the number you can have, but the percentage must equal 100%

The only way I can even think of doing this is with three separate .aspx pages.  Page 1 has questions 1-5, page 2 has question sx with an "add"button to allow limitless additions and then a continue button when the percentage equals 100%.  Page 3 would be the same as page two, but for question 7. 

Is there a better way?  Could I have three forms on one page?    Any online samples I could look at? 

Never make important decisions on a Monday!
5/7/2008 4:00:21 PM 91979 articles. 3 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 18

There are many ways to achieve this.

A very simple method would simply be creating three different panels on your page with only one of them visible at a time. When finished with entering all the data in panel one have your code hide that panel and make visible the next and so on.

My personal favorite method for stuffing a lot of content in a small space is with the AJAX accordion control. See an example of the AJAX accordion control here

Hope this gets you started.

Don't believe everything you think

Sarasota Web Design
5/7/2008 4:29:53 PM

I'm pretty new to .NET.  Using and Visual Studio 2008.   Do I need to download and install additional files to use these cool Ajax features, or are the same as the Ajax features included in VS 2008?

Never make important decisions on a Monday!
5/7/2008 6:28:04 PM

The tools you saw must be downloaded seperately.

Download the control tool kit here and unzip the file.

Next add the controls to Visual Studio

In VS right-click in the tool box and select add tab and give it a name like AJAX Tool Kit

With the new tab cerated right-click in it and select choose items

Click browse locate the file AjaxControlToolkit.dll located in this folder AjaxControlToolKit/SampleWebSite/bin/AjaxControlToolkit.dll

Click open then OK


Don't believe everything you think

Sarasota Web Design
5/7/2008 7:00:10 PM

Similar Artilces:

How to add several form field values to email being sent in
I have a form that sends an email when the submit button is clicked.  I'd like to include the values from the form into the text of the email, but I don't know how to do that.  Below is the code I have to send the email... How do I add all the form values to the message text  (mm.Body) and include line breaks or spacing to layout the form values for easy reading?  Protected Sub Submit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Submit.ClickConst ToAddress As String = ""Dim mm As New MailMessage("

getting start with and crystal repots(web form)
I use Crystal Report9 in Visual Studio.NET 2003..... Example at Northwind database I want a application that.....a form include a combobox that contain CustomerID.....If I choose one CustomerID and click OK button....a Report will display information about this Customer......I think that must use to do that ???? (How do I start to coding --please step by step or sample) please help me !!! Thank you so much!!! very good I have Dropdownlist when I choose the 'month'--> the all data of this field will show I use this Private Sub ddlMonth_Sel...

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul... add textbox values together to get total
Hi Guys Im using visual studio 2005 sql express, im a newbie and im basically trying to create a customer calculator. Ive got this code, basically i want to add the integer values of each of my text boxes together and then display them in a textbox called textbox1.  I think i have the code write to do the calculation but im stuck on how to get it to display the total in the textbox once ive hit the calculate button, ive tried several ways, the page posts back, i get no errors but nothing in textbox1 toocan you take a look and help me out please. Thanks and Kind Regards &...

how to get values from first two paragraphs in 2.0
hi all , i'm using 2.0. i want to get values from a textbox1's first or second para's . That is if the first para is less that 200 i want to get second para and show the first two para's in the textbox2 other display only the first para's in textbox2.  Please tell me how to get these..Thanks SwapnaPlease click "mark as answer" if this post helped you. Please be a little more clear, the text is confusing. sounds like the string needs to be searched for a number of spaces for a location to be split by and then sent to text boxes  D...

How to get the value of a textbox that has been added to a template field in a gridview. VB.Net
I have a gridview that shows products, description, price. I have added a Buttonfield and a TemplateField that has a Textbox with the id QuantityTextBox.What I am trying to do is get the value of the Quantity TextBox in the RowCommand event of the gridview. I can get the price but need to get the quantity also. To get the price I used ItemPrice = Server.HtmlDecode(row.Cells(5).Text) My template field is cell 6 but the above routine does'nt work. Any help would be greatly Hiuse this: VB:  Protected Sub GridView1_RowCommand(ByVal ...

Need way to edit form values that have been sent to email address.
I have a web form that sends its values to an email address. I have been asked to see if there is a way to modify the form so that the user who receives the email can edit the form values and then forward the modified values to another email address (without having to save the file locally first). In addition, for printing purposes, the email that the user receives must be formatted to look exactly like the web form, including the form values. Is this even possible?My current page sends the form values to a pre-formatted .htm file that is created on our server. An ema...

How to get RS (From VB6) to .NET (VB.NET)
Hi Friends,         I have requirement, there is one function in VB6 it returns a RS, I need to call that function in  VB.NET, how to get those values into .NET, if can any body can help (pass me some code snippets), that will be greate, Thank you.Madhu... -Madhu hey guys i got this one just by using fill method.-Madhu...

converting to from offered me some sample code when I signed up with them the only problem is the sample code is in but my page that they type all of their credit card into is <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage(""); } private String readHtmlPage(string url) { ...

Linq defaulting to, need
Hi All, I have made my database mapping layer in Visual Studio and afterwards realized it wrote everything behind the scenes (in the dbml designer) in VB and not C#.  I tried creating a small dbml and selected C# as the language and it still created a VB designer.  This is the one thing I have left before I publish the ASP 3.5 version and the new mapping layer to production. Any idea's?  I couldn't find anything on the internet about this, Thanks in advance!!!Tim...

How to Add Applications to ADAM using or
 Hi Pls thrown light  any one on How to Add Applications to ADAM using or RegardsMallikarjunaP.Mallikarjuna...

designing a chat room using and
 hi i'm trying to learn how to use to develop a chat room that stores information in an xml document but all the code i find is in c# and i use vb. can anyone help guide me through developing it using vb and give me any useful tips?thanks  Hi, Check out   Thanks, FarooqMark as answer if this post helpfull to you.Don't be afraid to be wrong; otherwise you'll never be right. HI danielagaba For the chat application, please check: For th...

ADO.NET table fields pass to a VB.NET variable
Hi, please help, have a ADO.NET code. 1 Dim conn As New Data.SqlClient.SqlConnection 2 Dim sql As New Data.SqlClient.SqlCommand 3 4 conn = New Data.SqlClient.SqlConnection("Provider=SQLOLEDB.1;Password=dbsystematics;Persist Security Info=True;User ID=sa;Initial Catalog=SARS;Data Source=4G") 5 conn.Open() 6 sql = New Data.SqlClient.SqlCommand("select * from users", conn)   Then i would like to pass the values that the above ADO.NET to a help. JFRBPH12™ You can execute the ...

getting value from string (VB .net)
HiJust a quickie (i hope) - i'm trying to get a value from a string but not sure what method to use.Eg Dim myString As String = "(ng) nottingham"How would i get the value between the parentheses - ng?  The values are either going to be a single or two characters if this helps?I can think of a work around using myString.IndexOf() but i'm sure there must be a specific function for this problem? thanks  Hey, You could loop through the three or four characters, use the Substring method and trim/remove the parens, or you can use regular expressions.Brian"Trust in the Lord a...

Web resources about - how to design form with two fields that need to have ability to add a limitless number of values. -

Limitless - Wikipedia, the free encyclopedia
Limitless is a 2011 American thriller film directed by Neil Burger and starring Bradley Cooper , Abbie Cornish , and Robert De Niro . It is based ...

Limitless Horizons (@LimitlessHz) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

VeeZ - Free Limitless Video Messaging - Hang out with your family and friends! on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about VeeZ - Free Limitless Video Messaging - Hang out with your family ...

All sizes - Yacht Limitless - Flickr - Photo Sharing!
Flickr is almost certainly the best online photo management and sharing application in the world. Show off your favorite photos and videos to ...

‘Limitless’ Star Jake McDorman on Bradley Cooper’s ‘Ambiguous’ Interest in His Character - YouTube
“This drug, NZT, has him in a chokehold and it won’t let go,” actor says while discussing CBS series during new episode of TheWrap’s “Drinking ...


Crushed in an elevator shaft: death of journalist with 'limitless potential' ruled an accident
Crushed in an elevator shaft: death of journalist with 'limitless potential' ruled an accident

Aussie workers using real-life 'limitless' drug
IT'S the real life "limitless" drug - touted as Viagra for the brain - that shot to prominence when a Silicon Valley millionaire credited it ...



Resources last updated: 12/13/2015 8:11:03 AM