How i can insert form into php

Paul Loeppky created the topic: How i can insert form into php

How i can insert form into php other then page or post

Thanks

#20658

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Please use the following code:

require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
$controller = new FMControllerForm_maker();
$controller->execute($your_form_id);

Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#20669

Please Log in or Create an account to join the conversation.


Paul Loeppky replied the topic: How i can insert form into php

I posted that code but getting this error - please can you see how i can get it corrected

Thanks

#20695
Attachments:

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Did you make sure to use your form's ID instead of $your_form_id?
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#20712

Please Log in or Create an account to join the conversation.


Paul Loeppky replied the topic: How i can insert form into php

Yes i used form ID which is 17 you can see that in that attached picture

#20727
Attachments:

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Firstly, if you are pasting it to an HTML code, please write it the following way:

<PHP
    require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
    $controller = new FMControllerForm_maker();
    $controller->execute($your_form_id);
?>

Secondly, you have written execute($17), please write execute(17) instead.
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#20738

Please Log in or Create an account to join the conversation.


Paul Loeppky replied the topic: How i can insert form into php

I posted this code still its not working

<div
<PHP
require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
$controller = new FMControllerForm_maker();
$controller->execute(17);
?>
</div>

#20809
Attachments:

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Please note, that you've missed the > closing bracket after your first <div>.
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#20825

Please Log in or Create an account to join the conversation.


Paul Loeppky replied the topic: How i can insert form into php

i have corrected the code but still its not displaying the FORM


<div>
<?PHP require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
$controller = new FMControllerForm_maker();
$controller->execute(17);?>
</div>

#20848

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Could you please contact us to [email protected] and let us to take a look at the problem? Please send us the link, where you've tried to publish the form.

Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#20862

Please Log in or Create an account to join the conversation.


Paul Loeppky replied the topic: How i can insert form into php

i tried sending email but bounced back everytime

#21029

Please Log in or Create an account to join the conversation.


Support replied the topic: How i can insert form into php

Dear Paul,

Could you please try sending it with a GMail e-mail address?
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#21181

Please Log in or Create an account to join the conversation.


Time to create page: 0.527 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us