# How to dynamically change the request title with field information

**URL:** <https://discuss.workflowgen.com/t/how-to-dynamically-change-the-request-title-with-field-information/2124>\
**Category:** Form Designer\
**Created:** [January 25, 2023, 4:15pm UTC](https://discuss.workflowgen.com/t/how-to-dynamically-change-the-request-title-with-field-information/2124 "2023-01-25T16:15:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyelle](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/lyelle/32/455_2.png) [@lyelle](https://discuss.workflowgen.com/u/lyelle)\
**Post date:** [January 25, 2023, 4:15pm UTC](https://discuss.workflowgen.com/t/how-to-dynamically-change-the-request-title-with-field-information/2124/1 "2023-01-25T16:15:14Z")

</div>

# Overview

This article will show you how to add dynamic information to the title of a request.

For example, you can have the request title include the first and last names of the requester:

- `REQUEST# 134 - John Doe`
- `REQUEST# 135 - Jane Smith`

# Implementation

In the Form Designer code-behind, copy and paste the code below:

```cs
protected void Page_Load(object sender, EventArgs e)
{
    if(!IsPostBack)
        if(CurrentWorkflowActionName == "INITIATES")
            CURRENT_REQUEST.Text += " - " + REQUEST_FIRSTNAME.Text + " " + REQUEST_LASTNAME.Text;
    base.Page_Load(sender, e);
}

```

> - Make sure the `IsPostBack` parameter is set before updating the value of /CURRENT\_REQUEST.Text/, otherwise the title will keep adding the information upon each page refresh.
> 
> - The `CurrentWorkflowActionName == ""` parameter is not required, but lets you control on which action the title will be updated.

A sample process can be found on the WorkflowGen GitHub community:

> **[workflowgen-community/samples/update-request-title-with-dynamic-information at...](https://github.com/advantys/workflowgen-community/tree/main/samples/update-request-title-with-dynamic-information)**
>
> WorkflowGen community repository. Contribute to advantys/workflowgen-community development by creating an account on GitHub.
