← Back to team overview

anewt-developers team mailing list archive

[Bug 527946] [NEW] Subform support

 

Public bug reported:

It is not possible to have several forms with just one submit button.
Normally you wouldn't need this, but there are situations where this
would be very useful.

One such situation is this: Suppose you have some element with all kinds
of annotations, and all those annotations can be in multiple languages.
And you want to have one form with the element plus all those
annotations in all languages. You could make one form and manually add
controls for all languages and give them unique and meaningful id's, and
during processing you reconstruct the elements from the id's. But this
is very cumbersome. It would be much better to create one form for each
language, and have all forms combined into a single form with one submit
button.

One way is modifying the renderer so that it doesn't render the actual
<form> element, then render all the forms and manually enclose them with
a <form> element. But you still have the problem that the names should
be unique in the whole form node, and the id's should even be unique in
the whole document.

I've worked on this problem and I will submit the results momentarily.

** Affects: anewt
     Importance: Undecided
         Status: New

-- 
Subform support
https://bugs.launchpad.net/bugs/527946
You received this bug notification because you are a member of Anewt
developers, which is subscribed to Anewt.



Follow ups

References