Rename the file when submitting a form

Hi, I've to send the form in PDF format and I've got various functions to do it:
event.target.submitForm({cURL:"mailto:[email protected];[email protected]?subject=Submitt ed Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});
event.target.mailDoc(false,"", "", "", "Avaluació periode " + P1.Periode.rawValue + " de l'empleat " + P1.Empleat.rawValue , "A signar.");
but none of those let me change the name of the file that appears as attachment.
Could anybody help?
Thanks in advance
Esteve.

Hello,
I'm also interested in something similar. I've created a form and it has an email submit button, I would like to know how to be able to rename the file when the user clicks submit. I have a field name called UserID, I would like to pass that into the subject of the email. Is this possible? Any ideas? Any help would be greatly appreciated.
Thanks,
~my

Similar Messages

  • Renaming a file when submitting

    Ok, I know this has been covered here before but I am a complete noob to this program. I have created a form (URL is listed at the bottom) for our advertising team to fill out when they are putting in a new order. For convenience, I'd like for the submitted PDF file to automatically be renamed to something unique.
    Like perhaps 'CustomerName_CurrentDate.pdf'
    Customer name one of the fields on the list, as well as current date.
    Now some of the previous answers to this question involve coding, but as I said I'm a noob. I can plug code in, but I don't even know where to plug it in at.
    Here is a URL to the file:
    http://web.reporternews.com/documents/ads/FORM%20FINAL.pdf
    Thanks.

    I had figured there was a setting in LiveCycle.
    I came across this forum thread http://forums.adobe.com/thread/342133 but I for the life of me can't figure out how to even apply the solution that was given.

  • Change enctype when submitting a form

    Hi,
    Can anyone please let me know if its possible to change the enctype when submitting a form. I am trying to change the enctype to "multipart/form-data" when upload is clicked, else i want it to be the default.....
    function OnSubmitForm(myform)
    alert('document.pressed : ' + document.pressed );
    if(document.pressed == 'Upload')
    myform.enctype="multipart/form-data";
    alert('enctype: ' + myform.enctype);
    else
    alert('enctype: ' + myform.enctype);
    return true;
    }

    The JavaScript property is encoding (not enctype). The JavaScript encoding form property corresponds to the html enctype form attribute. So the code should be:
    function OnSubmitForm(myform)
    alert('document.pressed : ' + document.pressed );
    if(document.pressed == 'Upload')
    myform.encoding="multipart/form-data";
    alert('enctype: ' + myform.encoding);
    else
    alert('enctype: ' + myform.encoding);
    return true;
    }

  • Warning message when starting trial of After Effects: "Could not rename the file...in workspaces.

    I am trying to download the trial version of After Effects, and it goes through the whole download process fine. But as soon as I try to launch the application, I receive the message "After Effects warning: Could not rename the file '/Users/Rebekah/Library/Preferences/Adobe/After Effects/11.0/Workspaces.35974.1407352380644801.xml' to 'workspaces.xml'.
    What is causing this and what should I do? I've already tried uninstalling the trial and reinstalling it.
    Thanks!

    Having a similar problem as I try to use After Effects CC for the first time. "After Effects warning: Could not rename the file '/Users/timmyd/Library/Preferences/Adobe/After Effects/12.1/Workspaces.583.1407351854988961.xml' to 'Workspaces.xml'.
    When I navigate to the 12.1 folder, I see ModifiedWorkspaces and OriginalUserWorkspaces folders but no "/Workspaces.583.1407351854988961.xml".
    Then I attempted to open a project in AE CS6 (haven't use AE at all in months), I get a simliar message as the project is loading.  "After Effect error: Can't overwrite file"/Users/timmyd/Library/Preferences/Adobe After Effects 11.0-x63 Prefs". ( 3 :: 3 )
    When I click okay the project closes.

  • Previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once before. Recently that isn't happening. How do I get that feature back?

    When downloading, previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once. Now that isn't happening. How do I get that feature back?

    When downloading, previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once. Now that isn't happening. How do I get that feature back?

  • How to do search with multiple texts across documents and rename the file with found text?

    Hello:
    I'm trying to do the batch search across the multiple documents and rename the file (or save as) after the found word?
    In example:
    I have many unique texts and would want to search across the multiple documents.
    If a document is found with that unique text then, the document is either renamed or save as with that unique text. 
    So, I could know what unique text that file holds.
    How do I do that?
    Let me know.
    Thanks

    Welcome to the forum!
    When you want to post a block of code, you can enclose it with the mark ups { code }
    That is the key word code surrounded by curly brackets, but without the spaces
    You seem to be running a very old (and unsupported release of the database)
    7.3 has not been a current release for about 10 years.
    It's probably been that long since I've used this technique, but i think it should work.
    You should consider welcoming your system to the 21st century by upgrading to a supported release ;-)
    If you used split to chop up your export file, use cat or dd to reassemble it.
    So, something like this:
    mknod bk.dmp p
    cat xaa xab xac xad xae xaf xag xah xai > bk.dmp &
    imp SYSTEM/$PASSWD parfile=imp_bk.parfile
    rm bk.dmp
    $ cat imp_bk.parfile
    file=bk.dmp
    log=imp.log
    full=y
    buffer=1048576
    ignore=y
    commit=y let us know if still have problems.
    Good Luck!

  • HT3775 I have a bunch of .MOD files I cannot play from our Canon video cam. I tried renaming the files as MPEG or MOV, I get the message "The document "001.MPEG" could not be opened. A required codec isn't available." Any advice on getting these to play?

    I have a slew of .MOD files I cannot play from our Canon video cam. I tried renaming the files as MPEG or MOV, I get the message "The document “001.MPEG” could not be opened. A required codec isn't available." Any advice on getting these to play? Thanks!

    Try installing Perian or VLC. Some AVIs require a codec which simply isn't available for Mac OS X.
    (85018)

  • How do I import old FCP projects that have mysteriously changed to Linux Executable files?  Is it as simple as renaming the files with the.fcp extension?

    I had some FCP projects on an old G3 tower that I finally want to finish. I was able to grab everything, media, etc. to my macbook pro but all of the Final Cut Pro actual movies/projects have turned into "linux executable files" that FCP X won't import.
    I tried googling this issue but didn't really see any good answers. Would it be as simple as renaming the files with the .fcp extension?  I can't recall if my old version (really old) of FCP saves projects as .mov or .fcp files, but I'm assuming I'm not the only person this has happened to.
    Thanks for your help!

    I had some FCP projects on an old G3 tower that I finally want to finish.
    What version of FCP was this? The project files can probably no longer be opened in the newer version of the OS. You could try adding the .fcp suffix, but I don't think it will help for this. Projects files are .fcp.
    Regardless of the version, no legacy FCP projects will import into FCPX.
    Media is a different matter. These are probably QuickTime .mov files. If these are appearing as Unix ececutables, they're probably not recoverable either.

  • I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

  • Adobe photoshop CS6.Receiving the error "could not complete your request because it is not a valid photoshop document? Tried renaming the files and had working psd files and now all psd files will not open and getting the error listed. Anyone help please?

    Could not complete your request because it is not a valid photoshop document. Tried renaming the file extensions and still no luck.

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

  • Rename the file in application server

    Hi Experts,
    I want to rename the file which is in Application Server.
    E.g:- Current File in Application Server is '\user\sd\file1'
            I want to change the above file name to '\user\sd\file1_old' in Application Server.
    Please help me if any one aware of this.
    Thanks & Regards,
    Chandu

    Hello,
    What you want to do is execute a command on the host operating system.
    This can be done with function module SXPG_COMMAND_EXECUTE.
    This module will execute commands that have been predefined in SAP. To see what is available look in SM49.
    If you have the autorizations you can create your own or ask for it to be created.
    More general information can be found [here|http://wiki.sdn.sap.com/wiki/display/ABAP/CreationofExternalCommandswiththehelpofUNIXCodingin+SAP].
    Hope this is helpful.

  • Where is the file when you export from share to you tube?

    1. where is the file when you export (share) to you tube?
    I want to use the moivie again in another movie or DVD menu or just to save it etc. I cant't find the location after uploading to you tube.
    The only way to this can not be "export to media" or devices and from there to you tube?
    2. Does it make any differances for the quality on you tube wich way you choise?
    thanks, bruce

    Yes, i found it there. In fact; a logic place...
    The second q. means the way you load upo; dirtectly from the menu share to you tube of first make a QT and from there to the sky.
    I quess there must be no differance but you never know...
    Thanks again.

  • I get about 1 minute silence at the beginning of the file when I bounce it.

    I get about 1 minute silence at the beginning of the file when I bounce it.

    Does this overwrite the music you have recorded? Or does it just insert 1 minute of silence and then play everything starting at measure 1?
    Before you go to bounce the file 1) make sure the cycle is turned off in the transport window and 2) make sure no regions are selected.  When you go to bounce it, check what the start and end times are.
    Make sure the start time is 1-1-1-1.
    Hope this helps!

  • Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it

    Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it

    Hi ! do you mean the file /etc/resolv.conf ? This file should be by default in the /etc/ diretory and contains the dns-name resolutions. http://linux.die.net/man/5/resolv.conf http://www.tldp.org/LDP/nag/node84.html http://en.wikipedia.org/wiki/Resolv.conf

  • Rename the file names

    Hello OTN Help,
    I need to modify my old existing question.
    Reason is as follow:
    One of my question I entered some thing which is not appropriate for my company policy and they want from me to rename the file names.
    Please advice me what should I do?
    thanks

    Are you talking about changing the question that you have entered on OTN? If so, I guess you will need to contact Oracle support and have them to request OTN admin to do so ... good luck.
    -Frances

Maybe you are looking for