สร้างฟอร์ม PDF
เปลี่ยนเอกสารที่ดูเหมือนแบบพิมพ์ให้กรอกบนหน้าจอได้
เครื่องมือนี้ทำงานในเบราว์เซอร์ของคุณทั้งหมด ไฟล์ของคุณไม่ถูกอัปโหลดเลย และคุณตรวจสอบได้เองในแท็บเครือข่ายของเบราว์เซอร์ ตรวจสอบด้วยตัวเอง เปิดแท็บเครือข่ายของเบราว์เซอร์แล้วดู คุณจะเห็นคำขอเล็ก ๆ หนึ่งรายการที่ถามว่าคุณยังมีโควตางานเหลืออยู่หรือไม่ ซึ่งมีแค่ชื่อเครื่องมือกับค่าแฮช ไม่ใช่ตัวไฟล์
เครื่องมือนี้ทำอะไร
This adds real form fields to a document that has none. You draw each field where it belongs on the rendered page, and the file that comes out carries named AcroForm fields that any reader can fill - not text boxes drawn as artwork. Positions are chosen by dragging rather than typed as numbers, because a field belongs to a spot on the page and no set of coordinates would be quicker or more accurate than putting a box where the line already is.
Use it when a form keeps getting printed, filled by hand and scanned back: a leave request, a delivery note, a membership application, a supplier questionnaire. It is also what you want after designing a form in Word or InDesign, where the layout is right but nothing is fillable.
วิธีทำงาน
- Drop the PDF onto this page. It is rendered so you work on the page you can see.
- Leave the proposal option on for a first pass, then accept, move or delete what it suggests.
- Drag out any further fields and set what each one needs: its kind, a name, a tooltip, whether it is required, and the choices for a dropdown or a radio group.
- Check the names. Two fields sharing a name are one field in PDF, which is right for a radio group and a bug anywhere else.
- Press Create form and download the fillable document.
Six kinds of field are offered and five of them are created here: a text box, a tick box, a radio group, a dropdown and a scrolling option list. A signature field is refused rather than faked, because pdf-lib can read one but not create one, and a hand-built signature field with no byte range shows in readers as a broken signature rather than an empty one. Sign PDF adds a real one.
Every field created here gets a hairline border and a pale wash, and its appearance stream is generated before anyone clicks it. This is not decoration. A field with no border and no background renders as an invisible rectangle, the person opening your form sees a blank page, clicks nothing, and concludes the form does not work.
A text box taller than 32 points is made multiline automatically, so a comments box wraps instead of scrolling one line sideways. The label you give a field is written as its tooltip, which is the only label a field carries in the file itself - readers show it on hover and screen readers read it out, so it is worth filling in even when the printed text beside the box says the same thing.
Up to 500 fields in one pass, and the names have to be unique except within a radio group, where sharing a name is what makes the buttons mutually exclusive. Automatic proposal looks for the marks that mean write here - long horizontal rules, empty boxes, rows of dots - and it proposes rather than applies, because a wrong field is more annoying to remove than a missing one is to add.
The page is rendered, the fields are placed and the document is written entirely inside your browser. A blank internal form and a signed one are treated the same way, since neither is transmitted at any point.
สิ่งที่เครื่องมือนี้ทำไม่ได้
- Calculated fields, validation rules and any other JavaScript behaviour are not created. Fields here hold what someone types; they do not add a column of figures or check a format.
คำถามที่คนมักถาม
- ฉันเพิ่มช่องกรอกแบบไหนได้บ้าง
- กล่องข้อความ ช่องติ๊ก กลุ่มปุ่มตัวเลือก เมนูดรอปดาวน์ และรายการตัวเลือกแบบเลื่อน กล่องข้อความที่สูงเกิน 32 พอยต์จะกลายเป็นแบบหลายบรรทัด คำตอบยาว ๆ จึงตัดขึ้นบรรทัดใหม่ได้ ปุ่มตัวเลือกในกลุ่มเดียวกันใช้ชื่อร่วมกัน ซึ่งเป็นสิ่งที่ทำให้การเลือกอันหนึ่งไปล้างอันอื่น ส่วนช่องประเภทอื่นต้องมีชื่อของตัวเอง
- การเสนอช่องกรอกอัตโนมัติแม่นแค่ไหน
- มันหากรณีที่ชัดเจนได้ดี เช่น เส้นบรรทัดสำหรับเขียนชื่อ สี่เหลี่ยมว่างไว้ติ๊ก หรือแถวจุดไข่ปลา แต่มันไม่มีทางรู้ว่าเส้นหนึ่งคือเส้นลายเซ็นไม่ใช่ช่องชื่อ จึงเสนอมาให้คุณยืนยัน ในตารางที่มีเส้นถี่ ๆ มันจะเสนอเกินจริง ซึ่งเป็นความผิดพลาดแบบที่ตั้งใจให้เป็น เพราะลบข้อเสนอทิ้งใช้คลิกเดียว แต่การรู้ว่าขาดช่องไปหนึ่งช่องต้องรอให้คนกรอกฟอร์มมาบ่น
- ฟอร์มจะใช้ได้กับโปรแกรมอ่าน PDF ทุกตัวไหม
- มันใช้ช่องกรอกแบบ AcroForm ซึ่งเป็นรูปแบบที่ Acrobat, Preview, Chrome, Firefox, Edge และโปรแกรมอ่านบนมือถือทั่วไปรองรับทั้งหมด เพราะรูปลักษณ์ของแต่ละช่องถูกเขียนลงในไฟล์ ช่องจึงหน้าตาเหมือนกันก่อนถูกคลิกในทุกโปรแกรม สิ่งที่ต่างกันคือความประณีต บางโปรแกรมไฮไลต์ช่องที่กรอกได้เป็นสีฟ้า บางโปรแกรมไม่ทำ และโปรแกรมอ่านบนมือถือรุ่นเก่าบางตัวแสดงช่องแต่ไม่ให้พิมพ์
- เพิ่มช่องลายเซ็นได้ไหม
- ไม่ได้ที่นี่ และตั้งใจให้เป็นเช่นนั้น ช่องลายเซ็นที่ไม่มีอะไรอยู่เบื้องหลังจะถูกโปรแกรมอ่านแสดงว่าเป็นลายเซ็นที่เสีย ไม่ใช่กล่องว่างที่รอลายเซ็นอยู่ ให้ใช้เซ็น PDF ซึ่งสร้างทั้งช่องและลายเซ็นไปพร้อมกันตามลำดับที่รูปแบบไฟล์กำหนด ถ้าคุณต้องการแค่ที่ว่างไว้วาดรอยเซ็น กล่องข้อความสูง ๆ หรือเส้นบรรทัดธรรมดาก็ใช้ได้
- เอกสารถูกอัปโหลดเพื่อสร้างฟอร์มไหม
- ไม่ หน้าเอกสารถูกเรนเดอร์ในเบราว์เซอร์ของคุณด้วย PDF.js ช่องกรอกถูกเขียนด้วย pdf-lib ใน Web Worker และไฟล์ที่เสร็จแล้วถูกสร้างขึ้นในเครื่อง รวมถึงเทมเพลตภายในองค์กรที่คนมักใช้เป็นต้นแบบของฟอร์ม ซึ่งมักเป็นสิ่งสุดท้ายที่ใครก็ตามอยากให้ไปอยู่บนเซิร์ฟเวอร์ของคนอื่น