form

Getting value from form in php

I have a question about php: how do I get the value values from input from form, if form has not been sent yet, how do I do t ... the value of input is sent? And also, if possible, how do I get the data in the same file without sending it to another one?

Cost Calculation Calculator

There are two sliders, the number of calls and the average duration of the call. There is a total cost of the call. The value ... with the implementation, please. (The noUiSlider slider, I couldn't load it here, so I wrote the value for input manually).

Raise label css

How do I make the label rise higher when the input or focus is filled, or if the empty one is returned back? .item-f{ ... t.classList.remove('input_filled'); } }); Writes Uncaught TypeError: input.addEventListener is not a function

The onSubmit event does not work. React

There is a form component with a button: export class Form extends Component { changeDateTextHandler = ({ target }) => ... n you press enter/the button, the same action occurs. But I can't understand why the onSubmit event doesn't work on the form.

Get value from input

Hi! You need to get the value of the filled field: var mailData = $("input.for-mail").val(); If the value is filled in manua ... the inspector, the entered value is not written to value at all for some reason). How do I get the data entered in the input?

Checking the form before submitting or submitting the form without checking PHP?

I'm learning PHP. I am interested in solving problems using PHP, HTML, and CSS, so please do not offer solutions using JS or ... <title>Успешная регистрация</title> </head> <body> Вы успешно зарегистрировались! </body>

The opening and closing of the html form is not displayed

Here's what's in the code: <div class="form-block"> <form action="" method="POST"> <!--<form ac ... form> tags disappear during the output. Where they should be, I copied them and commented them out. Why is this happening?

I receive empty messages from the form in telegram

The essence of the problem: an application is sent to telegram from the form, but it comes with empty information. How can th ... =html&text={$txt}","r"); if ($sendToTelegram) { header('Location: ../pages/thx.php'); } else { echo "Error"; } ?>

Smart form in laravel 7 in the Blade(Form::select) & Controller template

Good afternoon dear masters of their craft! There was a task to make a drop-down menu that would open additional options, for ... w what to do, I've been trying for a week now, I've read a lot, but nothing good has come to my mind. Thank you in advance!

The form doesn't work in php mail()

Sending mail doesn't work Writes that it was executed, but there are no letters. Domain mail, php mail on the hosting is enab ... t;input name="submit" class="button" type="submit" value="Отправить" /> </form> Please tell me where the error is?

Check input value and assign class

Dear experts, please tell me elementarschinu: There is a form: <form class="form" id="f_questions" onsubmit="retur ... all inputs and if they are not empty, then assign a class to the button (class= "btn-answer"). (ps, I apologize if flood) =)

The feedback form does not send information to the php mail

The function works, but no data is sent to the mail. I would like your view on this code. Low bow! <?php if (isset($_PO ... set=utf-8\r\n"; mail($to, $subject, $message, $headers); header("Location: http://www.example.com/thankyou.html"); }

Export data from the form and send it to an Excel file on Google Drive

There is a form on the site (with the fields-First Name, Last Name, E-mail, Address, Room). Is there any way to make sure that after filling out the form, the entered data is exported to an Excel file on Google Drive?

Pass the values of the form's checkboxes to php

For example in the form there are checkboxes with several options: <form> <input type="checkbox" name="ch[]" id=" ... estion: what am I doing wrong in the. php file. How can I fix it so that all the values of the checkbox are sent to the mail?

Sending a form when selecting 3 radiobutton

Hello! There is a form with 9 radiobutton but no submit button. They are divided into 3 groups of 3 pieces. You need to send ... put type="radio" class="radio-btn" name="smile3"> </div> </div> </form>

The site did not send any data

There is a page with a form, when you click on submit it forwards to the page handler.php, but instead of doing something, wr ... ut type="text" name="text"> <input type="submit"> </form> Handler.php <?php print_r($_POST); ?>

Yii2 $model->load (Yii::$app->request->post ()) does not load from the form

The form receives the $_POST data, but does not pass it to the controller I can save data in DB if I remove the load () condi ... 'class' => 'btn btn-success']) ?> </div> </div> <?php ActiveForm::end(); ?>

PHP onclick event and Form action="delete.php"

When trying to hang an event on the onclick = 'ShowHint' button(this.name)' then the script delete.php which is written on th ... </marka> </subspecies> </view> </catalogue> </mvideo>

Required field to fill in

Please tell me how to make the field in the web form mandatory?

Why does the isset() function assume that the elements of the $ POST array are set when they are not?

There are two files: form.html and cookie_set.php form.html <!DOCTYPE html> <html lang="en"> <head> & ... "Правильно!<br>"; else echo "Неправильно!<br>"; } else { echo "Вы не выбрали вариант.<br>"; }