|
Posted by Johnny Mac on 12/22/06 02:38
I don't know javascript but that's a great solution that I could incorporate
using php.
Thanks very much for the input.
"Moot" <mootmail-googlegroups@yahoo.com> wrote in message
news:1166705949.525973.220510@48g2000cwx.googlegroups.com...
> 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]
|