Protect Attachments fields - InfoPath Dev
in

InfoPath Dev

Protect Attachments fields

Last post 04-09-2014 10:23 AM by wilkies0106aw. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-04-2014 01:23 AM

    Protect Attachments fields

     Hallo guys,

    I would like know how I can protect attachment fields from changing or editing. I can already protect the normal fields, but nevertheless the attachment will not work.

    Does anybody know a workaround?

    Best regards

    Matthias

  • 04-09-2014 10:23 AM In reply to

    You'll need 2 sections. Each section has its own attachment field.

    Section1 default section

    Section 2 - "Read Only"

    You'll also need a read-only field i.e check box/hidden text box etc with a  default value of 0 i.e. hide

     

    On the attachment field which is inside Section 2, select the attachment field properties

    Data>uncheck Allow users to browse,delete etc. 

    Then each section has a formatting rule to hide it depending on the value of  the 'hide' filed

    Section1 condition hide = 1  - select Hide this Control

    Section 2 condition hide = 0 - select Hide this Control

     

    Attached is an example.

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.