|
Posted by Vince Morgan on 12/22/06 06:02
> "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.
> >
>
>
The OP will need these new inputs to be elements of a form when they are
added.
As a matter of interest, will the above method, or similar, allow placement
of these new elements at the bottom of the form Moot? I only ask as I'm not
sure how to do that myself, and will need to know soon enough.
Regards,
Vince Morgan
Navigation:
[Reply to this message]
|