Skip to main content
Nintex Community Menu Bar
Solved

Make a field required based on if an attachment is present or not on a start form

  • December 11, 2024
  • 4 replies
  • 56 views

AlleyBee
Forum|alt.badge.img+1

I have a choice field on my start form that I’d like to make required based on whether or not an attachment has been added to the attachments field. I don’t need to be able to read the attached files or have any data other than an indicator if something is there or not. I have not been able to figure this out.

Is it even possible? Help!

Best answer by BarryCairns

Yes!

Create a form variable that uses the count function to count the number of attachments:

 

Then reference that variable in a form rule:

 

View original
Translate
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+3
  • Nintex Employee
  • 9 replies
  • Answer
  • December 11, 2024

Yes!

Create a form variable that uses the count function to count the number of attachments:

 

Then reference that variable in a form rule:

 

Translate

AlleyBee
Forum|alt.badge.img+1
  • Author
  • Rookie
  • 2 replies
  • December 12, 2024

Thank you so much ​@BarryCairns! Follow-up question, might be a bit tougher…

While this worked perfectly in my form in general I seem to not be able to get it working within a repeating section.
 

Thoughts?

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • 9 replies
  • December 12, 2024

You need to go one level further into the structure of your repeating section:

 

You will see Current row in the object

 

 

Click into Current row and then do the count on the file upload there

 

 

 

Translate

AlleyBee
Forum|alt.badge.img+1
  • Author
  • Rookie
  • 2 replies
  • December 13, 2024

Got it! Worked perfectly! Thank you!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings