Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize
        • Ideas for web templates
        • Web template design best practices
            • Create a form
            • Types of parameters
        • Edit a web template
        • Publish a web template
        • Copy a web template to another tenant
        • View web template details
        • Duplicate a web template
        • Delete a web template
    • View guest events
    • Copying entities between tenants
  • Using client-side JavaScript
  • Glossary
  1. Create a web template
  1. Sitecore Personalize
  2. Developer Center

Create a form for a web template

To further enable marketers to customize a web experiment or web experience without using code, technical users can create dynamic forms for the marketer to complete, without ever having to edit HTML. All the marketer has to do is enter or select the content they want to display in the web experiment or experience, as shown in the following image.

An example of a web template form for a marketer added to an experience.

To add configurable parameters to a web template, in the HTML editor, add the template parameter syntax to the required HTML block:

[[parameter_name | type | default_value | {config1: value1, config2: value2 } ]]

The following image shows the parameters entered in the HTML tab:

Configuring a web form with parameters.

Team members with a User, Developer, or Admin role in Sitecore Cloud Portal can create a form for a web template.

The following table describes the template parameter elements that you use to create a form for a web template.

ElementDescriptionRequired
parameter_nameThe name of the form field that the marketer sees when they create a web experiment or experience based off the web template. Example: GreetingYes
typeThe type of form field that determines whether the marketer enters text, a number, selects from a drop-down list, and so on.

Options: string, text, number, enum, colour.
Yes
default_valueThe default value that displays in the form field for the marketer to confirm or select from a drop-down list.Optional, but necessary if you want to add variables that the user can select from.
orderThe order that the parameter field displays on the form. You can use this element with all the template parameters.Optional
configurationA JSON configuration object that contains name/value pairs, in relation to the type you selected.Optional
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use