How to create a poll with sending points of the client's response to the post?

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
Hi all.
There is a need to make up a questionnaire, there are 3 steps.
Attached screenshots for clarity:5ae9c7186a9af955430300.jpeg5ae9c72073b53347589947.jpeg5ae9c728cfbf1570118540.jpeg

To submit the form in the mail, I always use ajax:

$(document).ready(function () {
$("#form").submit(function () {
type: "POST"
url: "mail.php"
, data: $(this).serialize()
}).done(function () {
setTimeout(function () {
}, 1500);
return false;
The file which migrates email:(php is not strong)
$recepient = "email@com";
$sitename = "site Name";

$name = trim($_POST["name"]);
$phone = trim($_POST["phone"]);
$text = trim($_POST["text"]);
$message = "Name: $name \\Telefon: $phone \\text: $text";

$pagetitle = "New request from the site \\"$sitename\\";
mail($recepient, $pagetitle, $message, "Content-type: text/plain; charset=\\"utf-8\\"\ From: $recepient");

How is it possible to make the transition to the next question?
How is this possible to implement with the responding customer in the mail??
Please tell me.
by | 12 views

1 Answer

0 like 0 dislike
It will be one form, so your creaking can be adapted to the form. The steps can be done for example using this
110,608 questions
257,187 answers
40,796 users