• Resolved JakenCD

    (@vansite)


    Hi

    I want to add a form in a .php file.
    I’ve read the documentation and this seems the code I should use, but it doesn’t work
    <?php
    Caldera_Forms::render_form( ‘CF57cd8747beba8’ );
    ?>

    Any idea?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter JakenCD

    (@vansite)

    Edit: If I use:

    <?php echo Caldera_Forms_Entry_Viewer::form_entry_viewer_1( ‘CF5a92fa00323fe’ );?>

    I see the label but the form doesn’t really work

    Thread Starter JakenCD

    (@vansite)

    Any help?
    Thanks

    Plugin Contributor christiechirinos

    (@christiechirinos)

    Hi there,

    Please note that we address all free support in 3-5 business days (anywhere from 3-9 calendar days) in first in, first out order. If you re-comment on your thread, you will push your free support request back in the queue. You can avoid this issue with Priority Support at calderaforms.com/support when you have a time sensitive question, which has a 1 business day turnaround.

    To your question – your code snippet looks right so something else may be wrong with your template file. It’s hard for us to say without access to your entire file. I would be mindful of the following —

    – Your code needs to be within the body of the template file.
    – Do you have any custom code in your form that could be creating a conflict?
    – Do you have any custom code on another part of the template that could be creating a conflict?

    Make sure you take a look at this page: https://calderaforms.com/doc/adding-using-caldera_forms_render_form/ Feel free to reply with more information, we’ll be happy to take another look.

    Thread Starter JakenCD

    (@vansite)

    Hi Christie

    Thanks for the explanation about how free support works. I didn’t know.

    Regarding the issue itself the code is in the body and there is no code creating conflict. It is true I have custom html on it but it is pretty basic. I’ve tried with a form with no code and it doesn’t work either.
    I don’t see any custom code in another part of the template that could be creating a conflict either

    Can you give me some examples of code that could be creating a problem? I mean, based on your support experience, I would appreciate if you could let me know
    any trouble you’ve found I could be reproducing without noticing.

    Thanks

    Thread Starter JakenCD

    (@vansite)

    This is NOT resolve…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Form in PHP file’ is closed to new replies.