Comma in filename of submitted Library forms - InfoPath Dev
in

InfoPath Dev

Comma in filename of submitted Library forms

Last post 12-07-2011 11:19 AM by dsmith45. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-06-2011 11:37 AM

    Comma in filename of submitted Library forms

    Hi, we have a form where users will enter the first and last name, and that name gets displayed as a filename in the Form Library.  I would like to have these filenames look like this:

    Formname - Smith, Joe

    Notice the comma after the last name.  Currently, when I do this, the comma is replaced with an underscore.  Is there a way to replace this with an actual comma?  I'm using this formula in my Submit Options:

    concat("Form Request - ", my:LastName, " ", my:FirstName)

    ...but I have to currently leave a space between the first and last name which is visually unappealing to me.  My kingdom for a comma!!!!

    Thanks to anyone who can help.

  • 12-07-2011 06:17 AM In reply to

    Re: Comma in filename of submitted Library forms

     I think this is default behavior in SharePoint because the form name is used as part of the URL to open the form, and you can't have a comma in a URL. One alternative is to have a promoted field/column that displays Smith,Joe, but have the link (filename + URL) happen on a field that does not have the comma. Good luck!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 12-07-2011 11:19 AM In reply to

    Re: Comma in filename of submitted Library forms

    Thanks, I will not bother with the comma.  Maybe a dot would suffice.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.