Conditionally require attachments based on logic
The validation allowed for the attachments control is not sufficient when you need to conditionally require an attachment. Please can you add support to require an attachment based on logic? e.g. a checkbox is ticked, attachments become required.
When do you anticipate this being implemented? I see this was from 10/2018.
Allan Helbling commented
Hi Stephanie, in fact, there is a workaround, it is just a little tricky.
Custom JS of the form :
return NWF.FormFiller.Attachments.GetAttachedFilesCount(NWF.FormFiller.Functions.GetFillerDivObjectForControl(NWF$("#"+NWF$("." + attCtrlClassName + " .nf-attachmentsRow").id)).data('controlid'))
create a validation rule :
GetNumberOfAttachments("Control CSS Class") < 1
There is no workaround at this time.
Marcus Castro commented
Hi Euan Gamble. Do you have any updated if this feature is already available or if is there any work around?
Nathan Wright commented
I see 35 votes since Sept. 9. I'd love to see this in the product. As it stands now, attachment controls on the forms are so limited. I would love to see this more robust.
Dario Cassinerio commented