Page 1 of 1

View Dynaform in HTML Page

Posted: Sun Sep 08, 2019 9:30 pm
by hmxDavid

I would like to ask if it is possible to have a form Viewer like the Preview in the Dynaform Creation in Designer?

We plan to create a Documentation Page wherein we can place the used Dynaforms in Process and when clicked, it will show the Preview Mode of the Dynaform.


Re: View Dynaform in HTML Page

Posted: Tue Sep 10, 2019 1:11 am
by amosbatto
The iframe which holds the preview page for a Dynaform uses a URL like:

But I can't get it to execute outside the Dynaform Designer.

If you check the code at workflow/engine/methods/cases/pmDynaform.php, you might be able to figure out how to create a separate page with the code that you need.

Re: View Dynaform in HTML Page

Posted: Wed Sep 11, 2019 1:52 am
by hmxDavid
Thanks Amos. Yeah, tried this one also. but i have no luck outside Designer. I'll check that file. Thanks

Re: View Dynaform in HTML Page

Posted: Tue Sep 17, 2019 7:46 pm
by amosbatto
You might also want to check the [url= ... elds.28.29]PMFDynaFormFields(){/url] function, which is defined in workflow/engine/classes/class.pmFunctions.php