# Dynamic Widget Titles & Widget Visibility

**URL:** <https://pug.phocassoftware.com/t/dynamic-widget-titles-widget-visibility/1994>\
**Category:** Ask the Community\
**Tags:** howto\
**Created:** [October 7, 2021, 9:56am UTC](https://pug.phocassoftware.com/t/dynamic-widget-titles-widget-visibility/1994 "2021-10-07T09:56:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug.bold](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@doug.bold](https://pug.phocassoftware.com/u/doug.bold)\
**Post date:** [October 7, 2021, 9:56am UTC](https://pug.phocassoftware.com/t/dynamic-widget-titles-widget-visibility/1994/1 "2021-10-07T09:56:25Z")

</div>

first post so apologies if this has been requested or solved before.

Is there a way to assign a variable or combination of variables as a widget title based on a condition - in my instance I only want to display active run statistics for a process in progress. so I have defined an active/inactive flag to use as the filter - I then want the system to display a Prod Line Number, customer name/ run ID and product name as the widget title and the stats to be displayed below.

Widget visibility I would like the widget to hide if there is no active run in progress
