Generic selectors
Exact matches only
Search in title
Search in content

How to customize the digital signature box?

When using our HTML form generator, you can add electronic signature fields to your forms. The signature field is delimited by a box-shaped canvas.

To customize the digital signature box on your form, you’ll need to use Inspect Element in your browser to locate its ID. By applying custom CSS codes to the field you can customize its appearance using our CSS form generator. Add your own CSS code in the forms Design → Add custom CSS section to override the default styles of our theme.


How to locate the ID

You’ll need to open the form in view mode and right-click the digital signature box. Next, hit Inspect element. This will open the browser’s console.

The below ID is the one that will change the design of all signature fields.

#form div[data-role=control][data-type=signature] div[data-role=signature-container]>canvas

How to add attributes

Paste the ID and continue by opening curly braces { }. Inside the curly braces place the CSS attributes, followed by a semicolon.

Here are a few examples that you can use to customize your Signature field.

1. Change the background color of the signature field.

#form div[data-role=control][data-type=signature] div[data-role=signature-container]>canvas
{
background-color:#0080ff;
}
Signature box background color

2. Add your own image as the background.

#form div[data-role=control][data-type=signature] div[data-role=signature-container]

{
content: url('https://www.something123.com/button123.png');
}
Signature box image

3. Change the design of the Clear button.

You can also style the clear option that appears on the bottom right side of the signature box whenever the form visitors provide a signature.

The ID for the clear link is a bit different than the one for the Signature field. You can find it below:

#form div[data-role=control][data-type=signature] div[data-role=signature-container] > a[data-role=clear-signature]

Copy the link above and provide the styles that you want.

#form div[data-role=control][data-type=signature] div[data-role=signature-container] > a[data-role=clear-signature] 
{
color: #e22727;
font-size: 17px;
font-family: 'Roboto', sans-serif;
transform: rotate3d(-1, 3, 1, -34deg);
}
Clear button

2 comments

  1. is there any way we can change the height of the area a user can write on?

    We tried using the following custom CSS but now only a limited surface of the box is ready to receive input. The upper part is writable, the lower one is not accepting input, like the signature container is not of the set height of 300px

    #form div[data-role=control][data-type=signature] div[data-role=signature-container]
    {
    height: 300px !important;
    }

Leave a Reply

Your email address will not be published. Required fields are marked *

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?