problems with optional sections

A

Andrej

hi,

i am trying to create a formular like the example "assert
tracking". in my detail view i have two optional
sections. the optional sections do not create elements if
i click on the text "Click here to insert ..."

the xslt:

<div><xsl:choose>
<xsl:when
test="my:eek:ptPhaseFreePoints">

<xsl:apply-templates
select="my:eek:ptPhaseFreePoints" mode="xd:preserve"/>
</xsl:when>
<xsl:eek:therwise>
<div
class="optionalPlaceholder"
xd:xmlToEdit="optPhaseFreePoints_8" tabIndex="0"
align="left" style="WIDTH: 100%">Click here to insert
Phase Free Points</div>
</xsl:eek:therwise>
</xsl:choose>
</div>

i think that the mistake is in the parameter
xmlToEdit="optPhaseFreePoits_8"

where does infopath add nodes to my xml document after i
click the text " Click here to insert ..."

thanks
 
M

Matthew Blain \(Serriform\)

In the designer, look at the advanced properties of a section to see what
the xmlToEdit parameter is. In the manifest.xsf you'll see the actual XML.
 

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