How to remove Edit /Delete from upload field in frontend submission?

Support General How to remove Edit /Delete from upload field in frontend submission?Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39652
    synchrosynchro
    Participant

    Hi, I allow users to upload files using a front end form with a "File" field. I also give them the possibility to upload more files if needed using the same form and the same field (max 3 files).

    When a user uploads more files using the same form he/she can at the same time edit / delete the previously uploaded files using the tiny buttons that appear at the bottom of the uploaded file link.
    But I would like to disable the ability to delete or edit the already uploaded files in that field.

    How to do it?

    #39687
    PeterPeter
    Moderator

    Hello,

    There is no option to disable the edit/delete button displayed on the uploaded file/image. There is a workaround to hide this element by using the CSS code. You can add the following code to Appearance > Customize > Additional CSS, to hide that feature.

    .rwmb-image-actions {
        display: none;
    }

    Hope that helps.

    #39708
    synchrosynchro
    Participant

    OK, thanks. For files it was:

    .rwmb-file-actions {
        display: none;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.