HTML labels in CPQ wizards
You can include HTML formatting, including links and images, in text fields such as text boxes in a CPQ wizard.
To include HTML, add the __html__
layout command to the caption of a text field. Any HTML following this command will be rendered.
Example:
__html__ <div style="padding:10px;margin:10px;background-color:pink;" onclick="alert('testing');"><h2>HTML</h2> <img src="image URL"> <a href="https://www.google.com" target="_blank">Google</a> </div>
You can optionally include the __fullwidthfield__
command to show the field across the entire width of the screen.
__html__ __fullwidthfield__<div style="padding:10px;margin:10px;background-color:blue;" onclick="alert('testing');"><h1>Full Width</h1><h2>HTML</h2> <img src="image URL"> <a href="https://www.google.com" target="_blank">Google</a>> </div>