Copied to clipboard

Flag this post as spam?

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


  • Chris Davis 56 posts 74 karma points
    Feb 12, 2011 @ 01:27
    Chris Davis
    0

    Default values are not emailed

    If a field has a default value specified and the form is submitted without the user changing the default value it will neither submit or email the values to the owner.

    Thanks!

  • Jon Cuthbert 84 posts 173 karma points
    Feb 12, 2011 @ 20:56
    Jon Cuthbert
    0

    This was by design, but my mistake was calling it a "default value" I should have called it "example value" or "placeholder value". I'll fix this soon to make it more clear and maybe add a real "default value" feature.

    To fix this, just remove the "defaultValue" class from the input tag. This is what the javascript is looking for to clear it out.

    <xsl:variable name="className">
        <xsl:text>pText</xsl:text>
        <xsl:if test="string-length(class) &gt; 0">
          <xsl:text> </xsl:text>
          <xsl:value-of select="class" />
        </xsl:if>
        <!--<xsl:if test="string-length(defaultValue) &gt; 0">
          <xsl:text> defaultValue</xsl:text>
        </xsl:if>-->
        <xsl:if test="string(required) = '1'">
          <xsl:text> pRequiredText</xsl:text>
        </xsl:if>
    </xsl:variable>
  • Chris Davis 56 posts 74 karma points
    Feb 12, 2011 @ 21:42
    Chris Davis
    0

    Your the man Jon, I appreciate your quick responses and great work!

  • Jon Cuthbert 84 posts 173 karma points
    Apr 07, 2011 @ 06:25
    Jon Cuthbert
    0

    Default values not act like default values and there is a checkbox to make the default value behave like a placeholder value. This is in Pliable Form 1.2.

Please Sign in or register to post replies

Write your reply to:

Draft