[[+content_image]]
K
K
Karen Grigoryan2016-12-25 13:51:38
MODX
Karen Grigoryan, 2016-12-25 13:51:38

Why does successmessage (formit) duplicate code on the site?

Friends, I don’t understand what happened to formit. The code is the following:

[[!FormIt?
   &hooks=`spam,email`
   &emailTpl=`MyEmailChunk`
   &emailTo=`[email protected]`
   &emailFrom=`[email protected]` 
   &emailSubject=`New request from devaround.ru`
   &successMessage=`Сообщение успешно отправлено`
   &validate=`name:required, 
      email:email:required,
      text:required:stripTags`
&name.vTextRequired=`Введите, пожалуйста, Ваше имя.` 
&email.vTextRequired=`Введите, пожалуйста, Ваш email.` 
&text.vTextRequired=`Введите, пожалуйста, сообщение.` 
  
]]

On the site, after sending [[!+fi.successMessage]] displays the following text:
`Message sent successfully` &validate=`name:required,

Reinstalled the component, nothing helps. Modx 2.5.2.
What could be the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question