Hide attachment section under DOR
Hi Team,
I am checking for Hide Attachment section from Create DOR page.
- When I edited group element, below is the existing condition,
#{not empty bindings.DocumentTypeId.inputValue and ( bindings.MinAttachmentsCount.inputValue ne -1 || bindings.AttachmentCount.inputValue > 0)
- when I modified to #{not empty bindings.DocumentTypeId.inputValue and ( bindings.MinAttachmentsCount.inputValue ne -1 || bindings.AttachmentCount.inputValue > 0) and (bindings.SystemDocumentType.inputValue ne 'XXXX')}, its not working.
- when I modified to #{not empty bindings.DocumentTypeId.inputValue && (bindings.SystemDocumentType.inputValue ne 'XXXX')}, this is working.
what is the meaning of ( bindings.MinAttachmentsCount.inputValue ne -1 || bindings.AttachmentCount.inputValue > 0) ? why its not working with this condition?
Tagged:
0