CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to Dynamically Change the Number of Rows with Textboxes

Print topic Send  topic

Author Message
afrausto

Posts: 66
Posted: 11/17/2004, 3:59 PM

Does anyone know how I can dynamically display a form field with N number of rows containing textboxes. For example, I'm creating a step by step form where in Step 1 a person is asked to enter a quantity before proceeding to Step 2. In Step 2, I would like to dynamically display a form showing the number of textboxes they entered in Step 1.

I'm using CCS / ASP. Any suggestions how I can approach this?

Thanks,
Albert
View profile  Send private message
DonB
Posted: 11/17/2004, 6:36 PM

Maybe an Editable Grid, where you set its EmptyRows property in the Before
Show of the grid? You can set the the Data Source "Where" parameter to
something like ID = -1 (or anything that will never match any data values)
and it will just display the chosen number of empty rows.

--
DonB

http://www.gotodon.com/ccbth
afrausto

Posts: 66
Posted: 11/18/2004, 9:20 AM

DonB,

Thanks for the suggestion. I actually thought of that, but because my project does not require a Data Connection I can't get the editable grid to think otherwise. Is there another way around that?

Thanks,
Albert
View profile  Send private message
peterr


Posts: 5971
Posted: 11/18/2004, 7:10 PM

Since this question is not closely related to CCS (there is no such feature) you may want to try other forums (non-CCS) and look for solutions on the Internet. Any solution implemented without CCS should work in CCS as well. We can also try to help you implementing in CCS whatever you find elsewhere.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.