Browse Source

DIV-366: Fixed to show nested question as well

pull/160/head
Charles Shin 8 years ago
parent
commit
348efb640f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      edivorce/apps/core/static/js/functions.js

+ 4
- 0
edivorce/apps/core/static/js/functions.js View File

@ -16,6 +16,10 @@ var reveal = function(el) {
if (id == "#has_children"){ if (id == "#has_children"){
reveal($("input[name=any_under_19]:checked")); reveal($("input[name=any_under_19]:checked"));
} }
// reveal nested question as well
if (id =="#marriage_certificate"){
reveal($("input[name=provide_certificate_later]:checked"));
}
} else { } else {
$(id).hide(); $(id).hide();
if (related_id != undefined){ if (related_id != undefined){


Loading…
Cancel
Save