diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index d5830938c9..51c4b6121c 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -38,7 +38,7 @@ angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'Credential } if(scope.survey_enabled===true){ for (fld in scope.job_launch_form){ - if(scope[fld]){ + if(scope[fld] || scope[fld] === 0){ job_launch_data[fld] = scope[fld]; } } @@ -462,8 +462,12 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi html += '