-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
604 lines (531 loc) · 45.4 KB
/
index.html
File metadata and controls
604 lines (531 loc) · 45.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<html>
<head >
<!-- GOOGLE ANALYTICS EVENTS -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-108809105-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-108809105-1');
</script>
<!-- GOOGLE ANALYTICS GENERAL -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-108809105-1', 'auto');
ga('send', 'pageview');
</script>
<!-- RED ICONS -->
<script src="https://use.fontawesome.com/7a4d9a6531.js"></script>
<!-- ANGULAR -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular-route.js"></script>
<script type="text/javascript" src="js/root.js"></script>
<!-- BOOTSTRAP -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- STYLE SHEET -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- NAV BAR -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div id="container">
<div id="header"></div>
<div id="titlebox">
<div id="title">
<br>
<img src="img/bear.png" width="10%"><br>
<h1>ACCESS CALIFORNIA</h1></a>
<div id="tagline">
<p>We're here to help you access the services you're entitled to.</p>
</div>
</div>
</div>
<div ng-app="form">
<div ng-controller="formController">
<div class="row" ng-show="!form.$submitted">
<div class="about">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<h2>How does this work?</h2>
<p>Access California helps you find out if you're eligible for public programs with one simple form.</p>
<br>
<ol>
<li>
Fill out the form below and click submit<br>
</li>
<br>
<li>
Find out what programs you might be eligible for<br>
</li>
<br>
<li>
Apply for the ones you're interested in<br>
</li>
<br>
</ol>
<input class="button" type="button" value="Learn More" onclick="window.location.href='about.html'"/>
<br>
<br>
</div>
<div class="col-sm-3"></div>
</div>
</div>
<div id="top"></div>
<div class="row gray">
<div class="body-events">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<form name="form" ng-show="!form.$submitted">
<h2>Let's Get Started!</h2>
<span class="description">Your privacy is important to us. We don't look at, save, or share any of your answers.</span>
<div class="question">
<p>What programs are you interested?</p>
<span class="description">Select one or more programs to get started</span>
<div class="checkbox" ng-class="{checkboxSelected: wantsCalFresh}">
<label><input type="checkbox" name="fc" ng-model="wantsCalFresh">
CalFresh</br>
<span class="description">Get money to help put food on the table</span>
</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: wantsMediCal}">
<label><input type="checkbox" name="fc" ng-model="wantsMediCal">
MediCal</br>
<span class="description">Get insurance to help you stay healthy</span>
</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: wantsCalWORKS}">
<label><input type="checkbox" name="fc" ng-model="wantsCalWORKS">
CalWORKS</br>
<span class="description">Get cash for housing, food and more</span>
</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: wantsCalHeadStart}">
<label><input type="checkbox" name="fc" ng-model="wantsCalHeadStart">
Head Start</br>
<span class="description">Get your child on the right track</span>
</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: wantsSSI}">
<label><input type="checkbox" name="fc" ng-model="wantsSSI">
Supplemental Security Income</br>
<span class="description">Get cash for housing, food and clothing</span>
</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: wantsEITC}">
<label><input type="checkbox" name="fc" ng-model="wantsEITC">
Earned Income Tax Credit</br>
<span class="description">Get a refund or reduce your taxes</span>
</input></label>
</div>
</div>
<div class="question" ng-show= "wantsMediCal || wantsSSI" ng-required="wantsMediCal || wantsSSI">
<p>Please select any that apply</p>
<div class="checkbox" ng-class="{checkboxSelected: isDisabled}" ng-show= "wantsMediCal || wantsSSI" >
<label><input type="checkbox" name="disabled" ng-model="isDisabled"> I am legally disabled or blind</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: inInstitution}" ng-show= "wantsSSI">
<label><input type="checkbox" name="institution" ng-model="inInstitution"> I am confined to an institution (such as a hospital or prison) at the government's expense</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: isChild}" ng-show= "wantsSSI">
<label><input type="checkbox" name="child" ng-model="isChild">I am under the age of 18</input></label>
</div>
<!-- <div class="checkbox" ng-class="{checkboxSelected: isMarried}" ng-show= "wantsSSI || wantsEITC">
<label><input type="checkbox" name="married" ng-model="isMarried">I am married</input></label>
</div> -->
<div class="checkbox" ng-class="{checkboxSelected: nursingHome}" ng-show= "wantsMediCal">
<label><input type="checkbox" name="nursingHome" ng-model="nursingHome"> I am in a skilled nursing or intermediate care home</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: isRefugee}" ng-show= "wantsMediCal">
<label><input type="checkbox" name="refugee" ng-model="isRefugee"> I am on refugee status (defined by the U.S. government) for a limited time</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: hasCancer}" ng-show= "wantsMediCal">
<label><input type="checkbox" name="cancer" ng-model="hasCancer"> I have been diagnozed for breast and/or cervical cancer</input></label>
</div>
<!-- <div class="checkbox" ng-class="{checkboxSelected: isPregnant}" ng-show= "wantsMediCal">
<label><input type="checkbox" name="pregnant" ng-model="isPregnant"> My family is expecting a child</input></label>
</div> -->
<!-- <div class="checkbox" ng-class="{checkboxSelected: hasDisabledDependent}" ng-show= "wantsEITC">
<label><input type="checkbox" name="dependent" ng-model="hasDisabledDependent"> I have a disabled dependent</input></label>
</div> -->
<!-- <div class="checkbox" ng-class="{checkboxSelected: hasDependent}" ng-show= "wantsEITC">
<label><input type="checkbox" name="dependent" ng-model="hasDependent"> I have a dependent under the age of 19</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: hasStudentDependent}" ng-show= "wantsEITC">
<label><input type="checkbox" name="dependent" ng-model="hasStudentDependent"> I have a dependent under the age of 24 who is a full time student</input></label>
</div> -->
<div class="checkbox" ng-class="{checkboxSelected: none}" >
<label><input type="checkbox" ng-required = "(wantsSSI && form.institution.$pristine && form.child.$pristine && form.disabled.$pristine) || (wantsMediCal && form.nursingHome.$pristine && form.refugee.$pristine && form.disabled.$pristine && form.cancer.$pristine)" name="none" ng-model="none"> None of the above</input></label>
</div>
</div>
<div class="question" ng-show="(wantsSSI && isDisabled && !inInstitution) || wantsEITC" >
<p>Are you married?</p>
<div class="checkbox" ng-class="{checkboxSelected: isMarried}">
<label><input type="radio" ng-model="isMarried" name="married" ng-value="true" ng-required="(wantsSSI && isDisabled && !inInstitution) || wantsEITC">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !isMarried && !form.married.$pristine}">
<label><input type="radio" ng-model="isMarried" name="married" ng-value="false" ng-required="(wantsSSI && isDisabled && !inInstitution) || wantsEITC">No</input></label>
</div>
</div>
<div class="question" ng-show="wantsEITC" >
<p>How many dependents (if any) do you have that are either disabled, under 18, or a fulltime student under 24 ?</p>
<select ng-model="numDependents" ng-required="wantsEITC" >
<option value="0">None</option>
<option value="1">1 dependent</option>
<option value="2">2 dependents</option>
<option value="3">3 or more dependents</option>
</select>
</div>
<div class="question" ng-show="wantsCalWORKS || (wantsMediCal && none)" >
<p>Is your family expecting a child?</p>
<div class="checkbox" ng-class="{checkboxSelected: isPregnant}">
<label><input type="radio" ng-model="isPregnant" name="pregnant" ng-value="true" ng-required="wantsCalWORKS">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !isPregnant && !form.pregnant.$pristine}">
<label><input type="radio" ng-model="isPregnant" name="pregnant" ng-value="false" ng-required="wantsCalWORKS">No</input></label>
</div>
</div>
<div class="question" ng-show="wantsMediCal && !form.pregnant.$pristine && !otherMediCalRequirements()" >
<p>What is your age? <br><br>
<input type="text" ng-model="age" ng-required="wantsMediCal && !otherMediCalRequirements()" ><br>
</p>
</div>
<div class="question" ng-show="wantsCalHeadStart" >
<p>Do you have a child under the age of 5?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasChildUnder5}">
<label><input type="radio" name="childUnder5" ng-model="hasChildUnder5" ng-value="true" ng-required="wantsCalHeadStart">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasChildUnder5 && !form.childUnder5.$pristine}">
<label><input type="radio" name="childUnder5" ng-model="hasChildUnder5" ng-value="false" ng-required="wantsCalHeadStart">No</input></label>
</div>
</div>
<div class="question" ng-show="!isPregnant && wantsCalWORKS && !form.pregnant.$pristine && !hasChildUnder5 ">
<p>Do you have a child under the age of 19?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasChildUnder19}">
<label><input type="radio" name="childUnder19" ng-model="hasChildUnder19" ng-value="true" ng-required="!isPregnant && wantsCalWORKS && !form.pregnant.$pristine && !hasChildUnder5">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasChildUnder19 && !form.childUnder19.$pristine}">
<label><input type="radio" name="childUnder19" ng-model="hasChildUnder19" ng-value="false" ng-required="!isPregnant && wantsCalWORKS && !form.pregnant.$pristine && !hasChildUnder5">No</input></label>
</div>
</div>
<div class="question" ng-show="!otherMediCalRequirements() && wantsMediCal && age < 65 && age > 20 && !hasChildUnder5 && !hasChildUnder19" ng-required="!otherMediCalRequirements() && wantsMediCal && age < 65 && age > 20 && !hasChildUnder5 && !hasChildUnder19">
<p>Do you have a child under the age of 21?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasChildUnder21}">
<label><input type="radio" name="childUnder21" ng-model="hasChildUnder21" ng-value = "true"
ng-required="!otherMediCalRequirements() && wantsMediCal && age < 65 && age > 20 && !hasChildUnder5 && !hasChildUnder19">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasChildUnder21 && !form.childUnder21.$pristine}">
<label><input type="radio" name="childUnder21" ng-model="hasChildUnder21" ng-value = "false"
ng-required="!otherMediCalRequirements() && wantsMediCal && age < 65 && age > 20 && !hasChildUnder5 && !hasChildUnder19">No</input></label>
</div>
</div>
<div class="question" ng-show="((hasChildUnder5 && !isPregnant) || hasChildUnder19) && wantsCalWORKS" >
<p>Does your child have a parent who is
legally disabled, deceased or does not live with the child?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasUnavailableParentCalWORKS}">
<label><input type="radio" name="unvailableParentCalWORKS" ng-model="hasUnavailableParentCalWORKS" ng-value="true" ng-required=" ((hasChildUnder5 && !isPregnant) || hasChildUnder19) && wantsCalWORKS ">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasUnavailableParentCalWORKS && !form.unvailableParentCalWORKS.$pristine}">
<label><input type="radio" name="unvailableParentCalWORKS" ng-model="hasUnavailableParentCalWORKS" ng-value="false" ng-required=" ((hasChildUnder5 && !isPregnant) || hasChildUnder19) && wantsCalWORKS "> No</input></label>
</div>
</div>
<div class="question" ng-show="(hasChildUnder5 && !isPregnant || hasChildUnder21) && wantsMediCal && !hasChildUnder19 && !otherMediCalRequirements()">
<p>Does your child have a parent who is
legally disabled, deceased or does not live with the child?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasUnavailableParentMediCal}">
<label><input type="radio" name="unavailableParentMediCal" ng-model="hasUnavailableParentMediCal"
ng-value="true" ng-required="(hasChildUnder5 && !isPregnant || hasChildUnder21) && wantsMediCal && !hasChildUnder19 && !otherMediCalRequirements()" >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasUnavailableParentMediCal && !form.unavailableParentMediCal.$pristine}">
<label><input type="radio" name="unavailableParentMediCal" ng-model="hasUnavailableParentMediCal"
ng-value="false" ng-required = "(hasChildUnder5 && !isPregnant || hasChildUnder21) && wantsMediCal && !hasChildUnder19 && !otherMediCalRequirements()" >No</input></label>
</div>
</div>
<div class="question" ng-show="!hasUnavailableParentCalWORKS && !form.unvailableParentCalWORKS.$pristine">
<p>Is the primary earner of your family out of work or working less than 100 hours per month?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasLowIncomeParentCalWORKS}">
<label><input type="radio" name="lowIncomeParentCalWORKS" ng-model="hasLowIncomeParentCalWORKS" value="true"
ng-required="hasChildUnder19 && !hasUnavailableParentCalWORKS && !form.unvailableParentCalWORKS.$pristine" >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasLowIncomeParentCalWORKS && !form.lowIncomeParentCalWORKS.$pristine}">
<label><input type="radio" name="lowIncomeParentCalWORKS" ng-model="hasLowIncomeParentCalWORKS"
ng-value="false" ng-required = "hasChildUnder19 && !hasUnavailableParentCalWORKS && !form.unvailableParentCalWORKS.$pristine">No</input></label>
</div>
</div>
<div class="question" ng-show="(!hasUnavailableParentMediCal && !form.unavailableParentMediCal.$pristine && !hasUnavailableParentCalWORKS)">
<p>Is the primary earner of your family out of work or working less than 100 hours per month?</p>
<div class="checkbox" ng-class="{checkboxSelected: hasLowIncomeParentMediCal}">
<label><input type="radio" name="lowIncomeParentMediCal" ng-model="hasLowIncomeParentMediCal"
ng-value="true" ng-required = "(!hasUnavailableParentMediCal && !form.unavailableParentMediCal.$pristine) || (wantsMediCal && !form.unvailableParentCalWORKS.$pristine && !hasUnavailableParentCalWORKS)">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasLowIncomeParentMediCal && !form.lowIncomeParentMediCal.$pristine}">
<label><input type="radio" name="lowIncomeParentMediCal" ng-model="hasLowIncomeParentMediCal"
ng-value="false" ng-required="(!hasUnavailableParentMediCal && !form.unavailableParentMediCal.$pristine) || (wantsMediCal && !form.unvailableParentCalWORKS.$pristine && !hasUnavailableParentCalWORKS)" >No</input></label>
</div>
</div>
<div class="question" ng-show="wantsCalFresh || (wantsCalWORKS && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)" >
<p>Are you a U.S citizen or a legal alien?</p>
<div class="checkbox" ng-class="{checkboxSelected: isCitizen}">
<label><input type="radio" name="citizen" ng-model="isCitizen" ng-value= "true" ng-required = "wantsCalFresh || (wantsCalWORKS && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)" >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !isCitizen && !form.citizen.$pristine}">
<label><input type="radio" name="citizen" ng-model="isCitizen" ng-value = "false" ng-required = "wantsCalFresh || (wantsCalWORKS && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)" >No</input></label>
</div>
</div>
<!-- <div class="question" ng-show="!meetsChildReqsMediCal()" >
<p>Dummy shit?</p>
<div class="checkbox" ng-class="{checkboxSelected: isCitizen}">
<label><input type="radio" name="citizen" ng-model="isCitizen" ng-value= "true" ng-required = "wantsCalFresh || (wantsCalWORKS && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)" >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !isCitizen && !form.citizen.$pristine}">
<label><input type="radio" name="citizen" ng-model="isCitizen" ng-value = "false" ng-required = "wantsCalFresh || (wantsCalWORKS && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)" >No</input></label>
</div>
</div> -->
<!-- && !(form.lowIncomeParentCalWORKS.$pristine && form.lowIncomeParentMediCal.$pristine))
-->
<div class="question" ng-show="(wantsCalHeadStart && hasChildUnder5) || (wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS()) || (wantsMediCal && !meetsChildReqsMediCal()) || (wantsSSI && isDisabled && !inInstitution)" >
<p>How many people live in your household, including yourself?</p><br>
<select ng-model="numberInHousehold" ng-required="(wantsCalHeadStart && hasChildUnder5) || (wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS()) || (wantsMediCal && !meetsChildReqsMediCal()) || (wantsSSI && isDisabled && !inInstitution)" >
<option value="1">Just me!</option>
<option value="2">2 people</option>
<option value="3">3 people</option>
<option value="4">4 people</option>
<option value="5">5 people</option>
<option value="6">6 people</option>
<option value="7">7 people</option>
<option value="8">8 people</option>
<option value="9">9 people</option>
<option value="10">10 people</option>
</select>
</div>
<div class="question" ng-show="(wantsCalHeadStart && hasChildUnder5) || (wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS()) || (wantsMediCal && !meetsChildReqsMediCal()) || (wantsSSI && isDisabled && !inInstitution) || wantsEITC ">
<p>About how much money did your household make last month? <br><br>
$ <input type="text" ng-model="income" ng-name = "income" ng-required= "(wantsCalHeadStart && hasChildUnder5) || (wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS()) ||(wantsMediCal && !meetsChildReqsMediCal()) || (wantsSSI && isDisabled && !inInstitution) || wantsEITC"><br>
</p>
</div>
<div class="question" ng-show="(wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS()) || (wantsSSI && isDisabled && !inInstitution)">
<p>What is the total net worth of your assets? <br><br>
$ <input type="text" ng-model="assets" ng-required="wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS() || (wantsSSI && isDisabled && !inInstitution)" ><br>
</p>
</div>
<div class="question" ng-show="wantsEITC">
<p>About how much money did your household invest in last year? <br><br>
$ <input type="text" ng-model="yearlyInvestment" ng-name = "yearlyInvestment" ng-required= "wantsEITC"><br>
</p>
</div>
<div class="question" ng-show="(wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS() && assets <= 3250 && assets > 2250)">
<p>Select all that apply to you or the people who live with you:</p>
<div class="checkbox" ng-class="{checkboxSelected: hasDisabled}">
<label><input type="checkbox" name="fc" ng-model="hasDisabled" ng-required="(!has60 && !dum) && ((wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS() && assets <= 3250 && assets > 2250 ))">Someone is disabled</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: has60}">
<label><input type="checkbox" name="fc" ng-model="has60" ng-required="(!hasDisabled && !dum) && ((wantsCalFresh && isCitizen)|| (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS() && assets <= 3250 && assets > 2250))">Someone is age 60 or older</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: dum}">
<label><input type="checkbox" name="fc" ng-model="dum" ng-required="(!has60 && !hasDisabled) && ((wantsCalFresh && isCitizen) || (wantsCalWORKS && isCitizen && meetsChildReqsCalWORKS() && assets <= 3250 && assets > 2250))">None of the above</input></label>
</div>
</div>
<div class="question" ng-show="(wantsCalFresh && isCitizen)">
<p>Is anyone in your househould a student?</p>
<div class="checkbox" ng-class="{checkboxSelected: isStudent}">
<label><input type="radio" name="student" ng-model="isStudent" ng-value= "true" ng-required = "(wantsCalFresh && isCitizen)">Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !isStudent && !form.student.$pristine}">
<label><input type="radio" name="student" ng-model="isStudent" ng-value = "false" ng-required = "(wantsCalFresh && isCitizen)">No</input></label>
</div>
</div>
<div class="question" ng-show="(hasChildUnder5 && !HeadStartIncome(income) && income > 0 ) || (wantsCalFresh && isCitizen)">
<p>Are you or someone in your househould receiving SSI/SSP?</p>
<span class="description">Individuals who already receive Supplemental Security Income/State Supplementary Payment (SSI/SSP) are not eligible for CalFresh.</span>
<div class="checkbox" ng-class="{checkboxSelected: hasSSI}">
<label><input type="radio" name="SSI" ng-model="hasSSI" ng-value="true" ng-required="(hasChildUnder5 && !HeadStartIncome(income) && income > 0 ) || (wantsCalFresh && isCitizen)" >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasSSI && !form.SSI.$pristine}">
<label><input type="radio" name="SSI" ng-model="hasSSI" ng-value="false" ng-required="(hasChildUnder5 && !HeadStartIncome(income) && income > 0 ) || (wantsCalFresh && isCitizen)" >No</input></label>
</div>
</div>
<div class="question" ng-show="!hasSSI && hasChildUnder5 && !HeadStartIncome(income) && income > 0 ">
<p>Are you or someone in your househould receiving CALWORKS</p>
<div class="checkbox" ng-class="{checkboxSelected: hasCalWORKS}">
<label><input type="radio" name="CalWORKS" ng-model="hasCalWORKS" ng-value="true" ng-required="!hasSSI && hasChildUnder5 && !HeadStartIncome(income) && income > 0 " >Yes</input></label>
</div>
<div class="checkbox" ng-class="{checkboxSelected: !hasCalWORKS && !form.CalWORKS.$pristine}">
<label><input type="radio" name="CalWORKS" ng-model="hasCalWORKS" ng-value="false" ng-required="!hasSSI && hasChildUnder5 && !HeadStartIncome(income) && income > 0 " >No</input></label>
</div>
</div>
<div class="question" ng-show="checkSSINumber() && (wantsCalFresh && isCitizen)">
<p>How many people in your household receive SSI/SSP?</p>
<select ng-model="numberOnSSI" ng-required="checkSSINumber() && (wantsCalFresh && isCitizen)">
<option value="1">1 person</option>
<option value="2">2 people</option>
<option value="3" ng-show="numberInHousehold > 2">3 people</option>
<option value="4" ng-show="numberInHousehold > 3">4 people</option>
<option value="5" ng-show="numberInHousehold > 4">5 people</option>
<option value="6" ng-show="numberInHousehold > 5">6 people</option>
<option value="7" ng-show="numberInHousehold > 6">7 people</option>
<option value="8" ng-show="numberInHousehold > 7">8 people</option>
<option value="9" ng-show="numberInHousehold > 8">9 people</option>
<option value="10" ng-show="numberInHousehold > 9">10 people</option>
</select>
</div>
<div ng-show="!form.$valid">
<p>Please answer all of the questions above before clicking submit.</p>
<br>
</div>
<input class="button" onClick="ga('send', 'event', 'Submit Button', 'didClick'); $('html, body').animate({scrollTop: $('#top').offset().top}, 0);" type="submit" value="Submit" ng-click="submit()" ng-disabled="!form.$valid || (!wantsCalFresh && !wantsMediCal && !wantsCalWORKS && !wantsCalHeadStart && !wantsSSI && !wantsEITC)"/>
<br>
<br>
</form>
<div class="results" ng-show="form.$submitted">
<h2>Here are your results</h2>
<p>A few things to keep in mind:</p>
<p>- We do our best to give you accurate results. However, the state makes the final decision about your eligibility</p>
<p>- Our website only tells you what programs you might be eligible for. You still need to apply for programs that you're interested in</p>
<br>
<div class="eligiblebox" ng-show="isCalFreshEligible() && wantsCalFresh">
<div class="iconbox">
<i class="fa fa-4x fa-shopping-basket redicon"></i>
</div>
<div class="infobox">
<h3>CalFresh <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for CalFresh!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/calfresh.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isCalFreshEligible() && wantsCalFresh">
<div class="iconbox">
<i class="fa fa-4x fa-shopping-basket redicon"></i>
</div>
<div class="infobox">
<h3>CalFresh <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for CalFresh.</p>
</div>
</div>
<div class="eligiblebox" ng-show="isMediCalEligible() && wantsMediCal">
<div class="iconbox">
<i class="fa fa-4x fa-heartbeat redicon"></i>
</div>
<div class="infobox">
<h3>MediCal <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for MediCal!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/medical.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isMediCalEligible() && wantsMediCal">
<div class="iconbox">
<i class="fa fa-4x fa-heartbeat redicon"></i>
</div>
<div class="infobox">
<h3>MediCal <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for MediCal.</p>
</div>
</div>
<div class="eligiblebox" ng-show="isCalWORKSEligible() && wantsCalWORKS">
<div class="iconbox">
<i class="fa fa-4x fa-usd redicon"></i>
</div>
<div class="infobox">
<h3>CalWORKS <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for CalWORKS!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/calworks.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isCalWORKSEligible() && wantsCalWORKS">
<div class="iconbox">
<i class="fa fa-4x fa-usd redicon"></i>
</div>
<div class="infobox">
<h3>CalWORKS <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for CalWORKS.</p>
</div>
</div>
<div class="eligiblebox" ng-show="isHeadStartEligible() && wantsCalHeadStart">
<div class="iconbox">
<i class="fa fa-4x fa-graduation-cap redicon"></i>
</div>
<div class="infobox">
<h3>Head Start <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for Head Start!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/headstart.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isHeadStartEligible() && wantsCalHeadStart">
<div class="iconbox">
<i class="fa fa-4x fa-graduation-cap redicon"></i>
</div>
<div class="infobox">
<h3>Head Start <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for Head Start.</p>
</div>
</div>
<div class="eligiblebox" ng-show="isSSIEligible() && wantsSSI">
<div class="iconbox">
<i class="fa fa-4x fa-wheelchair redicon"></i>
</div>
<div class="infobox">
<h3>Supplemental Security Income (SSI) <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for Supplemental Security Income (SSI)!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/supplementalsecurityincome.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isSSIEligible() && wantsSSI">
<div class="iconbox">
<i class="fa fa-4x fa-wheelchair redicon"></i>
</div>
<div class="infobox">
<h3>Supplemental Security Income (SSI) <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for Supplemental Security Income (SSI).</p>
</div>
</div>
<div class="eligiblebox" ng-show="isEITCEligible() && wantsEITC">
<div class="iconbox">
<i class="fa fa-4x fa-file-text-o redicon"></i>
</div>
<div class="infobox">
<h3>Earned Income Tax Credit (EITC) <i class="fa fa-check-circle-o greenicon"></i></h3>
<p>It looks like you may be eligible for the Earned Income Tax Credit (EITC)!</p>
<br>
<input class="button" type="button" value="Learn More & Apply" onclick="window.open('programs/earnedincometaxcredit.html','_blank')"/>
</div>
</div>
<div class="eligiblebox" ng-show="!isEITCEligible() && wantsEITC">
<div class="iconbox">
<i class="fa fa-4x fa-file-text-o redicon"></i>
</div>
<div class="infobox">
<h3>Earned Income Tax Credit (EITC) <i class="fa fa-question-circle-o redicon"></i></h3>
<p>It doesn't look like you're eligible for the Earned Income Tax Credit (EITC).</p>
</div>
</div>
</div>
</div>
<div class="col-sm-3"></div>
</div>
</div>
</div>
</div>
<!--
<div class="row">
<div class="col-sm-3" style="background-color:lavender;">3</div>
<div class="col-sm-6" style="background-color:lavenderblush;">6</div>
<div class="col-sm-3" style="background-color:lavender;">3</div>
</div>
-->
<div id="footer"></div>
</div>
<script>
$("#header").load("../header.html");
$("#footer").load("../footer.html");
</script>
</body>
</html>