You don't actually need to use ajax and talk to the server, just some javascript DOM code to insert another input field.

On Jun 6, 2007, at 8:28 PM, CED wrote:

Asunchronous JAvascript that writes to a Div, and you run a loop intot hat div of form input elements incremented by each click.

HTH,
Ed
Edward JS Prevost II
[EMAIL PROTECTED]
www.EdwardPrevost.info
----- Original Message -----
From: Nelly Yusupova
To: 'NYPHP Talk'
Sent: Wednesday, June 06, 2007 8:17 PM
Subject: [nyphp-talk] A Form That Builds Itself

Hello Everyone,

I am trying to create a page where users can upload images to the server via a form. I wanted to offer 5 input fields and an option that says "click + to add another image", to allow the user to upload as many images as they want. Does anyone know how I can achieve this?

Thank you in advance for your help.
Sincerely,
Nelly Yusupova
http://www.digitalwoman.com




_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to