Developer

This feature is available to users with extensive knowledge of Cascading Style Sheets and JavaScript. Use this feature only if you fully understand CSS and JS, as using these programming languages may overwrite the style profile you use on your form.

As part of corporate branding initiatives, style guides are commonly used to ensure brand consistency and give a sense of identity across all an organization's sites and forms. The Developer tab in the Style Profile Designer allows you to use custom external resources such as Cascading Style Sheets (CSS) and JavaScript (JS) in your style profiles. This allows you to include modern capabilities, extend the look and feel of your style profile, and optimize web page behavior.

 From the Developer tab you can:

  • Add CSS customizations to style and change the layout of your web pages. This allows you to go beyond colors and impact other variables in your forms such as rounded corners, and font types and sizes.
  • Add JS customizations to impact web page behavior. This allows you to code once and reuse it in any SmartForm that uses that style profile.

Requirements

  • Web server for hosting external files - An HTTP web server is required to host your external files for linking to your style profile. This is typically a web server in your organization that is able to transfer files using HTTP and HTTPS. See External files for more information about adding external files and file URLs.
  • Cross-Origin Resource Sharing (CORS) enabled on the web server - You can run your HTTP web server with or without CORS while testing your external files and depending on your organization's security policies. For security reasons we suggest you enable this on the web server where the external files are hosted.
  • Knowledge of CSS, responsive web design, and JS - Linking external CSS and JS files to a style profile overwrites the default style and behavior. Ensure you understand these programming languages before using external files as overwriting the style profile may result in unexpected behavior.
  • Ready to use CSS and JS files - Create and use your own CSS and JS files.

See the following resources for more information: