# AWX Survey - Enforce Naming conventions on survey answers

**URL:** <https://forum.ansible.com/t/awx-survey-enforce-naming-conventions-on-survey-answers/31033>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 13, 2019, 3:30pm UTC](https://forum.ansible.com/t/awx-survey-enforce-naming-conventions-on-survey-answers/31033 "2019-08-13T15:30:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_Hobbs](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jeremy\_Hobbs](https://forum.ansible.com/u/Jeremy_Hobbs)\
**Post date:** [August 13, 2019, 3:30pm UTC](https://forum.ansible.com/t/awx-survey-enforce-naming-conventions-on-survey-answers/31033/1 "2019-08-13T15:30:14Z")

</div>

I have a playbook that creates a service on a load balancer. The users are allowed to run it and are prompted with a survey to respond with the variables that the playbook uses to build the service.

I want to force the users to follow a specific naming convention format when inputting the response to the survey.

Is there a way to specific a regex or other restrictions on their responses? If not, any ideas or experience from others on how they implemented this would be appreciated.

Thanks  
Jeremy

---

<div class="post-metadata">

**Author:** ![klaasdemter](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@klaasdemter](https://forum.ansible.com/u/klaasdemter)\
**Post date:** [August 14, 2019, 11:40am UTC](https://forum.ansible.com/t/awx-survey-enforce-naming-conventions-on-survey-answers/31033/2 "2019-08-14T11:40:38Z")

</div>

Not specific to awx but you can use assert to validate input variables [https://docs.ansible.com/ansible/latest/modules/assert\_module.html](https://docs.ansible.com/ansible/latest/modules/assert_module.html)
