Commit d61b1c2 1 parent abf1d04 commit d61b1c2 Copy full SHA for d61b1c2
File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,17 @@ function start()
249
249
250
250
$ ( "#is_person_alive" ) . on ( "change" , function ( ) {
251
251
if ( $ ( "#is_person_alive" ) . val ( ) == 'alive' ) {
252
+ $ ( "#is_person_alive" ) . val ( 'alive' ) ;
253
+ $ ( "#age_determination" ) . val ( 'date_of_birth' ) ;
254
+ $ ( "#age_determination_text" ) . attr ( "placeholder" , "mm/dd/yyyy" )
255
+ $ ( "#age_determination_text" ) . show ( ) ;
256
+
257
+ // $('#age_determination_text').show().val(family_member.date_of_birth);
258
+ $ ( '#estimated_age_select' ) . hide ( ) ;
259
+ $ ( "#person_is_alive" ) . show ( ) ;
260
+ $ ( "#person_is_not_alive" ) . hide ( ) ;
261
+ // $("#age_determination").val('date_of_birth');
262
+
252
263
$ ( "#person_is_alive" ) . show ( ) ;
253
264
$ ( "#person_is_not_alive" ) . hide ( ) ;
254
265
} else if ( $ ( "#is_person_alive" ) . val ( ) == 'dead' ) {
You can’t perform that action at this time.
0 commit comments