<div class="gmail_quote">On Wed, May 13, 2009 at 1:52 PM, edwin marte <span dir="ltr">&lt;<a href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The escenario is the following: there are 3 variables (PTV), they come from pagelist and diferent groups. I have manage to create the form in the way I wanted but the problem<br>

is that I do not find a way to summit the data once is filled. The data after summision have to be saved in each individual page.<br><br>Lets say the 3 pages are called page1, page2 and page3. They all have a PTV named value. What I would like to do is been able to modified those values and post it back to each page. My actual system has about 20 ptvs or pages.</blockquote>
<div><br>You didn&#39;t mention which forms processor you&#39;re using, so I&#39;m assuming you are handling it yourself from a PHP scripting stnadpoint.<br><br>When I&#39;ve had to do this I simply named my fields value_page1, value_page2, etc.  Then in my form processing I did something like this (UNTESTED, nonfunctional code):<br>
<br>foreach ($_REQUEST as $k =&gt; $v) {<br>   if (!preg_match(&#39;/^value_(.*)/&#39;, $k, $m)) continue; // skip any unrelated GET/POST fields<br>   $pn = MakePageName($m[1]);<br>   # Now save your data using $v as the data itself and $pn as the page to which to save it<br>
   # Perhaps using ptvwrite() from Cookbook/Toolbox<br>} <br></div></div><br>If you&#39;re using some other forms processor (fox, pmforms, etc.) then obviously this solution would be unhelpful...<br><br>Probably using value[page1] as your field name would be more elegant.<br>
<br>-Peter<br>