Creating non-autogenerated sections
Create non-autogenerated sections with custom scripts to supplement the standard Pega Platform JavaScript with extra functionalities. For example, you can add custom client-side validation scripts to your section.
In the header of Dev Studio, click
.On the Create Section tab, specify the label, context, class, and ruleset for the section, and then click Create and open.
If the section is based on a template, in the section editor header, click convert to full section editor, and then confirm the conversion.
On the HTML tab, define the section:
Clear the Auto-generated check box.
Note: Manually-edited HTML in sections can introduce complex, difficult-to-debug processing into your application. Clear this check box only when necessary. Avoid manually-edited HTML in sections when other approaches can achieve the same result. For more information, see Sections. In the HTML source field, enter your custom HTML code or JavaScript for the new section.
Click Save.
Previous topic Customizing sections and controls with JavaScript Next topic Creating non-autogenerated custom controls