Support » Plugin: Caldera Forms - More Than Contact Forms » Form editing capability for Editors

  • Hi guys,

    I’ve setup some Caldera Forms on a multisite and want to allow the Editor users to make changes to the forms.

    I have followed the instructions on here https://calderaforms.com/doc/caldera_forms_manage_cap
    and added this code

    `
    /** Allow users with the editor role to use the Caldera Forms admin screen */
    add_filter( ‘caldera_forms_manage_cap’, function( $cap, $context ) {
    if( ‘admin’ == $context ) {
    return ‘delete_posts’;
    }
    return $cap;
    }, 10, 2 );
    `

    Which allows the Editors to access the admin screens for the forms, but when they try to save changes, the “Saved Successfully” message does not appear, and when I come back to visit the form settings, their changes have not been saved.

    Could this be something to do with Multisite or could I be overlooking something else?

    Cheers,
    Robey

Viewing 1 replies (of 1 total)
  • Plugin Author Josh Pollock

    (@shelob9)

    Hi Róbey –

    So, you used the filter correctly to show entries, not to update them. I need to add one filter to do both https://github.com/CalderaWP/Caldera-Forms/issues/2466

    I need to make the current docs more clear to show how to do this with current version. I’m not at my computer. I’ll let you know when I figure it out. Bug me on Messenger if I don’t.

    Take care,
    Josh

Viewing 1 replies (of 1 total)
  • The topic ‘Form editing capability for Editors’ is closed to new replies.