Re: [Xsltforms-support] XForms repeat and tables?
Brought to you by:
alain-couthures
From: Tim T. <tim...@gm...> - 2021-03-28 18:53:43
|
Thanks, Habs! Where you say the "tbody" tags are removed, do you mean in the XForm itself, or from the rendered HTML? If I remove them from the XForm, I still get an error. However, if I copy the rendered content of the form, save it, and open it in the browser, then the table displays correctly. (See attached.) So, there must be something in the XSLTForms JavaScript that is hiding the content? Best regards, Tim -- Tim A. Thompson Metadata Librarian Yale University Library On Sun, Mar 28, 2021 at 2:17 PM Habs <ge...@us...> wrote: > On Sun, 28 Mar 2021, Tim Thompson wrote: > > > Hello, Alain, all, > > > > I have some data that I want to present in a table. The data has one or > > more groups, each with a key and related entries. When I try to iterate > > over the data in xf:repeat, only the data from the first group is being > > output (see screenshot). Sample data and form are below (and attached). > > > > Thanks in advance, > > Tim > > > Hello folks - this may already be known and not much help - it is not a > fix - so sorry for the noise if that is the case. This is all I was able > to deduce from limited testing > > If the 'tbody' tags are removed, the form appears to display fine. > > With 'tbody' tags, looking at the default css applied, it seems the > second group's 'tbody' has a display property set to 'none'. > > Regards > Habs > --- Sent using Alpine/Pine, probably the best MUA --- > > Tox Chat Id: > > 9F10AC64260ADEBAEA017ACB71B7CD2E962596FC4293025C0F79D77FFEB4CE5C7B0BED41D925 > https://tox.chat/ > > |