easyformjs
v1.0.1
Published
A package to link the power of google forms, with your own custom ui
Downloads
12
Maintainers
Readme
EasyFormJS
Google Form Submitter 📃
This package provides a simple way to programmatically submit Google Forms using JavaScript. It is particularly useful for integrating form submission into web projects.
Installation 🔃
To use EasyFormJS in your project, simply include the script in your JavaScript files.
Note that this script does not have an export statement and must be used directly.
Usage 🤔
Here’s how to use the this package
Initialize Code & url you need to have g form code
Initialize GoogleFormSubmitter
const googleForm = new GoogleFormSubmitter(url); googleForm.setDetail(nimCode, value); //setting what to send googleForm.setDetail(nameCode, value); //setting what to send googleForm.setDetail(emailCode, value); //setting what to send googleForm.setDetail(linkCode, value); //setting what to send googleForm.getDetail(code) //prints out value googleForm.submit(); //submit form
additional this package comes with an additional function
const inputValue = gIT(#id);
this fucntion will get value of an element by passing its Id
Project Scope 🧐
this Readme is Tailored only for HIMTI project Techtalk
Authors o( ̄▽ ̄)ブ
Adrian.P - Adr-ian-ba
License 👀
For any additional questions or comments, contact Author for more information.
© 2024 Adrian. All Rights Reserved - Distributed under the MIT License.