K
K
kostyaslam2016-12-14 09:15:23
MODX
kostyaslam, 2016-12-14 09:15:23

How to display a message through the ajaxForm hook?

Snippet call


I create a snippet:
<?php
$phone = $hook->getValue('phone');
echo $phone;

The message is sent. But the phone does not show up on the screen. And okay, what is not shown, how to understand that the phone is definitely in the $phone variable?
Thank you!

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