You are viewing this post: Google Form การสร้างฟอร์ม ไม่ให้คนเดิมกรอกข้อมูลซ้ำ | กรอก แบบสอบถาม ออนไลน์ | สังเคราะห์ความรู้ที่เป็นประโยชน์ที่สุดในหัวข้อเศรษฐกิจการเงินและการลงทุน
Table of Contents
Google Form การสร้างฟอร์ม ไม่ให้คนเดิมกรอกข้อมูลซ้ำ | ความรู้ด้านการเงินและการลงทุนล่าสุด.
รูปภาพที่เกี่ยวข้องกับเรื่อง Google Form การสร้างฟอร์ม ไม่ให้คนเดิมกรอกข้อมูลซ้ำ.
สามารถดูข้อมูลที่เป็นประโยชน์เพิ่มเติมได้ที่นี่: https://castu.org/investment
ความรู้ที่เกี่ยวข้องกับบทความ กรอก แบบสอบถาม ออนไลน์
========================= ✅ แฟนเพจ “ครูอภิวัฒน์สอนสร้างสื่อ” ✅ เข้าร่วมกลุ่มไลน์ “ครูอภิวัฒน์สอนสร้างสื่อ” ” ✅ Facebook..Apiwat Wongkanha 🔴 ✅ Flash Game Creation Group 🔴 ✅ PowerPoint Media Creation Group 🔴 ✅ Construct2 Game Creation Group 🔴 ✅ CAI Media Creation Group with Construct2 🔴 ✅ Drawing Group with a computer 🔴 .
>>https://castu.org/ เราหวังว่าข้อมูลนี้จะมีคุณค่าอย่างยิ่งสำหรับคุณ ขอบคุณมากที่รับชม.
เนื้อหาเกี่ยวข้องกับเนื้อหากรอก แบบสอบถาม ออนไลน์.
#Google #Form #การสรางฟอรม #ไมใหคนเดมกรอกขอมลซำ
ครูอภิวัฒน์,อภิวัฒน์,วงศ์กัณหา,สอนสร้างสื่อ,apiwat,อภิวัฒน์ วงศ์กัณหา,ครูอภิวัฒน์ สอนสร้างสื่อ
Google Form การสร้างฟอร์ม ไม่ให้คนเดิมกรอกข้อมูลซ้ำ
กรอก แบบสอบถาม ออนไลน์.
Articles compiled by CASTU. See more articles in category: INVESTMENT
var sheetId = "xxxx"
var formId = "xxxx"
function myFunction() {
var ss = SpreadsheetApp.openById(sheetId)
var sheet = ss.getSheetByName("การตอบแบบฟอร์ม 1")
var form = FormApp.openById(formId)
var data = […new Set(sheet.getDataRange().getDisplayValues().map(row=> row[1]))].join('|')
var item = form.getItems().filter(item=>item.getTitle() == 'ชื่อ สกุล')[0].asTextItem()
var pattern = `(${data})`
var textval = FormApp.createTextValidation().setHelpText("คุณกรอกชื่อซ้ำ!!").requireTextDoesNotMatchPattern(pattern).build()
item.setValidation(textval)
}
ลองทำตามแล้ว ไม่มีการเช็คซ้ำให้เลยอ่ะค่ะ
TypeError: FormApp.createTextValidation(…).setHelpText(…).requireTextDoesNotMatchPattern(…).Build is not a function
หมายถึงอะไรครับ ระบบส่งเข้าเมล์ตั้งแต่ส่งข้อมูลชุดแรกเลยครับ
code
var textval = FormApp.createTextValidation().setHelpText('กรอกชื่อซ้ำ').requireTextDoesNotMatchPattern(pattern).Build()
item.setValidation(textval)
ขอบคุณมากๆนะครับ คุณครู
กด Alt 96 สัญลักษณ์ไม่ขึ้นครับ
เรียน อ. ครับ
เราสามารถกำหนดจำนวนช่องกรอกได้ไหม เช่น กรอกรหัสพนักงานไม่เกิน 5 หลัก และเช็คข้อมูลว่ารหัสพนักงานนี้ได้กรอกไปแล้วหรือยัง หากยังให้แสดงข้อความ "รหัสพนักงานนี้ได้กรอกไปแล้ว" แบบนี้เป็นต้น พอจะมี Code ไหมครับ ขอบคุณมากครับ
สามเงื่อนไขทำอย่างไรครับคือสามารถส่งฟอร์มได้ทุกวันจันทร์ถึงศุกร์เท่านั้นส่วนวันเสาร์-อาทิตย์ บันทึกได้ 2 ครัง
สุดยอดครับ เข้าใจง่าย
Syntax error: SyntaxError: Unexpected token '.' line: 9 file: Code.gs จะแก้ไงครับ
อาจารย์ครับ ถ้าจะกำหนดให้เขากรอกข้อมูลได้ไม่เกินคนละ 2 ครั้ง ต้องแก้โค๊ตส่วนไหนครับ ขอบพระคุณล่วงหน้าครับ
กรณีต้องการเช็คแต่ละช่วง ซึ่งมีหลายหน้า ได้ไหมครับ
ถ้าเป็นตัวเลขทำยังไงเหรอครับ
ขอโค้ดได้มั้ยคับ
error TypeError: FormApp.createTextValidation(…).setHelpText(…).requireTextDoesNotMatchPatter is not a function ไม่ทราบว่าต้องแก้ไขยังไงคะ
ขอบคุณครับอาจารย์ ได้ทดลองนำไปใช้กับการป้องกันกรอกเลขประจำตัวซ้ำโดยให้ลำดับแรกใส่เลขประจำตัวก่อน ปรากฏว่าในกรณีที่เด็กต้องเข้ามาแก้ไขข้อมูลส่วนอื่น ไม่สามารถทำได้เพราะระบบแจ้งว่าเลขประจำตัวซ้ำ ถ้าต้องการให้เด็กแก้ไขข้อมูลที่เคยกรอกไว้ได้ต้องทำอย่างไรครับ
สอบถามครับ ถ้าในกรณีที่ต้องใช้รหัสเดิมมีการลงทะเบียนผ่าน google form ทุกวัน จะให้วันถัดไป มีการเริ่มใหม่ ต้องเพิ่ม Scrip แบบใหนเพิ่มครับ
ขอบคุณครับผม อาจารย์ครับ
ผมติดปัญหาครับ เช่น ข้อมูล 123456 มันสามารถ alert ว่า ซ้ำได้ แต่ถ้า ข้อมูลของผมเป็น |123456 มันปล่อยผ่านไปเลยทั้งๆที่มีข้อมูลอยู่ใน Google sheet แล้ว สามารถแก้ไข อย่างไรได้บ้างครับ ขอบคุณครับ อาจารย์
กด Alt 5 6 แล้วแต่ไม่มีเครื่องหมายแบบท่านขึ้นค่ะ
ขออนุญาตสอบถามครับ
ถ้าผมต้องการเช็คซ้ำมากกว่า 1 ข้อมูล เช่น “ชื่อ” “นามสกุล” วันเดือนปีเกิด” ผมต้องเพิ่มโค้ดยังไงเหรอครับ
ขอบคุณมากครับ ช่วยได้มากเลย
มันขึ้น Error แบบนี้ครับ TypeError: Cannot read property 'asTextItem' of undefined
myFunction แก้ยังไงครับ
ถ้าตัวที่จะเช็คเป็นรหัสนักเรียน ค่าที่จะให้พิมพ์จะเป็นตัวเลข 6 ตัวน่ะค่ะ ในส่วนของโค้ดต้องแก้ตรงไหนไหมคะอาจารย์
ถ้าเกิดอยากให้มีการเช็ค 2 เงื่อนไข เช่น ชื่อและรหัสพนักงาน สามารถที่จะพิมพ์คำสั่งเหมือนบรรทัด 9 แต่เปลี่ยนเป็น รหัสพนักงาน ได้ไหมค่ะ
ขอวิธีกด แบล็กติก หน่อยครับ กดยังไงก็ไม่ได้ แถมไม่รู้ว่าสัญลักษณ์เป็นแบบไหนด้วย
เป็นคลิปสอนที่มีประโยชน์มากๆเลยครับ ขอทราบแหล่งที่มาของข้อมูลหน่อยได้ไหมครับ
Script ที่ทำไว้แล้ว สามารถเรียกกลับมาใช้ใน ฟอร์ม อื่นได้ไหมครับ ถ้าเป็นฟอร์มลงทะเบียนในลักษณะเดียวกัน แต่แบ่งเป็นรุ่นๆ อย่างเช่น ใบลงทะเบียน แต่ต้องแก้ตรงชื่อ Id ของ Sheet กับ Formsให้ถูกต้อง แล้วต้องสร้างโครงการเป็นชื่อใหม่ และกด ทริคเกอร์ใหม่ ในแต่ละอันแยกๆ กันไป เข้าใจแบบนี้ถูกต้องไหมครับ
ถ้าเราจะเอาบรรทัดล่างไว้ แล้วลบบรรทัดบนออก ในกรณีที่ผู้กรอกข้อมูลครั้งแรกกรอกข้อมูลผิดและเข้ามากรอกครั้งที่สองเพื่อแก้ไข. เราจะใช้คำสั่งสคริปอย่างไรดีครับอาจารย์
ควรจะตรวจสอบจากเลขบัตรประชาชน นะครับเพราะชื่อคนเราซ้ำกันได้ครับอาจารย์
Hello, i feel that i noticed you visited my web site so i got here to return the want?.I
am trying to find issues to improve my web site!I suppose its good enough to make
use of a few of your ideas!!
I savour, lead to I found exactly what I was taking
a look for. You have ended my four day long hunt! God Bless you
man. Have a great day. Bye
What’s Happening i am new to this, I stumbled upon this I’ve
found It positively helpful and it has helped me out loads.
I am hoping to contribute & assist different users like its helped me.
Great job.
What’s up everyone, it’s my first pay a visit at this site, and
post is really fruitful designed for me, keep up posting these types of articles or reviews.
Hello friends, how is all, and what you would like to say about this
piece of writing, in my view its in fact amazing in support of me.
Great post. I was checking continuously this
weblog and I’m inspired! Very helpful information specifically the final section :
) I take care of such information a lot. I was seeking this certain info for a
long time. Thanks and good luck.
It’s enormous that you are getting thoughts from this article as well as
from our discussion made at this place.
Thanks for sharing such a fastidious opinion, article is good, thats why i have read
it fully
Hello, i feel that i noticed you visited my site so i got here to return the
choose?.I’m attempting to in finding things to improve my
website!I guess its ok to use some of your ideas!!
Can you tell us more about this? I’d love to find out more details.
Hello, i read your blog occasionally and i own a similar
one and i was just wondering if you get a lot of spam responses?
If so how do you stop it, any plugin or anything you can suggest?
I get so much lately it’s driving me crazy so any help is very much appreciated.
If you wish for to get a good deal from this piece of writing then you have to apply these techniques
to your won web site.
Hello, its pleasant paragraph on the topic of media print, we
all be familiar with media is a enormous source of
information.