Submitted PDF file renamed on submission.

Hi all,
I've created a form through designer which is used with our Companys IT Helpdesk system. In the form I have used a regular button with a click event to submit the form through either Adobe Reader or Pro.
The filename is Company New Starter Application Form.pdf
The problem i have is that when the form is submitted, for example with Acrobat Pro the filename is changed to
Company New Starter Application Form.pdf - Adobe Acrobat Pro.pdf
This renaming of the file is subsequently causing problems with our helpdesk system where it is stripping out the PDF file likely due to the unconventional renaming of the file.
Below is the script from this click event:
if (form1.execValidate()) {
var oDoc = event.target;
xfa.host.messageBox("Thank you for completing the New Joiner form. Please check that all ADDITIONAL FORMS have been completed and submitted where requested. This submission will now be sent to IT Security. Please note, due to Outlook security precautions, you may be required to click on 'Send' when the email is generated. For your records a copy of this request will be stored in your Outlook Sent Items.", "SUBMISSION NOTICE", 3);
oDoc.mailDoc({
bUI: false,
cTo: "*********@******.co.uk",
cSubject: "Aspen New Joiner: " + Page1.firstname.rawValue + " " + Page1.lastname.rawValue + " (Starting: " + Page1.StartDate.rawValue + ")",
cMsg: "Please find attached the completed New Joiner form for " + Page1.firstname.rawValue + " " + Page1.lastname.rawValue,
else
SetFocusOnFirstFailedField.DoSetFocusOnFirstFailedField(form1);
I tried adding  event.target.dirty = false; to the beginning of the script which worked as in it prevented the file from being renamed, however it subsequently stripped out all entered onto the form once submitted.
Any help would be great. Am I doing something wrong??
Thanks.

Hi,
you can try to put the code snippet event.target.dirty = false; into another event or a separate function you call before you execute your email script.
I noticed that the the form data won't be submitted if snippet is used within another script, but if it is executed separately before.

Similar Messages

  • .pdf file renaming when emailing using regular button

    Acrobate 8.0
    I have created a form which is to be emailed in .pdf form and then submitted using a regular button set to mailto (#58 posting).
    My problem is that when emailed the form takes on the original file name and I would like to have it take on a new name. The name can be in any naming convection.
    Any help is appreciated!

    You can create a Print Plugin Automator workflow that applies the Quartz filter to reduce the file size.
    When Automator opens, choose the Print Plugin option, add Apply Quartz Filter to PDF files, and then add a Move Finder items, Open Finder Items. Save the workflow and it will appear in the PDF menu.
    If you don't add the Move or Open action, you won't see the file. It creates a temp file that you must save. Somewhere on the Leopard Automator forums I have a post that has an Applescript to save the file.
    The Move action works well when you want to save the file in a standard location. You can change the Options on the Move Action to show when it runs so that you can pick the destination.
    If you use the Open action, you can then save as from the menu to save as you wish.
    I tested it with a word doc and cut an 11.8 MB file down to 303KB.

  • Submitting PDF files by e-mail

    I am using Adobe Designer 7.0 with Windows XP and am having trouble with a "Button" function. It is set to "Submit" in the Control Type, Submit Format is PDF, and I have the Submit to URL as "mailto:[email protected]". When I try to use this function in Reader 7.0 a popup comes up that says "This operation is not permitted". Any suggestions on getting this to work?

    Reader does not support submitting form as PDF format. You can only submit as XML or post the data via URL HTTP.

  • Error accessing PDF files from Java

    In CF7, I have a routine that opens submitted PDF files
    through Java to do some manipulation. Similar to CF8 PDF
    manipulation, but more complex. In almost all cases, it works fine,
    except two.
    For one, a submitted PDF was corrupted somehow -- I can't
    even open it with Acrobat. On the line:
    "reader=pdfReader.init(pdfFile);" this returns the error below.
    This is expected. But with a couple other PDF's, that do open fine
    in Acrobat, I get the same error. I even re-saved the PDF file to
    different versions of Acrobat, but java still complains. Any ideas
    what causes this, or what to do to prevent it?
    Does anyone know if CF8 java processing does anything
    different here that would prevent problems like this?
    reader=pdfReader.init(pdfFile);
    An exception occurred when instantiating a java object. The
    cause of this exception was that: .
    From the stack trace:
    java.lang.reflect.InvocationTargetException
    at
    sun.reflect.GeneratedConstructorAccessor48126.newInstance(Unknown
    Source)

    It does always happen after having successfully done others,
    as these are in a list of about a dozen that it processes at a
    time... but it is always consistent - it does all the others fine,
    and then always breaks on these particular PDF files, time after
    time, day after day. So it's not a random thing that comes and
    goes.
    The 3rd party tool is the one that's "built-in" to CF,
    com.lowagie.text.pdf.PdfReader. This is all on a shared host, and
    so I wouldn't have access to installing alternatives.

  • Combining PDF files into one document?

    I am working on my MS thesis and need to combine two documents into one PDF file for electronic submission.  The two files are formatted with software that compiles the reference page and if combined in word will reformat the reference pages into one (I need them to be separate).  Once I save the documents as PDF's is there a way to combine them at that time.  This would be ideal.  Thank you

    Hi,
    To add page number you can use Adobe Acrobat XI Pro that can be downloaded from www.adobe.com for Trial version.
    How to add page numbers in PDF files:
    1. Open your PDF file in Acrobat
    2. Select "Tools" from right panel
    3. Select "Pages" tab
    4. Select "Header & Footter" then click "Header & Footer"
    5. Click "Insert Page Number"
    Hisami

  • Rename PDF file upon submission

    Is there a way to append the senders name or an instance name to the PDF filename upon email submission?
    Right now, I haven't figured out how to flatten the form upon submission so I'm going to post the form online as it is... The recipient will receive the form (not the static PDF I eventually want) with the same name every time & have to remember to rename it uniquely each time it is received... I don't really want to have to make them do that just in case they forget & it overwrites an existing file...
    Any assistance on how to call the Output.transformPDF would be helpful as well. Not sure how to code it...

    you can use setDocAttribute(document,"wsfilename","newFileName") function to rename the pdf,
    for your other issue you can use the workflow to create a simple process which transforms the PDF, if you need any help on that email me
    [email protected], will be more than happy to help you out

  • How do I rename my PDF file in the "new" DC mobile app.

    What a mess. Adobe decided to push the new "DC" on my tablet. Now there is no document tab, all my PDF files are gone or in-accessible, and I can find no option to rename new downloaded PDF files. Complete revamp really was a good idea, right? Just when I getting used to working around the KitKat 4.4 SD card issue, now this. I'm going back to paper and pencils!!!  This is so incredibly PRODUCTIVE, learning a whole new buggy interface after so many years of getting comfortable with "Reader".... I don't need or want the cloud, I just want to work with my documents on my tablet - THEN, let me decide what I want to do with them. Sorry, I am just so frustrated with having to completely RE-LEARN how to do something so basic every time some software gets "improved", or "updated".

    Could you try if this video helps: https://www.youtube.com/watch?v=fTrTPR9LEq8.
    Also, for renaming the document, you would need to use a third party file manager such as AndExplorer or ES File Manager.
    Thanks.

  • Can´t open, rename, copy or delete PDF file

    I have got a problem opening, renaming, moving, copying and even deleting a PDF file with a very long file name. It does not upload either, so I cannot send it to Adobe via the Support form.
    I have now downloaded a PDF repair application, but I get the following error: "The above file name is invalid". It seems the file is corrupted or damaged. I only managed to open it once, after which it stopped working.
    My OS is XP. I use Adobe Reader to open PDF files.
    Can someone tell me how to deal with this file? Thanks.

    You do not need Reader to change the name of a file. If you cannot change the name of a file in Windows XP, then you have major problems that have nothing to do with Reader. You have at a minimum file directory damage, you could have a virus. Reboot your computer, with no applications open try to change the name of the file using Windows' Explorer app.

  • Help renaming pdf files based on internal content

    I work for a company that has thousands of E-tickets coming in daily, weekly, monthly, etc..
    These tickets come in bafhakfbaifh.pdf and we have to manually rename them or print them all out and then sort through them and put them in order.
    What I would like to do is:
    1. Split any pdf's that have more than one page or "ticket" in my case. I know how to do this with automator easily, but I'd love to keep it all in one program.
    2. Search the file for Event Name (i.e. Madonna)
    3. Search the file for Date of event (August 12, 2012)
    4. Search the file for Section, Row, Seat (124 3 12)
    5. Rename the file based on content found (Madonna August 12 2012 124 3 12.pdf)
    6. Move from original download folder to organized folders based on artist/team.
    7. Automatically print in alphabetical or some sort of designated order.
    Any help is muchly appreciated. So far, I found a PC program called A-PDF rename, but it is not automated enough to be practical. Hazel is awesome at OCRing the pdf and moving from folder to folder, but does not do enough.
    Any help is muchly appreciated.
    Thank you.

    You're looking for a PDF Parser or PDF miner tool (PDFminer) as a starting framework, and you'll almost certainly be writing custom code around that as parsing a text file that's effectively free-form and originating from multiple different sources almost always (always?) involves writing customized processing code and an on-going series of tweaks as the suppliers of the PDF change their ticket formats.  (Even apparently-simple details such as the time and date formats, for instance, can vary by geography and language and by supplier, and can derail common processing.)
    In some cases that I can envision, it'd be entirely possible that the data you're after is actually located in an embedded image and not in text that can be parsed.
    The best approach is to get folks to send you JSON or XML or some other format intended for interchange, and avoid the whole mess that is parsing or mining a printer-oriented format.
    The other obvious option is to use something like Amazon's Mechanical Turk or some other explicitly outsourced help.  Depending on how often the formats change and how many of these PDF files you're dealing with and how varied the formats are, sometimes throwing staff at the problem can be the most cost-effective approach.

  • Can I rename a PDF file based on the metadata? (prefer a bulk rename)

    I had to do a file recovery on a hard drive with a program called TestDisk. It recovered 30GB+ of files but it recovered data by ignoring the partition/partition table. Because of this it uses its own naming structure during the recovery. The names of the files are f_______.XXX. I noticed that when I hover over the PDF files it actually displayed the original file name. I looked in the file proerties and noticed the PDF tab which contained this. Does anyone know if I can rename the file(s) using this data. The summary tab on the file properties is blank but the file name is located under this PDF tab (I didn't even know this existed). I don't know what I'm going to do with the rest of the files but being able to bulk rename 8GB of PDFs would be great!  :-)
    Thanks,
    Sundiata

    ok I'm not into programming and not familiar with Javascript. Does anyone know any websites to maybe assist me with making this batch file or at least provide enough basic Javascript info to get me started and I may be able to figure this out. Or is this Javascript something that is auto. something created during the renaming process creation?
    Thank

  • Renaming Multiple pdf files

    I have NUMEROUS pdf files that are Transcripts.  The company sent them to me with 0000.lastname.firstname.dob.pdf  The 0000 is for non-graduates and there are Transcripts from 1926-1976.  Basically, what I would like to do is delete the first
    five characters and have the file be lastname.firstname.dob.pdf
    Can anyone help me???
    THANK YOU!!

    This should work:
    Get-ChildItem c:\path\to\files\*.* -include *.pdf | foreach {
    Rename-Item $_.fullname "$($_.DirectoryName)\$(($_.Name.split(".",2))[1])"
    This is with Powershell...
    I hope this post has helped!

  • Renaming a PDF file.

    In Adobe Reader X...when I rename a pdf file that is on my desktop, and upload it to a report it appears on the report with the previous name.  I want it to appear as I have renamed it.  Please help!

    Yes thank you......It is a real estate 4 page document that I need and have uploaded into my real estate listing, and that I have scanned from the file option to save on my desktop in pdf file. I then rename it by removing the last 5 zeros and pdf from the name I have previously  chosen in the printer Control Center 3. When I rename the file on my desk top it looks OK,  Then I go into the MLS real estate website and upload it after I locate it on my desktop.  It uploads fine and shows the filename at the left of the doc which is OK except the 5 zeros and pdf are there again.   I named the file ...12 Gardenville-pcd pdf.  and want it to appear that way after uploading, but it apears as 12 Gardenville-pcd pdf 00000 pdf. the way it came from the printer to desktop and before I renamed it.
    Sorry I couldn't reply sooner  Also yesterday a gentleman from Adobe Paid tech support (though I didn't have to pay) was able to take care of this problem, and I was able to successfully upload  a renamed doc, but when after I tried  to accomplish it on my own I was not able to succeed in doing so.
    Thanks,
    Joebif.

  • I receive an error message when submitting a pdf file for conversion to a Word document "... an unex

    I receive an error message when submitting a pdf file for conversion to a Word document "... an unexpected error has occurred..."   - is there a way to overcome this error?

    I received your Scan.pdf sent to [email protected] and had no problem to convert it via Export PDF service. Could you try again?
    Jyh-Jiun Liou

  • Rename PDF file attachment

    Is it possible to submit a form via email as a whole PDF but rename the PDF attachment in the process? I am using Acrobat X. I would like to set the PDF file name attachment to the value of a form field.

    Yes, I have access but the local machine of every user is a mobile device (specifically an iPad). So I don't think that's possible. So this cannot be done via JavaScript when a button is pressed before the submit operation takes place? The iPad app does allow the execution of JavaScript in the PDF.
    --- NEW CODE GOES HERE TO RENAME THE PDF ---
    this.submitForm({
        cURL:strMailTo,
        aFields: aSubmitFields,
        cSubmitAs: "PDF"

  • Can you rename pdf files in ibooks?

    I download many PDF files onto my iPad to read using iBooks.  But the PDF files are stored on the iPad with non-meaningful names (like QL-BHZfG9dl).  Is there any way to rename these things so that I know (without opening them) what the files are??

    wozwoz wrote:
    If Apple want to have
    You can tell them your views on that via
    http://www.apple.com/feedback

Maybe you are looking for

  • DVD is shaking inside drive

    Hi Guys and Girls, I tried playing a DVD today and whenever I moved the Macbook, even the tiniest knock, you could hear the DVD bashing around inside the drive. Seems really wierd and I have never heard it before! Then it came up saying 'skipping ove

  • My macbook pro retina just crashed

    my macbook pro retina just crashed and i had to use safe boot to report this, please i want to know what the message that came with it meant, and if something is wrong inside .. Anonymous UUID:       4EBB583B-4640-14A1-3D94-B292D0C34D7B Fri Jan 24 13

  • Disgusted! HP's Vendor ARVATO - Windows 7 Upgrade

    I purchased my laptop August 28th *because* of HP's offer to upgrade; it's why I didn't wait on buying a laptop. Well, I registered with HP's vendor Arvato, who is coordinating the processing for proof of purchase, etc, to determine eligibility. It's

  • Audio and Licensing Problems

       I recorded a clip 1 hr and 50 min long using Sony PMW-EX1 in SD to On Location, exported the file in m2t format to external hard drive, then imported to Pre Pro CS3 on my editing computer.  I loaded the clip into time line to begin editing and the

  • Can ExportPDF convert to Word 6?

    I'd like to be able to convert .PDFs to Word 6.  Will Adobe ExportPDF do that?  As an alternative, would .PDFs converted to .RTF be editable in Word 6?