Copied to clipboard

Flag this post as spam?

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


  • Tom 713 posts 954 karma points
    Apr 17, 2014 @ 03:24
    Tom
    0

    Form Not Appearing

    I can't get my form to appear when adding from a macro in a richtext editor...

    I'm just calling @accordionItem.bodyText  and the source is rendering:

    <!--?UMBRACO_MACRO jquery="0" formnode="2241"
    macroAlias="PliableForm" /-->
  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 17, 2014 @ 12:31
    Jan Skovgaard
    0

    Hi Tom

    What version of Umbraco are you using? Perhaps the package is not compatible with your Umbraco version?

    /Jan

  • Peter Rombouts 71 posts 265 karma points
    May 21, 2014 @ 14:52
    Peter Rombouts
    2

    Umbraco 6.2.0 has another interpretation of XML, which screws up the XSLT.

    Replace the next lines:

    <xsl:template name="renderForm">
      <xsl:param name="formPage" />
      <xsl:if test="count($formPage/* [pliableField]) &gt; 0">
        <div id="PliableForm">
          <xsl:value-of select="$formPage/formContent" disable-output-escaping="yes" />
          <xsl:for-each select="$formPage/* [pliableField]">
            <xsl:variable name="name" select="@nodeName" />

    With:

    <xsl:template name="renderForm">
      <xsl:param name="formPage" />
      <xsl:if test="count($formPage/* [required]) &gt; 0">
        <div id="PliableForm">
          <xsl:value-of select="$formPage/formContent" disable-output-escaping="yes" />
          <xsl:for-each select="$formPage/* [required]">
            <xsl:variable name="name" select="@nodeName" />

    Kind regards,
    Peter Rombouts

    FYI: We are creating a new version of Pliable, which has Razor support and will work with the latest versions of Umbraco

Please Sign in or register to post replies

Write your reply to:

Draft