Make your form to work perfectly with Telegram

Make unworking contact or feedback forms to work. Here is a simple script that makes your form work. All the form data in your form are sent to you as a Telegram Message.

Here is the Quick Demo

Refer GitHub for more details


This content originally appeared on DEV Community and was authored by YOGESHWARAN R

Make unworking contact or feedback forms to work. Here is a simple script that makes your form work. All the form data in your form are sent to you as a Telegram Message.

Here is the Quick Demo

Refer GitHub for more details

GitHub logo yogeshwaran01 / formBot.js

Make your contact and feedback form to work perfectly with Telegram

formBot.js

Make your form to work

If form is submited, all form data are send to you as telegram Message

Qucik Demo

Click here for quick demo

Simple Usage

<script src="https://cdn.jsdelivr.net/gh/yogeshwaran01/formBot.js@1.2.0/formBot.min.js" ></script>

In index.html

  • Name the id of your form as formBot
  • set new attribute names. value of names is name of all input elements eg: name="name mail message". Here name, mail, messgage are the value of name attribute of input elements.
  • set other attribute chatId of your telegram. Get chat id from Telegram Bot.
<form id="formBot" names="name mail message" chatId="104753182211">
    <label for="name">Name</label>
    <input type="text" name="name">
    <label for="mail">Mail</label>
    <input type="text


This content originally appeared on DEV Community and was authored by YOGESHWARAN R


Print Share Comment Cite Upload Translate Updates
APA

YOGESHWARAN R | Sciencx (2022-02-08T06:22:54+00:00) Make your form to work perfectly with Telegram. Retrieved from https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/

MLA
" » Make your form to work perfectly with Telegram." YOGESHWARAN R | Sciencx - Tuesday February 8, 2022, https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/
HARVARD
YOGESHWARAN R | Sciencx Tuesday February 8, 2022 » Make your form to work perfectly with Telegram., viewed ,<https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/>
VANCOUVER
YOGESHWARAN R | Sciencx - » Make your form to work perfectly with Telegram. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/
CHICAGO
" » Make your form to work perfectly with Telegram." YOGESHWARAN R | Sciencx - Accessed . https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/
IEEE
" » Make your form to work perfectly with Telegram." YOGESHWARAN R | Sciencx [Online]. Available: https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/. [Accessed: ]
rf:citation
» Make your form to work perfectly with Telegram | YOGESHWARAN R | Sciencx | https://www.scien.cx/2022/02/08/make-your-form-to-work-perfectly-with-telegram/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.