`How to output ClientConfig in Formit?
O
O
Oldesign2019-05-15 22:47:41
MODX
Oldesign, 2019-05-15 22:47:41

How to output ClientConfig in Formit?

forms:
[[!AjaxForm?
&snippet=`FormIt`
&form=`form`
&emailTpl=`tpl.form-email`
&hooks=`FormItArrays,email`
&emailSubject=`Email from website
&emailTo=``
&emailFrom=`[email protected]`
&validate=`name: required,email:required`
&validationErrorMessage=`Form contains errors!`
&successMessage=`Message sent!`
]]
How will I insert the Email specified in the ClientConfig application
so that it works in formit (AjaxForm) ?
[[++mail]]
===============
The solution was to [[++mail]] - the name was written without hyphens or underscores, [[++mail-to-new-email]] does not work, [[++mail_to_new_email]] does not work either.
Only the word is merged.
Thanks to all.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Anton Tarasov, 2019-05-15
@OlDesign

&emailTo=`[[++mail]] `
Do you mean here? Those. is this how it doesn't work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question