We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21508
    • 46 Posts
    Good day, help to solve the problem, I updated the system MODX Revolution 2.1.3-pl to MODX Revolution 2.2.0-pl2.
    The site implemented subdomain, installed module is FormIt 2.0.2 pl post updates on the main site it works fine, letters are sent, and with all subdomains disappears form
    Calling a form module
    [[!FormIt?
    	&hooks=`spam,email`
    	&emailTpl=`ContactFormReport`
    	&emailTo=` [[getResourceField? &id=`[[  settings_page]]` &field=`email` &processTV=`1`]] `
    	&emailSubject=` Contact Form [[getResourceField? &id=`[[  settings_page]]` &field=`site_name` &processTV=`1`]]`
    	&successMessage=`Success`
    	&validate=`name:required, email:email:required, text:required:stripTags`
    ]]
    <h3 class="widgettitle">Contact Form</h3>
     [[! fi.successMessage]]
    <form id="contactFormWidget" action="[[~[[*id]]]]" method="post">
    <input type="hidden" name="nospam:blank" value="" />
    	<p>
    		<input id="name" type="text" name="name" value="[[! fi.name]]" class="requiredField textfield" />
    		<label class="lable" for="name">Name  [[! fi.error.name]]</label>
    	</p>
    	<p>
    		<input id="email" type="text" name="email" value="[[! fi.email]]" class="requiredField email textfield" />
    		<label class="lable" for="email">E-mail [[! fi.error.email]]</label>
    	</p>
    	<p>
    		<textarea id="message" class="requiredField textarea" name="text" rows="20" cols="30">[[! fi.text]]</textarea>
    	</p>
    	<p><input type="submit" value="Send" class="button in_footer" /></p>
    </form>
    

    With that call, did not form visible.
    If you call a module in a cached form is displayed but does not send emails
    [[FormIt?
    	&hooks=`spam,email`
    	&emailTpl=`ContactFormReport`
    	&emailTo=` [[getResourceField? &id=`[[  settings_page]]` &field=`email` &processTV=`1`]] `
    	&emailSubject=` Contact Form [[getResourceField? &id=`[[  settings_page]]` &field=`site_name` &processTV=`1`]]`
    	&successMessage=` Success!`
    	&validate=`name:required, email:email:required, text:required:stripTags`
    ]]
    

    Before updating the system it worked fine
      It’s Nice to Be Important, But It’s More Important to Be Nice