Here, I am going to note about the small mistake that we make, when publishing
InfoPath Forms to
MOSS 2007 Forms Libraries. As you all know that we can set the
Button action to
Submit and specify the SharePoint Document library with preferred
file name format. Let’s say you have defined the file name format like below.
Yes, your file format formula is correct. But what will happen after posting your form data to the specified document library. It will show like below.
What’s this
NaN. It is not the file name format you expected. Even you can’t submit any more duplicated forms Name. FYI:
NaN means Not a Number. InfoPath tried to convert fields to number due to having plus sign
(+) in file name format formula.
So, what’s the simplest solution to overcome this issue? The solution is using
concat() function with your custom file name formula (specially, when you are having multiple files in your file formula).