Print a form with PHP from external XML definition

Hi DHX Team,
I’m trying to print a form dynamically using PHP and the form structure definitions are stored in an external XML file. The idea is to have a single XML file with all the form definitions and query the same file for every form to be displayed; this is achieved by PHP Simplexml functions and xpath. Each form is to be tagged with an “id” which will be of the type hidden and a value will be assigned to it while the xml is created.

I’m able to retrieve the required structure from the PHP program but unable to print/display the form as required. The required file containing the codes is attached for your perusal.

Kindly help out, the matter is urgent.
Regards
Manish.
problem document.zip (2.77 KB)

Hi

Could you please provide us complete demo including all correspondnig js/css files?
Please also add information regarding current and expected behaviour.

Here is a small guide how to make a complete demo:
docs.dhtmlx.com/tutorials__auxil … pport.html

If you don’t want to share your demo here for any reasons - you can send it to support@dhtmlx.com, if so - please include link to this forum topic.

If you’re using PRO Edition please send your demo to support@dhtmlx.com

Hi Andrei,
I have sent the required files by email to support@dhtmlx.com. Kindly check them out and advise at the earliest, as the matter is urgent.

Regards
Manish Kumar.

Hi Andrei,
Any updates? Hope you’ve received my email with all the PHP,JS,HTML & CSS files attached along with the screenshots.

Regards
Manish

Hi

change

<body onLoad()="doOnLoad();">

to

<body onload="doOnLoad();">

Yikes!!! Thanks much boss. Sorry for the trouble.

Regards
Manish