• Resolved bunjip

    (@bunjip)


    Hi,

    I was wondering if and how I can pass variable values to any Caldera Form, that I include via Caldera_Forms::render_form() function in my template?

    From the docs and the source code I can see, that the method takes an array as a parameter. I would like to use something like

    
    $my_var = "some value";
    Caldera_Forms::render_form( array( 'id' => 'CF5a210f15c5647', 		
                                       'my_var' => $my_var ) );

    Is that possible? How can I access my_var in the form builder and / or in processors?

    Thanks for any help.

Viewing 1 replies (of 1 total)
  • Plugin Contributor christiechirinos

    (@christiechirinos)

    Hi there,

    Thanks for using Caldera Forms. Just so you know, do not offer support for Caldera Forms via this board. You might get help from the power users on here, but to get support from us we ask that you purchase Caldera Forms Pro. This model is how we are able to offer a powerful product for free, but also have a professional team supports and updates the product every day. Plans are affordable, starting at $14.99/month with no contract.

    You can browse plans at https://calderaforms.com/pro/. If you are already a paying subscriber, you can request support at https://calderaforms.com/support/.

    Alternatively, you can join our Facebook community group and collaborate with other free users of Caldera Forms: https://www.facebook.com/groups/651862761663883

    Sorry about the hassle, and thanks for understanding that this is separate channel allows us to ensure that we are able to continue to develop great products for you.

Viewing 1 replies (of 1 total)
  • The topic ‘How to pass variables to a form when using Caldera_Forms::render_form()?’ is closed to new replies.