Skip to main content
Participant
March 1, 2007
Question

Repeated textareas

  • March 1, 2007
  • 1 reply
  • 197 views
Hi
I currently building a page that should make a list of questions with textareas for the visitors answers. The questions are listed from a database and the answers are going into it aswell.
My problem are that the repeat-function that list the questions from the recordset makes the textareas and they all get the same name ... that makes only the LAST textarea that can be saved. How do I solve the problem so I can make the page save each answer in the answer table at a new row.

Thanks!
This topic has been closed for replies.

1 reply

Inspiring
March 1, 2007
Append a counter value that gets incremented in the repeat to the textarea
name.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Jessve" <webforumsuser@macromedia.com> wrote in message
news:es6o1k$aa4$1@forums.macromedia.com...
> Hi
> I currently building a page that should make a list of questions with
> textareas for the visitors answers. The questions are listed from a
> database
> and the answers are going into it aswell.
> My problem are that the repeat-function that list the questions from the
> recordset makes the textareas and they all get the same name ... that
> makes
> only the LAST textarea that can be saved. How do I solve the problem so I
> can
> make the page save each answer in the answer table at a new row.
>
> Thanks!
>