<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Jeff,<br>
      <br>
      <br>
      On 04/12/2015 19:05, J.F. Rick wrote:<br>
    </div>
    <blockquote
cite="mid:CAM_dVCx-NdZLaQFkGm3g5vvKeOoUm++i1GaPAY3kGOEohGaHEA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I'm creating a web interface using seaside that's a
        bit complicated. One particular annoying part is that I have to
        use multiple forms:
        <div>(1) Form 1 contains some fields</div>
        <div>(2) Form 2 is used for uploading images asynchronously</div>
        <div>(3) Form 3 contains more fields that really belong to Form
          1.</div>
        <div>Because of layout and because forms can't be within other
          forms, I have to have both Form 1 and 3, though really they
          should be the same form that uses one submit button. Is there
          a good way to combine the forms in such a way that the
          callbacks for both forms are evaluated?</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    In another non-seaside world I have nested forms using the new html5
    form= attribute on inputs: <a
href="https://developer.mozilla.org/en/docs/Web/HTML/Element/Input#attr-form"><a class="moz-txt-link-freetext" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/Input#attr-form">https://developer.mozilla.org/en/docs/Web/HTML/Element/Input#attr-form</a></a><br>
    <br>
    So you could have HTML like:<br>
    <br>
    <tt>&lt;form name="form2"&gt;&lt;/form&gt;</tt><tt><br>
    </tt><tt><br>
    </tt><tt>&lt;form name="merged1and3a"&gt;</tt><tt><br>
    </tt><tt>  &lt;input .../&gt;</tt><tt><br>
    </tt><tt><br>
    </tt><tt>  &lt;div&gt;</tt><tt><br>
    </tt><tt>      &lt;input form="form2".../&gt;</tt><tt><br>
    </tt><tt>  &lt;/div&gt;</tt><tt><br>
    </tt><tt><br>
    </tt><tt>  &lt;input .../&gt;</tt><tt><br>
    </tt><tt>&lt;/form&gt;</tt><tt><br>
    </tt><tt><br>
    </tt>I have not tried to do this in seaside, but can't think offhand
    why it would not work...<br>
    <br>
    -Iwan<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Reahl, the Python only web framework: <a class="moz-txt-link-freetext" href="http://www.reahl.org">http://www.reahl.org</a></pre>
  </body>
</html>