diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js index 8b0f20e2..3b0c9a03 100644 --- a/edivorce/apps/core/static/js/functions.js +++ b/edivorce/apps/core/static/js/functions.js @@ -91,6 +91,10 @@ var showHideTargetId = function(el, id, relatedId, revealControlGroup) { if (id === "#has_children") { reveal($("input[name=number_children_over_19]")); } + // Special case of hide child support description. + if (id === "#child_support_in_order_detail") { + $("#child_support_description").hide(); + } // reveal nested question as well if (id === "#marriage_certificate") { @@ -115,6 +119,11 @@ var showHideTargetId = function(el, id, relatedId, revealControlGroup) { $(el.data("reveal_force_hide_group")).find(':radio').prop('checked', false); } + // Special case of show child support description. + if (id === "#child_support_in_order_detail") { + $("#child_support_description").show(); + } + if (relatedId !== undefined){ $('#' + relatedId).show(); } diff --git a/edivorce/apps/core/templates/pdf/form1.html b/edivorce/apps/core/templates/pdf/form1.html index 0d23a383..315ca524 100644 --- a/edivorce/apps/core/templates/pdf/form1.html +++ b/edivorce/apps/core/templates/pdf/form1.html @@ -437,13 +437,18 @@