I'm working on a design heavy site and one of the sections created via the Paragraphs module requires to display the
I'm currently doing this in the
paragraphs-item--myparagraph.tpl.php file with the following code:
<?php $form = drupal_get_form('user_register_form'); print drupal_render($form); ?>
This works for showing the form but the problem is that if there are form validation errors, they don't show. I have read that the issue is rendering the form too late but I can't see how I adapt this to Paragraph entities. I have tried using mytheme_preprocess_entity to pass the form in but I can't render it?