Visitor to be able to edit a front end form

Support MB Frontend Submission Visitor to be able to edit a front end form

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44923
    Nicholas CoxNicholas Cox
    Participant

    Hi

    I am trying to make a form where the visitor can update a front end form [mb_frontend_form id="dc-ticket" edit="true" submit_button="Update" ajax="true"] and im passing in the post ID via url params ?rwmb_frontend_field_post_id=110 but I receive the message 'You are not allowed to edit this post'. Is there a way around allowing the visitor to edit a post when not signed in (guest/visitor)?

    thanks

    Nick

    #44924
    Nicholas CoxNicholas Cox
    Participant

    I am using a model, i can see there is a 'capability' parameter but no option to se to none?

    mb_register_model( $this->dc_basket_table_name, [
    	'table'  => $tablename, // Table name.
    	'show_in_menu' => false,
    	'capability' => ''
    ] );
    #44937
    PeterPeter
    Moderator

    Hello,

    >> Is there a way around allowing the visitor to edit a post when not signed in (guest/visitor)?

    No, only the post author can edit the post or the administrator/editor if the post is not assigned to them.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.