[Seaside] Split form
iwan at reahl.org
Sat Dec 5 06:33:52 UTC 2015
On 04/12/2015 19:05, J.F. Rick wrote:
> 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:
> (1) Form 1 contains some fields
> (2) Form 2 is used for uploading images asynchronously
> (3) Form 3 contains more fields that really belong to Form 1.
> 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?
In another non-seaside world I have nested forms using the new html5
form= attribute on inputs:
So you could have HTML like:
I have not tried to do this in seaside, but can't think offhand why it
would not work...
Reahl, the Python only web framework: http://www.reahl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside