• Home
  • Getting Started+
    • How to use community?
    • Community guidelines
    • Sitemap
    • Knowledge Center
  • How-To Center +
    • Nintex Analytics
    • Nintex AssureSign
    • Nintex Drawloop DocGen
    • Nintex for Office 365
    • Nintex for SharePoint
    • Nintex K2 blackpearl
    • Nintex K2 Cloud
    • Nintex K2 Five
    • Nintex Promapp
    • Nintex RPA
    • Nintex Upgrade Center
    • Nintex Workflow Cloud
    • Request Content
  • Workflow Automation +
    • Nintex Workflow Cloud +
      • Nintex Workflow Cloud Forum
      • Best Practices
      • How To
      • Technical Issues
      • Blog
    • Nintex for Office 365 +
      • Nintex for Office 365 Forum
      • Best Practices
      • How To
      • Technical Issues
      • Blog
    • Nintex for SharePoint +
      • Nintex for SharePoint Forum
      • Best Practices
      • How To
      • Technical Issues
      • Nintex for SharePoint Migration
      • Blog
    • K2 Five +
      • K2 Five Forum
      • Best Practices
      • How To
      • Technical Issues
      • K2 Five Cumulative Updates and Fixpacks
      • K2 Product Upgrade Coaching
      • K2 Blog
    • K2 Cloud +
      • K2 Cloud Forum
      • Best Practices
      • How To
      • Technical Issues
      • K2 Blog
    • K2 blackpearl +
      • K2 blackpearl Forum
      • Best Practices
      • How To
      • Technical Issues
      • K2 blackpearl Cumulative Updates and Fixpacks
      • K2 Blog
    • K2 Connect +
      • Technical Issues
      • K2 Blog
  • Upgrade to Nintex Workflow Cloud +
    • Upgrade Center Forum
    • Upgrade Center Knowledge Base
    • Upgrade Center How To
    • Upgrade Center Blog
  • Nintex Analytics +
    • Nintex Analytics Forum
    • Nintex Analytics Knowledge Base
    • Nintex Analytics Blog
  • Nintex Promapp +
    • Nintex Promapp Forum
    • Best Practices
    • How To
    • Technical Issues
    • Blog
  • Nintex RPA +
    • Nintex RPA Forum
    • Best Practices
    • How To
    • Technical Issues
    • Blog
  • Nintex Drawloop +
    • Nintex for Salesforce Forum
    • Best Practices
    • How To
    • Technical Issues
    • Blog
  • Nintex AssureSign +
    • Nintex AssureSign Forum
    • Best Practices
    • How To
    • Technical Issues
    • Blog
  • Blog +
    • Community blogs
  • Groups +
    • K2 Arcade +
      • General
      • Swagger
      • K2 Solutions
      • K2 Five / blackpearl
    +
    • Responsive Forms
  • More Resources +
    • Service status
    • Customer central
    • Partner central
    • Nintex university
    • Help documentation
    • Nintex.com
    • Solution Accelerator Gallery
    • Product Feature Request
    • Product Roadmap
  • Home
  • Getting Started
    How to use community?
    Community guidelines
    Sitemap
    Knowledge Center
  • How-To Center
    Nintex Analytics
    Nintex AssureSign
    Nintex Drawloop DocGen
    Nintex for Office 365
    Nintex for SharePoint
    Nintex K2 blackpearl
    Nintex K2 Cloud
    Nintex K2 Five
    Nintex Promapp
    Nintex RPA
    Nintex Upgrade Center
    Nintex Workflow Cloud
    Request Content
  • Workflow Automation
    Nintex Workflow Cloud
    Nintex Workflow Cloud Forum Best Practices How To Technical Issues Blog
    Nintex for Office 365
    Nintex for Office 365 Forum Best Practices How To Technical Issues Blog
    Nintex for SharePoint
    Nintex for SharePoint Forum Best Practices How To Technical Issues Nintex for SharePoint Migration Blog
    K2 Five
    K2 Five Forum Best Practices How To Technical Issues K2 Five Cumulative Updates and Fixpacks K2 Product Upgrade Coaching K2 Blog
    K2 Cloud
    K2 Cloud Forum Best Practices How To Technical Issues K2 Blog
    K2 blackpearl
    K2 blackpearl Forum Best Practices How To Technical Issues K2 blackpearl Cumulative Updates and Fixpacks K2 Blog
    K2 Connect
    Technical Issues K2 Blog
  • Upgrade to Nintex Workflow Cloud
    Upgrade Center Forum
    Upgrade Center Knowledge Base
    Upgrade Center How To
    Upgrade Center Blog
  • Nintex Analytics
    Nintex Analytics Forum
    Nintex Analytics Knowledge Base
    Nintex Analytics Blog
  • Nintex Promapp
    Nintex Promapp Forum
    Best Practices
    How To
    Technical Issues
    Blog
  • Nintex RPA
    Nintex RPA Forum
    Best Practices
    How To
    Technical Issues
    Blog
  • Nintex Drawloop
    Nintex for Salesforce Forum
    Best Practices
    How To
    Technical Issues
    Blog
  • Nintex AssureSign
    Nintex AssureSign Forum
    Best Practices
    How To
    Technical Issues
    Blog
  • Blog
    Community blogs
  • Groups
    K2 Arcade
    General Swagger K2 Solutions K2 Five / blackpearl
    Responsive Forms
    State and Local Government
    Center of Excellence
    Nintex Community Hub
  • More Resources
    Service status
    Customer central
    Partner central
    Nintex university
    Help documentation
    Nintex.com
    Solution Accelerator Gallery
    Product Feature Request
    Product Roadmap
Community Ask questions, find solutions, share knowledge
  • Register
  • ·
  • Sign In
  • ·
  • Help

Nintex Community

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • Nintex Community
  • :
  • Search

Search the Community

Showing results for 
Search instead for 
Did you mean: 
Search Options
  • Subscribe to RSS Feed for this Search
Advanced Hide Advanced
  • Posts
  • Users
Advanced Search Options
Search Modifiers:
You can apply modifiers to the terms you enter in the search field.
Use quotes to search for an "exact phrase".
Use the plus sign to search for +one +or +more +words.
Use the minus sign to -exclude -certain -words from your search.
Limits search results to topics that have no replies.
  • « Previous
  • Next »
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
23 results
Sorted by:
Best Match
  • Date
  • Views
  • Kudos
  • Replies
  • Best Match

How can I make attachments required if a particula...

by anderj39 in Nintex for SharePoint Forum
‎10-24-2017 10:07 AM
‎10-24-2017 10:07 AM
I have very little JS knowledge.  I can follow some, but am lost with most.  So I've read a similar question, only rather than a checkbox, the example shows attachments being required based...
  • Tags:
  • attachment
  • attachment validation
  • getnumberofattachments
  • javascript
  • required attachments
  • validate
  • validation rule
Show results in replies (3)
  • for yes/no checkbox validation formula should simply be cbMapsExists && GetNumberOfAttachments...
  • ...ould add the GetNumberOfAttachments function to the forms Custom Javascript section, change the CSS C...
  • where did you come to this syntax of CSS class definition??? put there simply: nf-form-input Atta...

attachments custom validation

by waltont in Nintex for SharePoint Forum
‎06-29-2016 06:39 AM
9 Kudos
‎06-29-2016 06:39 AM
9 Kudos
I have need for very custom validation on an attachment field. We have a series of cascading drop down menus that make the attachment field visible based on the selections. When the conditions tha...
  • Tags:
  • attachments
  • custom validation
  • formatting rules
  • getnumberofattachments
  • javascript
  • nitex forms
  • numberofattachments
  • validation
  • validation rule
Show results in replies (7)
  • ...nto the Custom JavaScript text box. function GetNumberOfAttachments(attCtrlClassName){&n...
  • ...earch.jspa?q=GetNumberOfAttachments  #BRGreview
  • ...unction GetNumberOfAttachments ( attCtrlClassName ) {    return NWF . FormFiller . A...
  • ...unction GetNumberOfAttachments(attCtrlClassName) { return NWF.FormFiller.Attachments.GetAttachedFilesCount...
  • ...s GetNumberOfAttachments("AttachmentControlClass") < 1. How can we get this to work?
  • ...hen I get no results from a form variable when I add the formula =  GetNumberOfAttachments("a...
  • ...ite and put in setting the code: function GetNumberOfAttachments() { return NWF.FormFiller...

Required attachments if number column is a certain...

by harryr in Nintex for SharePoint Forum
‎03-01-2021 02:33 AM
‎03-01-2021 02:33 AM
Hi    I hope someone can help. I have a requirement to make the attachments control mandatory if one of two number columns >= x number:   IF numberColumn1 OR numberColu...
Show results in replies (2)
  • ...itness =="Yes"&&GetNumberOfAttachments("nf-form-input5")<1   JS:   f...
  • ...ettings window. function getNumberOfAttachments(attCtrlClassName){ return NWF.FormFiller...

Validation Rule: Conditionally Require User to add...

by cwentzel in Nintex for SharePoint Forum
‎06-05-2018 11:19 AM
‎06-05-2018 11:19 AM
Within the Nintex form, I have 4 different attachment fields.  I need to validate before the user hits ‘Submit’, that there is at least one attachment loaded into one of those fields (could be a...
Show results in replies (7)
  • ...bsp; in your case validation formula might look like AnotherControl == 'X' && ( GetNumberOfAttachments...
  • ...ajor_TH_Project=="Tower Integration Project" &&New_Renewal_Amendment!="Termination"&&(GetNumberofAttachments...
  • ...ermination"&&(GetNumberofAttachments('AttControlClass1')+ GetNumberofAttachments('A...
  • ...ermination"&&(GetNumberofAttachments('CapReqAttachment') + GetNumberofAttachments('M...
  • ok, let's try it step by step... try to reduce validation formula just to  GetNumberOfAttachments...
  • ...ike FieldA == 'Yes' && FieldB && ( GetNumberOfAttachments ( 'A...
  • great! remember to mark correct answer

How can I validate a field based of the attachment...

by merru in Nintex for SharePoint Forum
‎12-28-2016 09:03 AM
‎12-28-2016 09:03 AM
I have a last name field and I want to add a validation that if  it is empty AND the form has no attachments, then it is invalid.  In other words either the last name needs to be filled or ...
Show results in replies (4)
  • ...bsp;GetNumberOfAttachments('nf-form-input-attachment');   var lastName=NWF$('#' + v...
  • attachment control's CSS class you configure in setting dialog has to be input parameter to the GetNumberOfAttachments...
  • ...should. It's got to be something I am doing wrong... I am using function GetNumberOfAttachments...
  • ...o get highlighted once validation fails isNullOrEmpty ( LastName ) && GetNumberOfAttachments...

number of attachments based on calculated field va...

by lgiambar in Nintex for SharePoint Forum
‎05-26-2017 07:41 AM
1 Kudo
‎05-26-2017 07:41 AM
1 Kudo
I am creating a expense form and I am trying to validate the number of attachments on my form.  First I tried to follow the solution on in this blog post (Attachement in repeating section&nbs...
  • Tags:
  • attachment requirements
  • nintex forms attachment
Show results in replies (2)
  • I wanted to add my solution: I used Marian's JS code to make this work function GetNumberOfAttachments...
  • ...earch.jspa?q=getnumberofattachments  basically, it's quite easy. copy & paste script into f...

Attachments custom validation

by MAC in Nintex for SharePoint Forum
‎12-11-2019 01:40 AM
‎12-11-2019 01:40 AM
...orum: 1º In each attachment field, I put the CSS Class: AttachmentControlClass1, ..... AttachmentControlClass8 2º I put in Setting 8 codes (one for each CSS Class) function GetNumberOfAttachments...
Show results in replies (1)

How to count attachments within the nintex form (n...

by Vynnette26 in Nintex for SharePoint Forum
‎12-14-2021 10:01 AM
‎12-14-2021 10:01 AM
I am trying to count/sum the total number of attachments in a nintex form. I will use that number to set a field within the form so a workflow is not optimal.
Labels
  • Forms for Sharepoint On-Premises
Show results in replies (1)
  • ...bsp; function GetNumberOfAttachments(attCtrlClassName){ return NWF.FormFiller.Attachments...

Cannot get Attachment Validation to Work

by gdgonzal in Nintex for SharePoint Forum
‎12-14-2017 11:38 AM
‎12-14-2017 11:38 AM
I've been following this   article   on how to conditionally require an attachment on a Nintex form and I haven't had any luck getting it to work.  I suspect, because I'm no expert o...
  • Tags:
  • javascipt
Show results in replies (3)
  • I've made the correction and it still does not work: Status=="Completed" && (GetNumberOfAttachments...
  • Check usage of GetNumberOfAttachments function carefully. you have supplied wrong selector as i...
  • ...ee what it would render during runtime and it's not returning anything: function GetNumberOfAttachments...

Making a field mandotary for some users and not fo...

by Sutekh in Nintex for SharePoint Forum
‎12-14-2020 04:57 AM
‎12-14-2020 04:57 AM
Afternoon   I'm trying to make an attachment field in my Nintex form mandatory for a group of Line Managers and not mandatory for our IT department. Is there a way to do this? All help appre...
  • Tags:
  • mandatory fields
Show results in replies (1)
  • ...lace that in the JavaScript section of your form settings.   function GetNumberOfAttachments(a...
  • « Previous
    • 1
    • 2
  • Next »
  • 1,308,509Visits
  • 51,142Members
  • 10,317 Answers
  • facebook
  • linkedin
  • twitter
  • youtube
  • Customer success
  • Customer central
  • Partner portal
  • Support
  • Help documentation
  • Virtual technical evangelists
  • Resources
  • All resources
  • Events and webinars
  • Solution accelerator gallery
  • Reports
  • Blog
  • About Nintex
  • Company overview
  • Leadership
  • Awards and recognition
  • Newsroom
  • Careers
  • Nintex.com
  • Privacy policy
  • Legal
  • Security
  • Terms of use
  • © 2022 Nintex Global Ltd