Title: Display form from PHP
Last modified: April 2, 2019

---

# Display form from PHP

 *  Resolved [realsol31](https://wordpress.org/support/users/realsol31/)
 * (@realsol31)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/display-form-from-php-2/)
 * I need to add 1 of several forms on a page depending on the $_REQUEST. I have
   tried:
 * do_shortcode(‘[caldera_form id=”F5ca37e19aafb8″]’);
    Caldera_Forms::render_form(‘
   CF57cd8747beba8’ ); echo Caldera_Forms::render_form( ‘CF57cd8747beba8’ );
 * I also need to set default values, but I assume I can do that with the $_REQUEST.
 * An example would be appreciated.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * (@shelob9)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/display-form-from-php-2/#post-11385192)
 * Thanks for using Caldera Forms
 * Take a look here: [https://calderaforms.com/doc/adding-using-caldera_forms_render_form/](https://calderaforms.com/doc/adding-using-caldera_forms_render_form/)
 * If you need more help, please open a support ticket here: [https://calderaforms.com/support](https://calderaforms.com/support)

Viewing 1 replies (of 1 total)

The topic ‘Display form from PHP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/display-form-from-php-2/#post-11385192)
 * Status: resolved