• Resolved CoBu1

    (@cobu1)


    Ok so I know you can pre-populate text fields in Caldera Forms like this:

    
    add_filter('caldera_forms_render_get_field', 'prepopulate_text_field');
    
    function prepopulate_text_field($field) {
        $field['config']['default'] = 'Prepopulate with this';
    }
    

    But how would I pre-populate a File Upload field with an image (assuming the image is saved somewhere as a WordPress attachment)? Thank you!

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

    (@christiechirinos)

    Hi CoBu1,

    Thanks for using Caldera Forms. This looks like a specific support request – 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 the channel to get support from us directly is to open a support ticket at https://CalderaWP.com/support. Through that form, someone from our team will follow up about this issue within 1 business day.

    Please note that to use our support form, you must have an active license for any Caldera Forms add-on (https://calderawp.com/caldera-forms-add-ons/) or a support license (https://calderawp.com/support/#priority-support).

    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 pre-populate file upload fields?’ is closed to new replies.