Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
MODX REVO how to make an entry in the js file? - code-flow.club | Q&A

MODX REVO how to make an entry in the js file?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
9 views
Friends welcome, very unusual task, I do not know from what side to approach, the site in MODX REVO, on the website there are forms that are sent to AJAX, all the logic is stored in the js file which is connected the bottom of the page. But the form submission happens
$(window).load(function () { $('#form').forms({ ownerEmail: '[[pdoField? and id=`1` &field=`email`]]', product: 'custom callback' })


This challenge I'm doing js on the page, but this version is good, Email is available for pdoField, but the problem is that Email in the result is visible in the source code of the page, and available to spam bots, if this code to insert into a JS file, then pdoField will not be available to the user's Email to send, how to implement it?
What are the options?
by | 9 views

1 Answer

0 like 0 dislike
Formit is not satisfied?
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Mar 25, 2019 by selfish
0 like 0 dislike
1 answer
asked May 1, 2019 by rangernicholas
0 like 0 dislike
1 answer
asked Jun 13, 2019 by gorilalopster
110,608 questions
257,186 answers
0 comments
35,181 users