Skip to main content
Participating Frequently
August 27, 2009
Question

Form inside a repeat region, one submit button

  • August 27, 2009
  • 2 replies
  • 2453 views

I have a form that is inside a repeat region behaviour. Thus, when i view the page in a browser i have multiple forms that display different records.

I need to be able to make changes to all records and then use only one submit button. I've tried to put the repeated form inside a container form (nested forms) and then submit only the container but that doesn't seem to work. No matter how much i search i can't seem to find a solution to this problem.

Anyone has done it before?

This topic has been closed for replies.

2 replies

Participating Frequently
August 31, 2009

ok, i found the solution at http://www.theblog.ca/update-multiple-rows-mysql

thank you

DwFAQ
Participating Frequently
August 27, 2009

<form>

- repeat region

form options (repeated)

- end repeat region

<input type=submit>

</form>

Participating Frequently
August 27, 2009

Thanks for the reply,

That was the first thing i tried, however it doesn't seem to work. Specifically when i press the submit button it doesn't update any record...

DwFAQ
Participating Frequently
August 27, 2009

Then there is something wrong with your code. Since you've failed to provide your code there can not be much further recommendation than what has been provided.