M
M
Maxim Pritchin2017-08-14 15:04:43
Yii
Maxim Pritchin, 2017-08-14 15:04:43

Yii Feedback form how to make a backend?

<form action="handler.php" enctype="multipart/form-data" method="post">
                <div class="form1">
                  <div class="field">
                    <div class="field_title">Введите имя
                    </div>
                    <div class="field_description">								
                    </div>
                    <div class="field_input">
                      <input type="text" required="required" name="Введите имя" placeholder="Введите имя">
                    </div>
                  </div>
                  <div class="field">
                    <div class="field_title">Введите номер телефона
                    </div>
                    <div class="field_description">								
                    </div>
                    <div class="field_input">
                      <input type="text" required="required" name="Введите номер телефона" placeholder="Введите номер телефона">
                    </div>
                  </div>
                  <div class="field">
                    <div class="field_input">
                      <input type="submit" class="submit_btn" data-action="thanks" data-url="" data-amount="0" value="Заказать звонок менеджера" style="color: rgb(212, 0, 85); background-color: transparent;" data-color="rgb(212, 0, 85)">
                    </div>
                  </div>
                </div>
              </form>

Here's what happened:
4b655f50400c4fb6a7d9830e479033af.png
I need this form to send the contents of the form to my mail according to the template

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2017-08-14
@pritchin_maxim1

Organize the processing of forms, as stated in the documentation and implement sending to the mail, as stated in the documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question