diff --git a/edivorce/apps/core/static/js/main.js b/edivorce/apps/core/static/js/main.js index bf71d5df..8d039b68 100755 --- a/edivorce/apps/core/static/js/main.js +++ b/edivorce/apps/core/static/js/main.js @@ -588,23 +588,6 @@ $(function () { populateChildrenFactSheets(); }); - // check who has sole custody - $('input[name="__claimant_children"]').each(function() { - var children = JSON.parse($(this).val()); - var youHaveSoleCustody = children.every(function(child){ - return child.child_live_with === 'Lives with you'; - }); - var spouseHasSoleCustody = children.every(function(child){ - return child.child_live_with === 'Lives with spouse'; - }); - - if (youHaveSoleCustody || spouseHasSoleCustody) { - $('#monthly_amount_question').show(); - } else { - $('#monthly_amount_question').hide(); - } - }); - var payorCallback = function() { var claimant = $(this).val(); diff --git a/edivorce/apps/core/templates/question/06_children_income_expenses.html b/edivorce/apps/core/templates/question/06_children_income_expenses.html index aec89d60..d0597eb7 100644 --- a/edivorce/apps/core/templates/question/06_children_income_expenses.html +++ b/edivorce/apps/core/templates/question/06_children_income_expenses.html @@ -9,8 +9,8 @@ {% block content %}

Step {% step_order step="children" %}:Children - Income & expenses

-
-

How will you and your spouse be determining your income?

+
+

How will you and your spouse be determining your income?{% if how_will_calculate_income_error %}{% include 'partials/required.html' %}{% endif %}

Under the Federal Guidelines, you can do one of the following:

@@ -107,8 +107,8 @@
-
-

What is your annual gross income as determined above?

+
+

What is your annual gross income as determined above?{% if annual_gross_income_error %}{% include 'partials/required.html' %}{% endif %}

{% money_input_field name="annual_gross_income" value="" class="money form-block response-textbox positive-float" %}
@@ -133,8 +133,8 @@
-
-

What is your spouse's annual gross income as determined above?

+
+

What is your spouse's annual gross income as determined above?{% if spouse_annual_gross_income_error %}{% include 'partials/required.html' %}{% endif %}

{% money_input_field name="spouse_annual_gross_income" value="" class="money form-block response-textbox positive-float" %}
@@ -161,11 +161,11 @@
- -
+ {% endif %} -
+

Are you claiming any "> special and extraordinary expenses - ? + ?{% if special_extraordinary_expenses_error %}{% include 'partials/required.html' %}{% endif %}

NOTE: If you have a Separation Agreement or Court Order that deals with special and extraordinary expenses, you may wish NOT to select this option. @@ -305,9 +306,12 @@