We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15170
    • 90 Posts
    Hi,

    Can I put the eForm in a TV so that it can be available on multiple pages with modifications to where the email should be sent? [ie. different page, different "send to" email.]
      • 27330
      • 884 Posts
      yes why not.
        • 15170
        • 90 Posts
        Unfortunately it is not sending any emails.

        Here is what I have put in my template:

        <div id="eform">
        [!eForm? &formid=`feedForm` &tpl=`eFeedForm` &report=`eFeedReport` 
        &to=`<a class="linkification-ext" href="mailto:[*clientEmail*]" 
        title="Linkification: mailto:[*clientEmail*]">[*clientEmail*]</a>` 
        &subject=`Message from Website` &vericode=`1`!]
        </div>


        Here is my feedform

        [+validationmessage+]
        <form method="post" action="[~[*id*]~]"><input type="hidden" name="formid" value="feedForm" />
        <label for="Name">  Your Name</label>
        <input maxlength="60" name="Name" type="text" />
        <br /><br />
        <label for="email">Your Email Address</label>
        <input maxlength="40" name="email" size="40" type="text" />
        <br /><br />
        
        <label for="message">  Message</label>
        <textarea cols="40" rows="5" name="address"></textarea>
        <br />
        
        <div id="captcha2"
        <p> Please enter anti spam code below: </p>
        
        <img src="[+verimageurl+]" border="1" alt="verification code" />
        <label for="vericode">code</label>
        <input name="vericode" size="20" type="text" />
        </div>
        
        <div id="button"
        <input name="submit" type="submit" value="Send Feedback" />
        </div>
        
        </form>


        Am I doing something wrong here?
        My main contacts page is working fine. See here:
        http://modxcms.com/forums/index.php/topic,39526.0.html
          • 27330
          • 884 Posts
          try
          [!eForm? &formid=`feedForm` &tpl=`eFeedForm` &report=`eFeedReport` 
          &to=`[*clientEmail*]` &subject=`Message from Website` &vericode=`1`!]
            • 15170
            • 90 Posts
            Thanks, Sindbad.
            That worked.
              • 15170
              • 90 Posts
              Another problem now.
              The name and message fields come empty!
              Only the email field comes through.
                • 15170
                • 90 Posts
                Sorry, Solved that.
                A mix up in capital letters and normal ones.
                  • 15170
                  • 90 Posts
                  As I continue to use MODx I get more and more impressed by it!
                  And this forum is really very helpful.
                  Those days of banging my head against the Drupal wall are gone.
                  Bye, bye drupal. You were good but MODx is much much better!
                    • 27330
                    • 884 Posts
                    yeah modx is like that girl who let you do anything you want with her, flip her, twist and try from other angles and still only crying give me more smiley
                      • 15170
                      • 90 Posts
                      Ha! ha!
                      Very True. Naughty but true.
                      Man! I love MODx. I wish I had met her before I met Drupal.