# Why is there display\_html field? mobil app display \<h1\>Some html code.\</h1\> not certificate

**URL:** <https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333>\
**Category:** Support\
**Created:** [September 6, 2018, 3:45am UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333 "2018-09-06T03:45:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hong215](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/hong215/32/441_2.png) [@hong215](https://community.blockcerts.org/u/hong215)\
**Post date:** [September 6, 2018, 3:45am UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/1 "2018-09-06T03:45:20Z")

</div>

Hi,

I added certificate onto mobile app.

but the app displayed

> Some html code

not the certificate infomation.

Why is there an additional field and the certificate isn’t displayed on mobile screen?

Thanks,

---

<div class="post-metadata">

**Author:** ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)\
**Post date:** [September 6, 2018, 2:23pm UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/2 "2018-09-06T14:23:43Z")

</div>

Right now, the way we verify displays and to make sure that the end user is seeing the certificate exactly how it was designed, is by using display\_html. So if you only have `some html code` in your display\_html field, that’s what will be displayed.

---

<div class="post-metadata">

**Author:** ![hong215](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/hong215/32/441_2.png) [@hong215](https://community.blockcerts.org/u/hong215)\
**Post date:** [September 6, 2018, 2:38pm UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/3 "2018-09-06T14:38:10Z")

</div>

Thanks.

so if I want the user to see the certificate, I need to hardcode all necessary html code into the displayHtml field?

---

<div class="post-metadata">

**Author:** ![hong215](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/hong215/32/441_2.png) [@hong215](https://community.blockcerts.org/u/hong215)\
**Post date:** [September 7, 2018, 1:32pm UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/4 "2018-09-07T13:32:17Z")

</div>

It doesn’t make sense.

**display\_html** field is predefined in conf.ini file in cert-tools, which generates a template to instantiate a batch.  
So I cannot just hardcode a recipient’s name in the field, because that will make all certificates issued in a batch display the same name.

The certificate displayed on mobile app should be auto generated.

Do you know if there is an interface in mobile app to do that? I’m not familiar with IOS development.

Thanks,

---

<div class="post-metadata">

**Author:** ![gcervera](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gcervera](https://community.blockcerts.org/u/gcervera)\
**Post date:** [July 4, 2019, 8:16pm UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/5 "2019-07-04T20:16:02Z")

</div>

Hi did you solve it? I’m trying to generate certificates and modify displayHTML to add the receipents name, but is not working. Any ideas? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![quekyaojing](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quekyaojing](https://community.blockcerts.org/u/quekyaojing)\
**Post date:** [August 12, 2019, 8:18am UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/6 "2019-08-12T08:18:37Z")

</div>

Sorry for bringing up the old POST, but I have the same question here. Anybody knows the solution?

---

<div class="post-metadata">

**Author:** ![RaymaN](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/rayman/32/715_2.png) [@RaymaN](https://community.blockcerts.org/u/RaymaN)\
**Post date:** [August 24, 2020, 8:05pm UTC](https://community.blockcerts.org/t/why-is-there-display-html-field-mobil-app-display-h1-some-html-code-h1-not-certificate/1333/7 "2020-08-24T20:05:20Z")

</div>

same problem here, anyone?
