Repeating to the right, is it possible?

G

G. Tarazi

Hi



In the current release of InfoPath (2003 SP1) is it possible to have a section repeating to the right, like adding additional columns instead of filed (well it will be adding fields but it will look like columns)





Thank you
 
J

Josh Bertsch [MSFT]

Search for "vertical extensible section" or "Making repeating tables more
complex in design" in this newsgroup Hagen posted a
solution that sounds similiar to what you are trying to accomplish. These
examples are with repeating sections.
Yes, you can get InfoPath to insert an extensible section horizontally
instead of top-down (vertically). There is a little hand-editing required of
the XSL, however it should be simple once you see the attached example and
following explanation.

Every time you insert the repeating section, an apply-templates xsl
construct is fired and happens to match the template which contains the
following content:
<div class="xdRepeatingSection xdRepeating" ... >
<div> </div>
</div>

I modified this content to be:
<td>
<div class="xdRepeatingSection xdRepeating" ... >
<div> </div>
</div>
</td>

And for the apply-templates, I simply wrapped it with a table construct and
a pre-created table row:
<table><tr><xsl:apply-templates select="my:group1/my:group2"
mode="_1"/></tr></table>
instead of
<xsl:apply-templates select="my:group1/my:group2" mode="_1"/>

So now every insert will result in an insert of a table column. That is, if
I insert 2 times, the html looks like this:

There is an attachment showing exactly what you want to do. You can view
the thread on Google:
http://groups.google.com/[email protected]&rnum=1

--josh bertsch
"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message Hi



In the current release of InfoPath (2003 SP1) is it possible to have a section repeating to the right, like adding additional columns instead of filed (well it will be adding fields but it will look like columns)





Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top