• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

renaming a file on a form that is submitted by a user automatically

You are not authorized to post a reply.
Sort:


Basic Member


Posts:43
Basic Member

    We are using a web form and we are asking users to submit a file and also submit their name on a field.

    Our HR have a problem in that end users are not naming the file as we would wish.
    We would therefore like to automatically append the users name (which is submitted on the form) on to the actual file they submit.

    Is it possible to do this somehow?

    if not within DNN - how about within the database? I wonder if it's possible to grab their name wihtin the database and append their name to the filename and store in another table/field? (although the latter solution might be better posted on a SQL forum, but just wondered if anyone knew if it was feasible?)

    thanks.

     



    Veteran Member


    Posts:577
    Veteran Member

      Sure this can be done. See https://stackoverflow.com/questions...l-and-save for example...

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect
      You are not authorized to post a reply.

      These Forums are dedicated to discussion of DNN Platform.

      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

      1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
      2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
      3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
      4. No Flaming or Trolling.
      5. No Profanity, Racism, or Prejudice.
      6. Site Moderators have the final word on approving / removing a thread or post or comment.
      7. English language posting only, please.

      Would you like to help us?

      Awesome! Simply post in the forums using the link below and we'll get you started.

      Get Involved