Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Charles Newsgroups: comp.lang.php Subject: Data entry forms Date: Thu, 3 May 2012 15:32:52 -0700 (PDT) Organization: http://groups.google.com Lines: 31 Message-ID: <16041.28.1336084372301.JavaMail.geo-discussion-forums@ynf8> NNTP-Posting-Host: 72.208.176.146 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1336084759 14202 127.0.0.1 (3 May 2012 22:39:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 3 May 2012 22:39:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.208.176.146; posting-account=0TNT7AoAAABfgvAzb-BaNe7iUtYJdshD User-Agent: G2/1.0 X-Received-Bytes: 1893 Xref: csiph.com comp.lang.php:5813 I'm working on a data entry for for this application, and I'm stuck at what= may end up being some bad code. I'm capturing data for two tables (custin= fo and orderinfo) on one page. The top part of the data entry form collect= s data once for the transaction, kind of like an invoice captures customer = details. The bottom part (the part I'm stuck on) captures order informatio= n line after line. So, for example: TopForm (custinfo) Customer name Customer address Customer city, state, zip Bottom form (orderinfo) Item description Item quantity Item price What I'm looking for is two things: 1) The ability to extend the bottom form item by item as the order grows. 2) The ability to remove items (last in, first out) if the order needs to = shrink. I can already clear the form, cancel data entry, and submit data for proces= sing; I need to know how to dynamically enlarge or shrink the second half o= f the form. Can this be done in PHP?