Google Forms Editor ऐड-ऑन के बारे में खास जानकारी
इस क्विकस्टार्ट से, Google Forms Editor का एक ऐड-ऑन बनता है. यह ऐड-ऑन, ट्रिगर का इस्तेमाल करके, उपयोगकर्ता के फ़ॉर्म का जवाब देने पर ईमेल भेजता है.
मकसद
- स्क्रिप्ट सेट अप करें.
- स्क्रिप्ट चलाएं.
ज़रूरी शर्तें
इस सैंपल का इस्तेमाल करने के लिए, आपको ये ज़रूरी शर्तें पूरी करनी होंगी:
- Google खाता (Google Workspace खातों के लिए, एडमिन की अनुमति की ज़रूरत पड़ सकती है).
- इंटरनेट का ऐक्सेस वाला वेब ब्राउज़र.
स्क्रिप्ट सेट अप करना
- forms.new पर जाकर, Google Forms फ़ॉर्म बनाएं.
- ज़्यादा more_vert
> स्क्रिप्ट एडिटर पर क्लिक करें.
- बिना टाइटल वाला प्रोजेक्ट पर क्लिक करें.
- Apps Script प्रोजेक्ट फ़ॉर्म की सूचनाएं का नाम बदलें और नाम बदलें पर क्लिक करें.
- फ़ाइल जोड़ें add
> एचटीएमएल पर क्लिक करें. फ़ाइल को
sidebar
नाम दें.
about
,
authorizationEmail
, creatorNotification
, और respondentNotification
नाम की चार और एचटीएमएल फ़ाइलें बनाने के लिए, पांचवां चरण दोहराएं.
काम पूरा होने के बाद, आपके पास एक स्क्रिप्ट फ़ाइल और पांच एचटीएमएल फ़ाइलें होनी चाहिए.
हर फ़ाइल के कॉन्टेंट को, नीचे दिए गए कोड से बदलें. इसके बाद,
सेव करें
पर क्लिक करें.
स्क्रिप्ट चलाना
- अपने फ़ॉर्म पर वापस जाएं और पेज को रीफ़्रेश करें.
- अपने फ़ॉर्म में, छोटे जवाब वाला टेक्स्ट सवाल जोड़ें. बिना शीर्षक वाला सवाल में,
ईमेल पता डालें. इसके अलावा, फ़ॉर्म में अन्य सवाल भी बनाए जा सकते हैं.
- ऐड-ऑन extension
> फ़ॉर्म से जुड़ी सूचनाएं पर क्लिक करें. ऐड-ऑन
extension दिखने में कुछ सेकंड लग सकते हैं.
- डायलॉग में, सूचनाएं कॉन्फ़िगर करें पर क्लिक करें.
- जब कहा जाए, तब ऐड-ऑन को अनुमति दें.
- फिर से, ऐड-ऑन extension
> फ़ॉर्म से जुड़ी सूचनाएं
> सूचनाएं कॉन्फ़िगर करें पर क्लिक करें.
- ऐड-ऑन में, मुझे सूचना दें बॉक्स पर सही का निशान लगाएं और अपना ईमेल पता डालें.
- हर बार सूचनाएं भेजें के लिए, 1 डालें.
- सेव करें पर क्लिक करें.
- जवाब सबमिट करने के लिए, झलक देखें visibility पर क्लिक करें
- फ़ॉर्म भरें और सबमिट करें पर क्लिक करें.
- सूचना के लिए अपना ईमेल देखें.
अगले चरण
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-14 (UTC) को अपडेट किया गया."],[[["This Google Forms add-on automates email notifications to form creators and/or respondents upon submission."],["Customizable settings allow control over notification frequency, recipient emails, and content."],["The add-on utilizes Google Apps Script triggers to execute functions when the form is opened, installed, or submitted."],["Users configure notification preferences through a sidebar accessible within the Google Form."],["The script manages authorization to access Google services for sending emails and interacting with form data."]]],["This Google Forms add-on automates email notifications upon form submissions. It notifies the form creator when a set number of responses are received and sends a custom message to respondents. Users configure notification frequency, recipient emails, and custom messages via a sidebar. The add-on manages authorization, sends re-authorization requests, and respects email quotas. Key actions include saving settings, managing triggers, handling form submissions, sending notifications, and validating user inputs. The code structure comprises the script (`code.gs`) and the HTML code (`sidebar.html`, `about.html`, `authorizationEmail.html`, `creatorNotification.html`, `respondentNotification.html`).\n"]]