Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
runas24 authored Apr 16, 2024
1 parent 64b3633 commit e8e8a87
Showing 1 changed file with 4 additions and 44 deletions.
48 changes: 4 additions & 44 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,52 +22,12 @@ <h1 class="title">Форма для ввода данных</h1>
</div>
</div>

<div class="field">
<label class="label">Email</label>
<div class="control">
<input class="input" type="email" placeholder="Ваш Email" name="Email"/>
</div>
</div>

<div class="field">
<label class="label">Пароль</label>
<div class="control">
<input class="input" type="password" placeholder="Ваш Пароль" name="Password"/>
</div>
</div>

<div class="field">
<label class="label">Дата рождения</label>
<div class="control">
<input class="input" type="date" placeholder="Дата рождения" name="DOB"/>
</div>
</div>

<div class="field">
<label class="label">Пол</label>
<div class="control">
<label class="radio">
<input type="radio" name="Gender" value="male"/> Мужской
</label>
<label class="radio">
<input type="radio" name="Gender" value="female"/> Женский
</label>
</div>
</div>

<div class="field">
<label class="label">Согласие с условиями</label>
<div class="control">
<label class="checkbox">
<input type="checkbox" name="Agree To Terms" value="yes"/> Я согласен с условиями и положениями
</label>
</div>
</div>
<!-- Другие поля формы здесь -->

<div class="field">
<label class="label">Дополнительная информация</label>
<label class="label">Результат</label>
<div class="control">
<textarea class="textarea" placeholder="Дополнительная информация" name="Notes"></textarea>
<input class="input" type="text" placeholder="Результат" name="result"/>
</div>
</div>

Expand Down Expand Up @@ -98,7 +58,7 @@ <h1 class="title">Форма для ввода данных</h1>
var formDataString = keyValuePairs.join("&");

// Отправить POST запрос к вашему скрипту Google Apps Script
fetch("https://script.google.com/macros/s/AKfycbz_aHKLvz6LO3NT9y9HS9FuIlQ8NZadn2fHcn66HBaT7nheUKF3jJ6eaUN9piFKiD4l/exec", {
fetch("https://script.google.com/macros/s/AKfycbx8l5uPCqI-5QzzEp4Y1Rw1c-cOxr-CpksABYujojIRCb5NyTJ5qkux2vWUi84guYi7/exec", {
redirect: "follow",
method: "POST",
body: formDataString,
Expand Down

0 comments on commit e8e8a87

Please sign in to comment.