We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5113
    • 8 Posts
    Hi i have created a new form for a web site im working on and am new to Modx i have looked through the doumentation and forums etc and cant find a reason for the form not working. it posts the form to the specified email address but does not carry and of the information with it from the form.

    Any help would be much appreciated. Thanks Adam huh

    The form info is as follows

    [[Contac tForm? &sendTo=`[(emailsender)]`]] [!eForm? &formid=`ContactForm` &subject=`[+subject+]`&to=`[email protected]` &ccsender=`1` &tpl=`JoinForm` &report=`JoinReport` &gotoid=`32` !]

    Form //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<p class="main"><p class="error">[+validationmessage+]</p>

    <form method="post" action="[~[*id*]~]" id="EmailForm" name="EmailForm">

    <fieldset>
    <input name="formid" type="hidden" value="ContactForm" />

    <label for="cfName">Your name:
    <input name="name" id="cfName" class="text" type="text" eform="Your Name::1:" /> </label>


    <label for="cfDOB"> Date of Birth:
    <input name="DOB" type="text" class="text" id="cfDOB" eform="Date of Birth Number::1" />
    </label>

    <label for="cfTelephone"> Telephone Number:
    <input name="telephone" type="text" class="text" id="cfTelephone" eform="Telephone Number::1" />
    </label>

    <label for="cfEmail"> Email Address:
    <input name="email" id="cfEmail" class="text" type="text" eform="Email Address::1" /> </label>

    <label for="cfAddress"> Address:
    <input name="address" id="cfAddress" class="text" type="text" eform="Address::1" />
    </label>

    <label for="cfCity"> City or Town:
    <input name="city" type="text" class="text" id="cfCity" eform="City or Town::1" />
    </label>

    <label for="cfPostcode"> Postcode:
    <input name="postcode" type="text" class="text" id="cfPostcode" eform="Postcode::1" />
    </label>
    <label>&nbsp;</label><input type="submit" name="contact" id="cfContact" class="button" value="Send This Message" />

    </fieldset>

    </form>
    </p>

    Form //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    Report

    <p>This is a response sent by <b>[+Name+]</b> using the join form on the website. The details of the mesage follow below:</p>


    <p>Name: [+name+]</p>
    <p>Date of Birth : [+DOB+]</p>
    <p>Telephone: [+telephone+]</p>
    <p>Email: [+email+]</p>
    <p>Address: [+address+]</p>
    <p>City: [+city+]</p>
    <p>Postcode:
    [+postcode+]</p>

    <p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE: [+subject+]">[+email+]</a></p>

      • 27376
      • 576 Posts
      What is the [[ContactForm]] Snippet for?