Reply to Re: Data Entry Repeat Field

Your name:

Reply:


Posted by Moot on 12/21/06 12:59

Johnny Mac wrote:
> I am trying to make a form that when a user enters data, there will always
> be one extra line in case the user wants to enter more. Any hints on how to
> create this?
>
> In addition to the tombstone data which should be entered only once, the
> user has two fields to fill in per line. Once the user has filled in as
> many lines as necessary, the user sends the data via mailto().
>
> help...?

I did this with Javascript pretty easily. Basically I keep an empty
"template" row hidden, then when the user clicks the "Add Row" button,
a function clones the template row, modifies the element names (ie:
"txtName10", "txtName11", etc), then appends the row at the bottom of
the table.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация