awx icon indicating copy to clipboard operation
awx copied to clipboard

Ability to Add Custom Validation for Survey Answers

Open imareporter opened this issue 5 years ago • 5 comments

ISSUE TYPE
  • Feature Idea
SUMMARY

Per an user's request, they would like to be able to specify their own conditions on acceptable survey answers (i.e. regular expressions).

In the user's environment, they would like to validate an IP address in the survey answer. This could also extend out to other use cases (e.g. If an user has a naming convention for assets, systems, etc., the user can populate information in order to verify the provided answer is considered acceptable.)

imareporter avatar Jul 20 '20 16:07 imareporter

Totally interested by this too.

nicosalvadore avatar Feb 04 '21 22:02 nicosalvadore

Much needed

ghost avatar Feb 12 '21 19:02 ghost

Would absolutely love this. Sometimes survey choices contradict each other, & it would be great to point that out to the user prior to the job failing.

t-readyroc avatar May 27 '21 15:05 t-readyroc

I came across a need for this today, would be great to have 'regex' field for text type questions. In the same wheelhouse I had to use the older awx-cli tool to modify a job_template survey_spec, in a script where i was otherwise using 'awx' command. I had a heck of a time setting up a survey, do people just use REST calls directly?

instaclustr-oss avatar Oct 12 '22 22:10 instaclustr-oss

We realy need this!

rogerwindberg avatar Sep 27 '24 12:09 rogerwindberg