diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js index 21f08d48..28a04e39 100644 --- a/edivorce/apps/core/static/js/functions.js +++ b/edivorce/apps/core/static/js/functions.js @@ -118,9 +118,10 @@ var getValue = function(el, question){ } // for adding other_name fields, create list of [aliasType, alias] else if (question == "other_name_you" || question == "other_name_spouse"){ - var aliasType; + var aliasType = "also known as"; $('#other_names_fields').find("input[type=text]").each(function () { - aliasType = $(this).val() == '' ? '' : $(this).siblings(".alias-type").val(); + // as per request, alias type will always be also known as for now + // aliasType = $(this).val() == '' ? '' : $(this).siblings(".alias-type").val(); value.push([aliasType, $(this).val()]); }); return JSON.stringify(value); diff --git a/edivorce/apps/core/templates/partials/alias_field.html b/edivorce/apps/core/templates/partials/alias_field.html index 633c7f3a..34333b58 100644 --- a/edivorce/apps/core/templates/partials/alias_field.html +++ b/edivorce/apps/core/templates/partials/alias_field.html @@ -1,11 +1,15 @@ {% load input_field %}
- + {% comment As per request, alias type will fixed to "also know as" %} + + {% endcomment %} + + {% input_field type="text" name=name value=value multiple="true" class="form-control response-textbox" %}
\ No newline at end of file