---
title: Using form data in Scoring, Personas and Contact groups
related:
  - https://docs.kentico.com/k11/managing-website-content/forms/creating-new-forms.md
  - https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/scoring-contacts.md
  - https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/personas.md
  - https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/segmenting-contacts-into-contact-groups.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

You can use the information visitors enter in your forms for [scores](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/scoring-contacts.md) and contact segmentation ([personas](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/personas.md) and [contact groups](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/segmenting-contacts-into-contact-groups.md)). For example, you can build a contact group for visitors who used the word "buy" or the words "problems with" anywhere in the Description field of your form.

> **Info:** This functionality works for fields into which contacts enter text.

## Using form data in Scoring

1. Create a [score](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/scoring-contacts/managing-contact-scores.md#creating-scores) in the **Scoring** application.
2. On the **Rules** tab, create a new **Macro** type rule.

   ![Creating a new Macro rule](https://docs.kentico.com/docsassets/k11/using-form-data-in-scoring-personas-and-contact-groups/creating_a_score.png "Creating a new Macro rule")
3. Use the _Contact has filled in form field with value containing specific text in the last X days_ macro condition.

   ![Creating a macro rule](https://docs.kentico.com/docsassets/k11/using-form-data-in-scoring-personas-and-contact-groups/creating_macro_rule.png "Creating a macro rule")
4. **Save & Close**.

The rule will now add points in the score to site visitors who entered the specific text in the form field.

## Using form data in Personas

1. Create a [persona](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/personas/defining-personas.md#creating-a-new-persona-in-the-system) in the **Personas** application.
2. On the **Rules** tab, create a new **Macro** type rule.

   ![Creating a new Macro rule](https://docs.kentico.com/docsassets/k11/using-form-data-in-scoring-personas-and-contact-groups/creating_a_persona.png "Creating a new Macro rule")
3. Use the _Contact has filled in form field with value containing specific text in the last X days_ macro condition.

   ![Creating a macro rule](https://docs.kentico.com/docsassets/k11/using-form-data-in-scoring-personas-and-contact-groups/creating_macro_rule.png "Creating a macro rule")
4. **Save & Close**.

The rule will now add points in the persona to site visitors who entered the specific text in the form field.

## Using form data in Contact groups

1. Create a [contact group](https://docs.kentico.com/k11/on-line-marketing-features/managing-your-on-line-marketing-features/contact-management/segmenting-contacts-into-contact-groups.md) in the **Contact groups** application.
2. Enable **Condition-based contact group**.
3. **Edit** the **Macro condition**.
4. Use the _Contact has filled in form field with value containing specific text in the last X days_ macro condition.

   ![Creating a macro rule](https://docs.kentico.com/docsassets/k11/using-form-data-in-scoring-personas-and-contact-groups/creating_macro_rule.png "Creating a macro rule")
5. **Save & Close**.
6. **Save** the contact group.

The system now adds visitors who enter the specific text in the form field to the contact group.
