How to collect signatures in WordPress forms
WordPress does not include a signature field by itself. You can build a canvas-based field with JavaScript and server-side image handling, but a form add-on is safer for validation, mobile input, storage, and notifications.
- 01Decide what the signature means
- 02Check your form plugin
- 03Install the signature extension
- 04Add and configure the field
- 05Add consent and notifications
- 06Test before collecting real signatures
What you need
- A WordPress site with an existing form plugin
- Administrator access
- A clear consent or agreement statement
- A test phone and desktop browser
Decide what the signature means
Decide whether you need a simple drawn acknowledgement or a more formal signing workflow. Include the signer’s name, email address, the agreement or consent text, and the submission date alongside the signature.
A drawn signature image is not automatically the same as a complete electronic-signature audit trail. If the document has legal, financial, medical, or regulatory importance, confirm the record-keeping requirements before relying on a WordPress form.
Check your form plugin
Look through your form builder’s available fields or add-ons for a signature field. WordPress itself does not provide a signature control in the block editor, so your current form plugin must either support signatures or allow custom fields and code.
If there is no signature field, the manual route requires an HTML5 canvas, JavaScript that accepts mouse and touch input, a hidden form value containing the image data, server-side conversion and storage, and validation to stop empty submissions. That is possible, but it is the part most likely to break during theme, caching, or mobile changes. A typical custom implementation converts the canvas to a PNG data string before submission.
Install the signature extension
For the faster route, install and activate a signature extension that matches your form builder. With Gravity Forms, the Signature Add-On adds a Signature field to the Advanced Fields toolbox. The add-on requires the server’s PHP GD library because it creates the signature image on the server.
After activation, open the form you want to edit and confirm that the Signature field is available before changing the live form.
Add and configure the field
Open the form editor, drag the Signature field into the agreement or approval section, and give it a clear label such as Signature or Authorised signature. Set the field as required if a submission must not proceed without a signature.
Adjust the pad’s background, border, pen colour, size, and width so it is easy to use. Gravity Forms stores the captured signature as a PNG image and displays it in the entry details.
Add consent and notifications
Place the agreement text and a required consent checkbox next to the signature field. Do not rely on the image alone to show what the signer accepted. Keep the signer’s name, email, form version, and any relevant reference number in the same entry.
Configure the notification so the recipient can identify the submission. In Gravity Forms, the signature thumbnail is included with the {all_fields} merge tag, and you can insert the individual signature image in an HTML notification with its field merge tag.
Test before collecting real signatures
Submit test entries from a desktop mouse, an Android phone, and an iPhone or iPad. Check that the signature is visible in the entry, appears in the notification when intended, and remains available after refreshing the confirmation page.
Common failures include a canvas that becomes offset after responsive CSS resizes it, a mobile pad that will not accept input, and a signature that looks present but is not copied into the submitted field. Avoid forcing the pad’s width with custom CSS unless you also handle canvas resizing; support threads regularly report drawing offsets after responsive styling. Also check that the GD library is enabled and that caching or optimisation tools are not delaying the field’s scripts.
Let Gravity Forms Signature Add-on do it
Adds touch, mouse, and stylus signature fields to Gravity Forms when signed approvals or agreements are required.
Sources
- docs.superoffice.com /en/customer-center/tutorials/custom-form-signature.html?utm…
- docs.gravityforms.com /signature-add-on/?utm_source=openai
- docs.gravityforms.com /using-the-signature-add-on/?utm_source=openai
- wordpress.org /support/topic/responsive-signature-pad/?utm_source=openai
Questions
- Can WordPress collect signatures without a plugin?
- Not with WordPress core alone. You can build a custom signature pad using an HTML5 canvas, JavaScript for mouse and touch input, a hidden field, and server-side image processing. You must also handle required-field validation, secure storage, notifications, and mobile resizing yourself, so this route is mainly suitable when you can maintain custom code.
- Is a drawn signature legally binding?
- A drawn signature may form part of an electronic-signature record, but its legal weight depends on the document, jurisdiction, consent process, identity checks, and audit trail. Store the signed content, signer details, timestamp, and submission record together. For contracts or regulated records, get advice on the requirements that apply to your organisation.
- Why is the signature field not working on mobile?
- Mobile failures usually come from incompatible scripts, an incorrectly resized canvas, cached or missing JavaScript, or a form field hidden inside a collapsed layout. Test the form on the actual mobile browsers your visitors use, avoid overriding the canvas dimensions with untested CSS, and update the signature extension and form plugin before debugging theme conflicts.
- How do I make a signature mandatory?
- Enable the signature field’s required setting in your form builder, then test an empty submission. The form should show a validation message and refuse to submit until the visitor signs. Also test after clearing a signature, navigating through any multi-page form, and submitting with JavaScript enabled, because custom fields can appear filled while sending an empty value.
- What is the fastest way to collect signatures in WordPress forms?
- Use a form builder with a supported signature add-on, add its signature field, mark it required, and configure the entry and email notifications. The Gravity Forms Signature Add-On supports mouse, touch, and stylus input, stores the result as a PNG image, and avoids maintaining a custom canvas implementation.