# Aurelia-validation polyfill BootstrapFormRenderer

**URL:** <https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273>\
**Category:** Help Requests\
**Created:** [June 3, 2018, 5:29pm UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273 "2018-06-03T17:29:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AHoxha19](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@AHoxha19](https://discourse.aurelia.io/u/AHoxha19)\
**Post date:** [June 3, 2018, 5:29pm UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273/1 "2018-06-03T17:29:42Z")

</div>

I want to use BootstrapFormRenderer with aurelia-validation on IE. As they say in the doc, i need to use a polyfill to make it work. My question is how do i install the polyfill in aurelia ??

BoostrapFormRenderer doc: [https://aurelia.io/docs/plugins/validation#custom-renderers](https://aurelia.io/docs/plugins/validation#custom-renderers)  
polyfill link: [https://github.com/jonathantneal/closest](https://github.com/jonathantneal/closest)

---

<div class="post-metadata">

**Author:** ![MaximBalaganskiy](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/maximbalaganskiy/32/831_2.png) [@MaximBalaganskiy](https://discourse.aurelia.io/u/MaximBalaganskiy)\
**Post date:** [June 4, 2018, 12:02am UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273/2 "2018-06-04T00:02:36Z")

</div>

Are you using webpack or CLI?  
With webpack it’s just `npm i element-closest --save` and `import "element-closest";`

---

<div class="post-metadata">

**Author:** ![AHoxha19](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@AHoxha19](https://discourse.aurelia.io/u/AHoxha19)\
**Post date:** [June 4, 2018, 5:04am UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273/3 "2018-06-04T05:04:37Z")

</div>

I am using CLI with RequireJS

---

<div class="post-metadata">

**Author:** ![MaximBalaganskiy](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/maximbalaganskiy/32/831_2.png) [@MaximBalaganskiy](https://discourse.aurelia.io/u/MaximBalaganskiy)\
**Post date:** [June 5, 2018, 2:10am UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273/4 "2018-06-05T02:10:54Z")

</div>

Should be no different, install with npm and add to the vendor bundle dependencies or prepend section

---

<div class="post-metadata">

**Author:** ![AHoxha19](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@AHoxha19](https://discourse.aurelia.io/u/AHoxha19)\
**Post date:** [June 6, 2018, 3:05pm UTC](https://discourse.aurelia.io/t/aurelia-validation-polyfill-bootstrapformrenderer/1273/5 "2018-06-06T15:05:47Z")

</div>

I already tried it but there is no way to make it work it really has strange behaviors
