Hi,
I don’t where it came from all of a sudden. It used to work fine a couple of hours ago. I’ve now put up 2 forms on a website (located in a subdir), which is about to go live very soon. I’m using YAMS and ManagerManager as the most important plugins. No PHX installed. Now, all of a sudden, the forms stopped validating and sending! After I click Submit, even after filling in the required fields, I’m being redirect back to the same page with a refreshed, empty form.
I’ve also just updated to YAMS 1.2.0 RC3, by the way. Still the same error.
This is the snippet call (the tpls itself work fine)
[!eForm? &formid=`form_contact_(yams_id)` &subject=`Resultaten contactformulier COMPANY` &to=`info@COMPANY`
&ccsender=`1` &tpl=`form_contact_(yams_id)` &report=`form_contact_report_(yams_id)` &gotoid=`15` &language=`(yams_mname)` &debug=`1` !]
Here’s the form tpl
<p class="error">[+validationmessage+]</p>
<form action="[~[*id*]~]" method="post" id="form_contact_nl">
<div>
<input name="formid" type="hidden" value="form_contact_nl" />
<label for="contact_company">Bedrijfsnaam</label>
<input name="contact_company" id="contact_company" type="text" eform="Bedrijfsnaam::0">
</div>
<div>
<label for="contact_name">Naam*</label>
<input name="contact_name" id="contact_name" type="text" eform="Naam::1">
</div>
<div>
<label for="contact_email">E-mail*</label>
<input name="contact_email" id="contact_email" type="text" eform="Email:email:1">
</div>
<div>
<label for="contact_phone">Telefoonnummer</label>
<input name="contact_phone" id="contact_phone" type="text" eform="Telefoonnummer::0">
</div>
<div>
<label for="contact_message">Vragen en opmerkingen*</label>
<textarea name="contact_message" id="contact_message" rows="7" cols="30" eform="Vragen en opmerkingen:textarea:1"></textarea>
</div>
<div>
<input type="submit" value="Verzenden">
</div>
</form>
Here’s the Debug report. Can someone please help me out? This is driving me crazy. The errors appear in both languages, by the way. Thanks in advance!
WARNING - DEBUGGING IS ON
Make sure you turn debugging off before making this form live!
eForm configuration:
array (
'snipPath' => '/home/COMPANY/public_html/assets/snippets/eform/',
'snipFolder' => 'eform',
'vericode' => '',
'formid' => 'form_contact_en',
'from' => 'info@COMPANY',
'fromname' => 'COMPANY',
'to' => 'info@COMPANY',
'cc' => '',
'bcc' => '',
'subject' => 'Resultaten contactformulier COMPANY',
'ccsender' => '1',
'sendirect' => '0',
'mselector' => '0',
'mobile' => '',
'mobiletext' => '',
'autosender' => '',
'autotext' => '',
'category' => '0',
'keywords' => '',
'gid' => '15',
'noemail' => '',
'saveform' => '1',
'tpl' => 'form_contact_en',
'report' => 'form_contact_report_en',
'allowhtml' => '0',
'replyto' => '',
'language' => 'english',
'thankyou' => '',
'isDebug' => '1',
'reportAbuse' => '',
'disclaimer' => '',
'sendAsHtml' => '',
'sendAsText' => '',
'sessionVars' => '',
'postOverides' => '0',
'eFormOnBeforeMailSent' => '',
'eFormOnMailSent' => '',
'eFormOnValidate' => '',
'eFormOnBeforeFormMerge' => '',
'eFormOnBeforeFormParse' => '',
'cssStyle' => '',
'jScript' => '',
'submitLimit' => '0',
'protectSubmit' => '1',
'requiredClass' => 'required',
'invalidClass' => 'invalid',
'runSnippet' => '',
'autoSenderName' => '',
'version' => '1.4.4',
)
Using MODX 1.0.5 with PHP 5.2.8 and mySQL 5.0.92-community. Page itself is cached.