How to customize an elastic template's appearance
This topic demonstrates how to use the Click API to customize the appearance of an existing elastic template when embedding it in your website.
You perform this step after you follow the steps in How to embed an elastic signing agreement.
Required data
Running the code in this how-to requires this data:
Add a ‘style’ attribute to your HTML for embedding the elastic template
As you can see in How to embed an elastic signing agreement, embedding an elastic signing agreement requires two <script> tags: one that calls the Docusign Click JavaScript library, and another that specifies the elastic template to be embedded.
To customize your elastic template’s appearance, you add a style attribute to the second <script> tag, passed to the Clickwrap.render method. This style attribute contains optional fields that can be used to customize the appearance of the elastic template.
Elastic templates can only be customized when embedded in a website (you cannot customize the appearance of a clickwrap using the API). For a full list of elements and properties that you can customize within an elastic template style attribute, see Customize elastic template appearance.
Next steps
- See Customize elastic template appearance.
- See details on How to activate an elastic template.
- See how to Go-Live with a completed app and find the base path for API calls in the production environment.