Jednoduché demo

Toto je nejjednodušší příklad použití našeptávače firem.

Zadejte firmu:

Název firmy
IČO
DIČ

 

Zdrojový kód – JavaScript

 <script type="text/javascript" src="https://client.smartform.cz/v2/smartform.js" async></script>
 <script type="text/javascript">
    var smartform = smartform || {};
    
    smartform.beforeInit = function () {
        smartform.setClientId('[clientId]');
    }
 </script>

Zdrojový kód – HTML

<form>
    <div>
        <label for="smartform_nazev">Název firmy</label>
        <input id="smartform_nazev" type="text" class="smartform-company-name" />
    </div>
    <div>
        <label for="smartform_ico">IČO</label>
        <input id="smartform_ico" type="text" class="smartform-company-registration-number" />
    </div>
    <div>
        <label for="smartform_dic">DIČ</label>
        <input id="smartform_dic" type="text" class="smartform-company-vat-number" />
    </div>
</form>