Thank you, i found the module documentation, and now it works. I attached it here, so others can see it.On sms.tpl
{if $cmspages.id_cms == ' '}{/if} insert the form in the controller too. I itself so not tested, but on the idea of so.I do created a separate tpl page with forms.
In cms.tpl, under <div class="rte{if $content_only} content_only{/if}"> , insert
{if $cms‐>id == 'X'}
{hook h='displayPowerfulForm' mod='powerfulformgenerator' id=Y}
{/if}