diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js
index 67d2a445..a8d93ec6 100644
--- a/edivorce/apps/core/static/js/functions.js
+++ b/edivorce/apps/core/static/js/functions.js
@@ -144,12 +144,6 @@ var showHideTargetId = function(el, id, relatedId, revealControlGroup) {
$(el.data("reveal_force_hide_group")).hide();
$(el.data("reveal_force_hide_group")).find(':radio').prop('checked', false);
}
- // Special case of pre-qualification step 4 children.
- if (id === "#has_children") {
- if (el.val() === 'NO') {
- $('.not-disqualified-other').show();
- }
- }
// Special case of show child support description.
if (id === "#child_support_in_order_detail") {
diff --git a/edivorce/apps/core/static/js/main.js b/edivorce/apps/core/static/js/main.js
index 5298a2d1..e4b6287e 100755
--- a/edivorce/apps/core/static/js/main.js
+++ b/edivorce/apps/core/static/js/main.js
@@ -744,6 +744,21 @@ $(function () {
}
});
+ // For Prequalification step 4
+ // If they have children under 19 or are financially supporting children over 19, show question children_live_with_others
+ var showHideChildrenLiveWithOthers = function() {
+ var childrenUnder19 = $('input[name="has_children_under_19"][value="YES"]').prop('checked');
+ var childrenOver19 = $('input[name="has_children_over_19"][value="YES"]').prop('checked');
+ var notSupportingOver19 = $('input#no_children_financial_support').prop('checked');
+ if (childrenUnder19 || (childrenOver19 && !notSupportingOver19)) {
+ $('#children_live_with_others').show();
+ } else {
+ $('#children_live_with_others').hide();
+ }
+ }
+ showHideChildrenLiveWithOthers();
+ $('input[name="has_children_under_19"], input[name="has_children_over_19"], input[name="children_financial_support"]').change(showHideChildrenLiveWithOthers);
+
$('.money').on('change', function() {
var value = parseFloat($(this).val());
diff --git a/edivorce/apps/core/templates/prequalification/step_04.html b/edivorce/apps/core/templates/prequalification/step_04.html
index 766d01dd..35fbe78a 100644
--- a/edivorce/apps/core/templates/prequalification/step_04.html
+++ b/edivorce/apps/core/templates/prequalification/step_04.html
@@ -155,12 +155,12 @@
Please check all that apply.
-
-
-
-
-
+
+
+
+
+