Print Page | Close Window

Auto create more ASP input boxes

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=27288
Printed Date: 29 March 2026 at 12:33pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Auto create more ASP input boxes
Posted By: todd_uk
Subject: Auto create more ASP input boxes
Date Posted: 25 April 2009 at 1:30pm
Hi There,
 
I am writing an input form as p[art of a project to input data into data boxes.  The fields are:
 
<Record1 Name> <Record1 description>
<Record2 Name> <Record2 description>
 
blah blah.
 
In my MS Access database I have set upto 20 records e.g. <Record20_Name>
 
What I want to do in the input form is have like the input boxes for record1, then once this s complete, the user can either click on a button for a next line of input boxes to appear?  Basicallly I just don't want the user to see 20 rows of boxes, else they wont fill it in
 
I've been told this needs to be done in JavaScript?  Does anyone have any ideas? 
 
Thanks,
Tom



Replies:
Posted By: cmv
Date Posted: 22 May 2009 at 9:58pm
you could do that with a roundtrip to the server, AJAX (XMLHTTP request) or plain javascript.
 
depending on the other content of the page i'd prefer the roundtrip - so you make sure your fields are at least partially filled if the user decides to leave before the editing ended (with a save button?)
christian


-------------
and remember: a CRAY is the only computer that runs an endless loop in just four hours ...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net