Form: Easy Way to Check if Attachment Control is Empty?

  • 5 April 2017
  • 4 replies
  • 13 views

Badge +7

Is there an easy way I'm missing here? Or is JS the only way to check whether the attachment control on a form contains something?

thanks


4 replies

Userlevel 5
Badge +14

sure, there is easy JS way happy.png

https://community.nintex.com/message/42747?commentID=42747#comment-42747 

Badge +7

happy.png

I saw that post of yours. Wasn't quite smart enough to know what to modify in there and whether I could get it to populate a field with a Yes/No or 1/0 so i could reference later?

Userlevel 5
Badge +14

you don't need to change anything in there. just pass in your custom class configured for attachment control.

the function is primarily meant to use in rules, calc value controls or in JS scripts. but it shouldn't be a problem to customize it to (re)set some control's value.

Badge +8

Has anyone found a solution to check for this in responsive forms as well? happy.png

Reply