Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 19, 2013 @ 14:16
    Fuji Kusaka
    0

    Send XSLT Transformed Email

    Hi Guys,

    Can someone point out how do i output the value of a checkbox list in xslt transformed email ?

    I have a field "#Choose Type" where i have 3 checkbox lis, and would like to display according to the one the user checked. 

     

     

  • Comment author was deleted

    Feb 19, 2013 @ 15:43

    You'll just have multipe value elements

    so instead of 

     

    <p>
    <xsl:value-of select=".//value"/>
    </p>
    you'll do 
    <p> 
      <ul>
    <xsl:for-each select=".//value">
    <li><xsl:value-of select="."/></li>
    </xsl:for-each>
    </ul>
    </p>

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 19, 2013 @ 18:42
    Fuji Kusaka
    0

    Not following you here Tim, How do i get the caption here ?

    I have 3 items in my CheckBoxlist being "#Choose Type "

        First Name:<xsl:value-of select="$records//fields/child::* [caption = '#First Name :']//value"/><br/>
          Last Name:<xsl:value-of select="$records//fields/child::* [caption = '#Last Name :']//value"/><br/>
          Email :<xsl:value-of select="$records//fields/child::* [caption = 'Email :']//value"/><br/>
          Choose Type : <xsl:value-of select="$records//fields/child::* [caption = '#Choose Type :']//value"/><br/>

     

  • Comment author was deleted

    Feb 19, 2013 @ 19:13

    Does that output anything?

  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 19, 2013 @ 19:18
    Fuji Kusaka
    0

    Nothing actually

  • Fuji Kusaka 2203 posts 4220 karma points
    Feb 19, 2013 @ 20:06
    Fuji Kusaka
    100

    Got it working Tim 

    <xsl:for-each select="$records//fields/child::* [caption = '#Choose Type :']//value">
    <xsl:value-of select="."/>
    </xsl:for-each>
  • Comment author was deleted

    Feb 19, 2013 @ 20:09

    Great :)

Please Sign in or register to post replies

Write your reply to:

Draft