/pform

PForm is a WordPress plugin project which gives a google sheet database and notification of telegram features to the contact form.

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

PForm Wordpress Plugin

This Plugin is to help us to collect contact form details from a WordPress site to Google sheet and send a notification to the telegram.

Download

Plugin Features :

  • Adaptable Layout with WordPress Theme

Tested on Astra Theme 1

Pform-Output1.png

Pform-Output2.png

Tested on Astra Theme 2

Theme2.png

  • Changeable Contact Form Titles

  • Can Enable/Disable Button Form

  • Google Sheet Storage

  • Get Notification on Telegram


How to Use :

  • Download PForm Plugin and Install it on Your WordPress Site.

  • After activate the plugin and select PForm Setting from Menu sidebar.

  • Fill the details for your titles and Google Web App URL.

Pform-Option2.png

👇 How to get Google Web App URL 👇

  • Goto your Google drive and Click New Button from Left Top -> Click Google Sheets and Give the file name.

  • Type tag names on the first row of the sheet. Refer to this image 👇

create-tag-names.png

  • Click Tools from menu bar and Select Script editor.

  • Create a Telegram Bot from @Botfather & Copy the Token.

  • Goto your created Bot and send /start or Click Start button.

  • Now GoTo @userinfobot Send it any message it will give your Telegram ID (9 Digit) and copy the ID.

  • Copy the code from Code.gs.

  • Paste it on Script Editor and Replace Telegram Token and ID. Refer to this image 👇

Google-Apps-Script-Code.png

  • Save it and if it asks authorization, Give it. Click the Deploy button and Select New Deployment.

  • In Prompt Window, Select who has access to Anyone. Finally, Click Deploy Button and Copy the Web App URL.

  • Paste it on PForm setting -> Google App Script URL field and click Save Changes. That's it.

👇 How to place contact form in WordPress page/post 👇

  • Paste this shortcode [pform_contact] on anywhere wordpress page/post.

  • For Button Contact Form, You can enable/disable it from PForm Setting.

👇 Google Sheet Storage 👇

Conform-Data-Stored-In-Google-Sheet.png

👇 Telegram Notification 👇

Telegram-screenshot.jpg