-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·572 lines (546 loc) · 34.8 KB
/
index.html
File metadata and controls
executable file
·572 lines (546 loc) · 34.8 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
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to RetroTax Plugin (Demo & Configuration)</title>
<!-- Twitter Bootstrap
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
-->
<!-- Material Design for Bootstrap -->
<link href="widget/iframe/css/bootstrap.css" rel="stylesheet">
<link href="demo/css/material.min.css" rel="stylesheet">
<link href="demo/css/roboto.min.css" rel="stylesheet">
<link href="demo/css/material-fullpalette.min.css" rel="stylesheet">
<link href="demo/css/ripples.min.css" rel="stylesheet">
<link href="demo/bower_components/json-formatter/dist/json-formatter.min.css" rel="stylesheet">
<style>
#input h2 {
padding: 14px;
font-size: 16px;
font-weight: 400;
}
#input .inputs {
width: 80%;
}
#input .form-control-wrapper {
margin: 30px 0;
}
.form-control-wrapper{
padding-top:15px;
padding-bottom:15px;
margin-top:15px;
margin-bottom:15px;
}
.clear-30{
clear: both;
height:30px;
}
</style>
<script src="widget/iframe/js/min/jquery-1.11.1.min.js"></script>
<script src="widget/iframe/js/min/angular.min.js"></script>
<script src="widget/iframe/js/angular-route.js"></script>
<script src="widget/iframe/js/min/ui-bootstrap-custom-tpls-0.12.0.js"></script>
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.5/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.5/angular-route.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script>
-->
<script src="demo/js/material.min.js"></script>
<script src="demo/js/ripples.min.js"></script>
<script src="demo/bower_components/json-formatter/dist/json-formatter.min.js"></script>
<script>
$.material.init();
if(window.location.host=='localhost'){var hname='/plugin/widget/iframe';}else{var hname='http://plugin.retrotax-aci.com/widget/iframe';}
var _retrotax_options={
iframe_base_path: hname,
plugin_type: 'prequal',
username:'demoapi.hiring.manager',
apikey:'B47400F36FB8BA0C247798C94D153703',
clientid:364,
companyid:1054,
locationid:8557,
framework:'material-design',
delay: 0,
debug: true,
logo:'',
callback_url:'',
whitelist_code:'',
button_class:'btn btn-primary',
button_text:'Open RetroTax Screening',
button_class_error:'btn btn-danger',
button_text_error:'Oh snap, an error!',
prepopulate_by:'id',
prequal: {
email_to:'',
email_cc:'paul.commons@retrotax-aci.com',
partner_name:'John Doe',
partner_organization:'Partner Organization',
partner_website:'https://some-partner-website.com',
alliance:'',
closing_text:'Thank you for partnering with Hiring Co',
intro_text:'',
logo_url:'http://plugin.retrotax-aci.com/prequal/img/PCG_logo.png',
logo_width:'300',
logo_height:'75',
retrotax_contact:'paul.commons@retrotax-aci.com',
ask_ssn:false
},
populated_fields: {
firstname:'first_name',
lastname:'last_name',
middleinitial:'middle_init',
city:'city',
state:'state',
zip:'zipcode',
address:'address',
address2:'address2',
dob:'dateOfBirth'
}
};
</script>
<script src="demo/js/app.js"></script>
<script src="widget/retrotax_plugin.js"></script>
<script type='text/javascript'>
(function (d, t) {
var bh = d.createElement(t), s = d.getElementsByTagName(t)[0];
bh.type = 'text/javascript';
bh.src = '//www.bugherd.com/sidebarv2.js?apikey=gp7db8gucoehvycr1sus6q';
s.parentNode.insertBefore(bh, s);
})(document, 'script');
</script>
</head>
<base href="/">
<body ng-app="retrotax">
<div ng-controller="ctlDemo" class="container" ng-init="initDemo()">
<div class="row">
<div class="col-sm-6 well page active">
<h3>Plugin Configuration</h3>
<hr>
<form name="demoForm" id="demoForm">
<div class="col-sm-6">
<div class="form-control-wrapper">
<input disabled="" name="iframe_base_path" class="form-control" type="text" ng-model="_retrotax_options.iframe_base_path" value="{{_retrotax_options.iframe_base_path}}">
<div class="floating-label">iframe_base_path</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="Your webscreen.retrotax-aci.com client-side api-key, which can be found within TCID under 'Accounts'." name="plugin_type" ng-model="_retrotax_options.plugin_type" value="{{_retrotax_options.plugin_type}}" required>
<div class="floating-label">plugin_type</div>
<div class="hint">ATS, DEMO, OBS, PREQUAL</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" name="username" type="text" data-hint="TCID username" ng-model="_retrotax_options.username" value="{{_retrotax_options.username}}" required>
<div class="floating-label">username</div>
<div class="hint">TCID username</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="TCID Client-side api-key" ng-model="_retrotax_options.apikey" value="{{_retrotax_options.apikey}}" name="apikey" required>
<div class="floating-label">apikey</div>
<div class="hint">TCID Client-side api-key</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="number" name="companyid" data-hint="TCID Client ID" ng-model="_retrotax_options.clientid" value="{{_retrotax_options.clientid}}">
<div class="floating-label">clientid</div>
<div class="hint">TCID Client ID</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="number" name="companyid" data-hint="TCID Company ID" ng-model="_retrotax_options.companyid" value="{{_retrotax_options.companyid}}">
<div class="floating-label">companyid</div>
<div class="hint">TCID Company ID</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="number" name="locationid" data-hint="TCID Location ID" value="{{_retrotax_options.locationid}}">
<div class="floating-label">locationid</div>
<div class="hint">TCID Location ID</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="number" name="delay" data-hint="How long to delay the modal" ng-model="_retrotax_options.delay" value="{{_retrotax_options.delay}}">
<div class="floating-label">delay</div>
<div class="hint">How long to delay the modal in milliseconds. Integer.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="debug" data-hint="If set to true, we will log to the console" ng-model="_retrotax_options.debug" value="{{_retrotax_options.debug}}">
<div class="floating-label">debug</div>
<div class="hint">If set to true, we will log to the console. Boolean.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="button_text" data-hint="What the text displayed to the end-user should say"
ng-model="_retrotax_options.button_text" value="{{_retrotax_options.button_text}}">
<div class="floating-label">button_text</div>
<div class="hint">What the text displayed to the end-user should say.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="button_class" data-hint="Optionally apply a css class to the retrotax element" ng-model="_retrotax_options.button_class" value="{{_retrotax_options.button_class}}">
<div class="floating-label">button_class</div>
<div class="hint">This depends on your CSS - Demo is using Bootstrap so only those classes will be applied.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="button_text_error" data-hint="Optionally apply error text to the element's innerHTML in case of an error"
ng-model="_retrotax_options.button_text_error" value="{{_retrotax_options.button_text_error}}">
<div class="floating-label">button_text_error</div>
<div class="hint">Optionally apply error text to the element's innerHTML in case of an error</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="button_class_error" data-hint="Optionally apply a css class to the retrotax element in case of an error." ng-model="_retrotax_options.button_class_error" value="{{_retrotax_options.button_class_error}}">
<div class="floating-label">button_class_error</div>
<div class="hint">This depends on your CSS - Demo is using Bootstrap so only those classes will be applied.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="url" name="logo" data-hint="Provide a valid URL to replace the default RetroTax Logo"
ng-model="_retrotax_options.logo" value="{{_retrotax_options.logo}}">
<div class="floating-label">logo</div>
<div class="hint">Provide a valid URL to replace the default RetroTax Logo</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="url" name="callback_url" data-hint="Provide a callback URL and we will return a JSON response of each ATS or OBS submission"
ng-model="_retrotax_options.callback_url" value="{{_retrotax_options.callback_url}}">
<div class="floating-label">callback_url</div>
<div class="hint">Provide a callback URL and we will return a JSON response of each ATS or OBS submission</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="authorization_code" data-hint="For white-listing a hostname" ng-model="_retrotax_options.whitelist_code" value="{{_retrotax_options.whitelist_code}}">
<div class="floating-label">Authorization Code</div>
<div class="hint">For white-listing a hostname</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="framework" data-hint="bootstrap or material-design" ng-model="_retrotax_options.framework" value="{{_retrotax_options.framework}}">
<div class="floating-label">framework</div>
<div class="hint">bootstrap or material-design</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="hide_fields" data-hint="Whether to hide prepopulated fields from the user or display their populated values. Boolean." ng-model="_retrotax_options.hide_fields" value="{{_retrotax_options.hide_fields}}">
<div class="floating-label">hide_fields</div>
<div class="hint">Whether to hide prepopulated fields from the user or display their populated values. Boolean.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="prepopulate_by" data-hint="If set to id or name the plugin will auto-populate the values in those fields to match those to our field names." ng-model="_retrotax_options.prepopulate_by" value="{{_retrotax_options.prepopulate_by}}">
<div class="floating-label">prepopulate_by</div>
<div class="hint">If set to id or name the plugin will auto-populate the values in those fields to match those to our field names.</div>
<span class="material-input"></span>
</div>
</div>
<hr>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_firstname" ng-model="_retrotax_options.populated_fields.firstname" value="{{_retrotax_options.populated_fields.firstname}}">
<div class="floating-label">populated_fields.firstname</div>
<div class="hint">String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_lastname" ng-model="_retrotax_options.populated_fields.lastname" value="{{_retrotax_options.populated_fields.lastname}}">
<div class="floating-label">populated_fields.lastname</div>
<div class="hint">String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_middleinitial" ng-model="_retrotax_options.populated_fields.middleinitial" value="{{_retrotax_options.populated_fields.middleinitial}}">
<div class="floating-label">populated_fields.middleinitial</div>
<div class="hint">Single Character String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_address" ng-model="_retrotax_options.populated_fields.address" value="{{_retrotax_options.populated_fields.address}}">
<div class="floating-label">populated_fields.address</div>
<div class="hint">String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_address2" ng-model="_retrotax_options.populated_fields.address2" value="{{_retrotax_options.populated_fields.address2}}">
<div class="floating-label">populated_fields.address2</div>
<div class="hint">String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="populated_fields_city" ng-model="_retrotax_options.populated_fields.city" value="{{_retrotax_options.populated_fields.city}}">
<div class="floating-label">populated_fields.city</div>
<div class="hint">String</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" name="populated_fields_state" data-hint="" ng-model="_retrotax_options.populated_fields.state" value="{{_retrotax_options.populated_fields.state}}">
<div class="floating-label">populated_fields.state</div>
<div class="hint">Integer or 2 Chacter State Abbreviated String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" name="populated_fields_dob" type="text" data-hint="Date of Birth" ng-model="_retrotax_options.populated_fields.dob" value="{{_retrotax_options.populated_fields.dob}}">
<div class="floating-label">populated_fields.dob</div>
<div class="hint">Date of Birth. String (mm/dd/yyyy)</div>
<span class="material-input"></span>
</div>
</div>
<hr>
<div ng-show="_retrotax_options.plugin_type=='prequal'">
<!--
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="Email Address to Send To" name="prequal_email_to" id="prequal_email_to" ng-model="_retrotax_options.prequal.email_to" value="{{_retrotax_options.prequal.email_to}}" data-displayname="Email Address To Send To">
<div class="floating-label">prequal.email_to</div>
<span class="material-input"></span>
</div>
</div>
-->
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="Email Address to CC" name="prequal_email_cc" id="prequal_email_cc" ng-model="_retrotax_options.prequal.email_cc" value="{{_retrotax_options.prequal.email_cc}}" data-displayname="Email Address To CC">
<div class="floating-label">prequal.email_cc</div>
<div class="hint">Comma delimited email addresses to CC on the prequalification email. Email or Comma delimited emails.</div>
<!-- <div class="hint invalid" ng-if="demoFrom.prequal_email_cc.$error.email">Email Address is invalid</div> -->
<span class="material-input"></span>
</div>
</div>
<!--
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="Email Address to BCC" name="prequal_email_bcc" id="prequal_email_bcc" ng-model="_retrotax_options.prequal.email_bcc" value="{{_retrotax_options.prequal.email_bcc}}" data-displayname="Email Address To BCC">
<div class="floating-label">prequal.email_bcc</div>
<span class="material-input"></span>
</div>
</div>
-->
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.partner_name" ng-model="_retrotax_options.prequal.partner_name" value="{{_retrotax_options.prequal.partner_name}}">
<div class="floating-label">prequal.partner_name</div>
<div class="hint">The individual contact person at your organization which will sign the prequalification PDF. String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.partner_organization" ng-model="_retrotax_options.prequal.partner_organization" value="{{_retrotax_options.prequal.partner_organization}}">
<div class="floating-label">prequal.partner_organization</div>
<div class="hint">The name of your oganization which will appear on the prequalification PDF. String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="url" data-hint="" name="prequal.partner_website" ng-model="_retrotax_options.prequal.partner_website" value="{{_retrotax_options.prequal.partner_website}}">
<div class="floating-label">prequal.partner_website</div>
<div class="hint">Partner website (e.g. http://yourwebsite.com). URL.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.intro_text" ng-model="_retrotax_options.prequal.intro_text" value="{{_retrotax_options.prequal.intro_text}}">
<div class="floating-label">prequal.intro_text</div>
<div class="hint">Introduction text inserted at the beginning of the prequalification PDF. String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="url" data-hint="" name="prequal.logo_url" ng-model="_retrotax_options.prequal.logo_url" value="{{_retrotax_options.prequal.logo_url}}">
<div class="floating-label">prequal.logo_url</div>
<div class="hint">Web accessible URL which will be inserted at the top of the prequalification PDF. URL.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" maxlength="3" minlength="0" data-hint="" name="prequal.logo_width" ng-model="_retrotax_options.prequal.logo_width" value="{{_retrotax_options.prequal.logo_width}}">
<div class="floating-label">prequal.logo_width</div>
<div class="hint">Max width 300px. Integer.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" maxlength="3" minlength="0" data-hint="" name="prequal.logo_height" ng-model="_retrotax_options.prequal.logo_height" value="{{_retrotax_options.prequal.logo_height}}">
<div class="floating-label">prequal.logo_height</div>
<div class="hint">Max height 75px. Integer.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.closing_text" ng-model="_retrotax_options.prequal.closing_text" value="{{_retrotax_options.prequal.closing_text}}">
<div class="floating-label">prequal.closing_text</div>
<div class="hint">Closing text inserted at the end of the prequalification PDF. String.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.retrotax_contact" ng-model="_retrotax_options.prequal.retrotax_contact" value="{{_retrotax_options.prequal.retrotax_contact}}">
<div class="floating-label">prequal.retrotax_contact</div>
<div class="hint">The RetroTax Contact Email Address. Email.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input class="form-control" type="text" data-hint="" name="prequal.ask_ssn" ng-model="_retrotax_options.prequal.ask_ssn" value="{{_retrotax_options.prequal.ask_ssn}}">
<div class="floating-label">prequal.ask_ssn</div>
<div class="hint">Whether or not to ask user for Social Security Number (necessary for generarting documents, like Form 180). Boolean.</div>
<span class="material-input"></span>
</div>
</div>
</div>
</form>
<div class="clear-30"></div>
<div class="col-sm-12">
<h5>The plugin configuration as a JSON Object:</h3>
<json-formatter json="_retrotax_options" open="0"></json-formatter>
</div>
</div> <!-- col 6 well -->
<div class="col-sm-6">
<h3>Your Website, App, or HRIS System</h3>
<hr>
<h5>An example of an existing form. The configuration form on the left will automatically update the ID and Name attributes in the fields below. Complete the configuration form with the ID or Name attributes in your website or application and insert fake values in the fields below. This will give you an exact picture of what the RetroTax Plugin will look like in your site.</h5>
<div class="clear-30"></div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.firstname}}" name="{{_retrotax_options.populated_fields.firstname}}" class="form-control" type="text" data-hint="Insert any first name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.firstname}}</div>
<div class="hint">Insert any first name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.lastname}}" name="{{_retrotax_options.populated_fields.lastname}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.lastname}}</div>
<div class="hint">Insert any first name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.middleinitial}}" name="{{_retrotax_options.populated_fields.middleinitial}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.middleinitial}}</div>
<div class="hint">Insert any middle initial and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.address}}" name="{{_retrotax_options.populated_fields.address}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.address}}</div>
<div class="hint">Insert any address and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.address2}}" name="{{_retrotax_options.populated_fields.address2}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.address2}}</div>
<div class="hint">Insert any address2 and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.city}}" name="{{_retrotax_options.populated_fields.city}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.city}}</div>
<div class="hint">Insert any city and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.state}}" name="{{_retrotax_options.populated_fields.state}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.state}}</div>
<div class="hint">Insert any state and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="col-sm-6">
<div class="form-control-wrapper">
<input id="{{_retrotax_options.populated_fields.dob}}" name="{{_retrotax_options.populated_fields.dob}}" class="form-control" type="text" data-hint="Insert any last name and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.">
<div class="floating-label">Your Form ID or Name Attribute: {{_retrotax_options.populated_fields.dob}}</div>
<div class="hint">Insert any Date of Birth and the value will be transferred to the RetroTax Plugin and the user will not be required to answer this question.</div>
<span class="material-input"></span>
</div>
</div>
<div class="clear-30"></div>
<hr>
<!-- Add this to your site -->
<div id="retrotax_plugin"></div>
<!-- Disregard this little guy - for demo purposes only, si vous plait -->
<h3>Button Displayed On Your Site:</h3>
<div class="clear-30"></div>
<center>
<button ng-disabled="demoForm.$invalid" id="retrotax_plugin_trigger" class="{{_retrotax_options.button_class}}">{{_retrotax_options.button_text}}</button>
</center>
<center>
<p ng-if="demoForm.$invalid"><i>The configuration form is invalid. Please correct any invalid fields in order to open the plugin</i></p>
</center>
</div>
</div>
</div>
</body>
</html>