We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10208 ☆ A M B ☆
    • 1,780 Posts
    Revo 2.2.0-pl2

    I've looked around in the docs and in the BOG (Bob's Official Guide) but am unclear where to tackle this problem. The form label text does not disappear when entries are made and the entry text displays on top of the label text. How can I fix this?

    Also, would like to ask about captcha plugin and using it with into this form. Again, I've read docs and BOG (which is missing any reference to using the plugin anywhere other than login), but still remain confuzzled, I managed to get the captcha image to show up by calling assets/components/captcha/captcha.php in it's own div before the end of the form but that's just an image - help please? Here is the chunk code:

    [[!FormIt?
    &hooks=`spam,email,redirect`
    &emailTpl=`MyEmailChunk`
    &emailUseFieldForSubject=`1`
    &emailTo=`[[getResources? &resources =`11` &tpl=`email_adress_tpl` &includeTVs=`1` &processTVs=`1` &limit=`1` &tvPrefix=`` ]]`
    &redirectTo=`13`
    &validate=`name:required,email:email:required,subject:required,text:required:stripTags`
    ]]
    [[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]
    <form action="[[~[[*id]]]]" method="post" class="form">
        <input type="hidden" name="nospam:blank" value="" />
    <p>
        <label for="name">
            Enter your name.
            <span class="error">[[!+fi.error.name]]</span>
        </label>
        <input type="text" name="name" id="name" value="[[!+fi.name]]" />
    </p>
    <p>
        <label for="email">
            Fill in your email.
            <span class="error">[[!+fi.error.email]]</span>
        </label>
        <input type="text" name="email" id="email" value="[[!+fi.email]]" />
    </p>
    <p>
        <label for="subject">
            Enter the subject of this mail.
            <span class="error">[[!+fi.error.subject]]</span>
        </label>
        <input type="text" name="subject" id="subject" value="[[!+fi.subject]]" />
    </p>
    <p>
        <label for="text">
            Fill in your message or question.
            <span class="error">[[!+fi.error.text]]</span>
        </label>
        <textarea name="text" id="text" cols="55" rows="7" value="[[!+fi.text]]">[[!+fi.text]]</textarea>
    </p>
        <br class="clear" />
     
        <div class="form-buttons">
            <input type="submit" value="Send" class="button small" />
        </div>
    </form>
      Frogabog- MODX Websites in Portland Oregon
      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
      Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      bump - Dad doesn't like the form leaving the titles in, but thinks it's pretty cool that it tells him who sent it in the body. Love to find out how to fix it for him. :~}
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 10208 ☆ A M B ☆
        • 1,780 Posts
        OK, another bump. Please, if anyone has any ideas I do need to fix this.

        In looking at another formit form, I get a different result. The same form has element.style settings of opacity. When clicked, opacity changes from 1 to .5. But I'm not seeing this in the form that isn't working. Something is setting an inline style of opacity, but I'm not sure what or where.

        Since formit doesn't use jquery, where would this element.style be coming from? I need it in the non-working form.

        Additionally, dad said that the red warning labels remained displayed as well. So, it seems that whatever is supposed to be setting opacity for these elements is not.
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 10208 ☆ A M B ☆
          • 1,780 Posts
          Third time's the charm? Maybe?? Maybe posting during the day will help.

          Does this mean no one has any idea how to fix, or where I should start looking? No one??

          I found some js that appeared to be part of this, but nothing about opacity. I know so little js, I can't even begin to think I can make sense of it.

          [ed. note: frogabog last edited this post 14 years, 6 months ago.]
            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            Right, so I figured out what js file was missing and added it back in. app.js

            Anyone know if this is part of the formit package and it was just not installed?
              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster