Jump to content
  • 0

upload new files



Hi all, I have a submission form and an update form. The user can upload a file in the submission form, or upload the file in the update form later. I only want the user can upload the file once. If the file has already existed in the update form, the user cannot delete or change it.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You can hide the "remove" checkbox in Localization and hide the upload text field by JS code.

1. Delete the "remove" text in the Localizaition. In Setting screen under Forms/Details Pages >> Markers and Tips >>Remove File Label, check "Enable Custom Text" checkbox, and insert


2. Hide the upload. Insert code into Header/Footer


if(document.getElementById('EditRecordfile').parentNode.getElementsByTagName("a").length > 0 || document.getElementById('EditRecordfile').parentNode.getElementsByTagName("img").length >0)


Replace "EditRecordfileRemove" and "EditRecordfile" to the appropriate field name

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...