From 348efb640f7d6537cc4a57b0b6453f7506a7d877 Mon Sep 17 00:00:00 2001 From: Charles Shin Date: Wed, 28 Jun 2017 17:29:40 -0700 Subject: [PATCH] DIV-366: Fixed to show nested question as well --- edivorce/apps/core/static/js/functions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/edivorce/apps/core/static/js/functions.js b/edivorce/apps/core/static/js/functions.js index 31d0d8dc..21f08d48 100644 --- a/edivorce/apps/core/static/js/functions.js +++ b/edivorce/apps/core/static/js/functions.js @@ -16,6 +16,10 @@ var reveal = function(el) { if (id == "#has_children"){ reveal($("input[name=any_under_19]:checked")); } + // reveal nested question as well + if (id =="#marriage_certificate"){ + reveal($("input[name=provide_certificate_later]:checked")); + } } else { $(id).hide(); if (related_id != undefined){