Request a new file name on the first record

I have created a form with 15 pages. The user might want to fill the form multiple times with different content. So I'm looking for a solution where the user is asked to give a new name when he or she registers the PDF for the first time. If the original form of the void is still available for the next case.

In Word , I would create a model, so a document created after this model has no name unless the user specifies one. That is when the user clicks the record button for the first time as he or she gets a save as dialog box.

In Adobe, I have not found a similar thing. I tried to add a preSave event to the user asking if he or she wants to give a new name, but then the user will be asked each time to give a name, not just the first time. Maybe I could check the name of the file, but I wonder if there is a simpler solution.

Any help is greatly appreciated.

Why don you keep a record of control in a hidden text field?

I modified your code a bit. (see the red lines)

If it still does not, posting your form on this forum to have a peek.

Nith

---------------------------------------------------

ServiceProcurementNotice::docReady - (JavaScript, client)

var

myDoc = event.target;

Var colors = true;

Try

{

var userSave;

If (saveFlag)

{

userSave = xfa.host.messageBox ("do you want to save changes to" + myDoc.documentFileName, "Save", 2, 3);

}

If (userSave is 3)

{

app.execMenuItem ("SaveAs");

Colors = false;

txtHiddenSaveFlag.rawValue = "false";       If you want to keep this info even after closing the form

}

on the other

{

}

}

catch

(err) {app.alert ("Exception to save:" + err) ;}}

If (userSave is 3)

{

app.execMenuItem ("SaveAs");

Colors = false;

txtHiddenSaveFlag.rawValue = "false";       If you want to keep this info even after closing the form

}

on the other

{

}

}

catch

(err) {app.alert ("Exception to save:" + err) ;}}

If (userSave is 3)

{

app.execMenuItem ("SaveAs");

Colors = false;

txtHiddenSaveFlag.rawValue = "false";       If you want to keep this info even after closing the form

}

on the other

{

}

}

catch

(err) {app.alert ("Exception to save:" + err) ;}}

Tags: Adobe LiveCycle

Similar Questions

  • adding multiple files *.csv while retaining the original file name in the first column

    Hi guys Cela made some time.

    I am trying to add several *.csv files while retaining the original file name in the first column, the real data set is about 40 cases.

    file a.csv contains:
    1, line an a.csv
    2, line 2 in a.csv

    file b.csv contains:
    1, line a b.csv
    2, line 2 in b.csv

    result output.csv is:

    I would like this:
    a.csv, 1, the line in a.csv
    a.csv, 2, line 2 in a.csv
    b.csv, 1, the line in b.csv
    b.csv, 2, line 2 in b.csv

    Any suggestions to speed up my hobbling attempts would be aprieciated

    Thank you

    -SS

    What you could do is given in attachment.

    Started with 2 files:

    a.csv

    copy of a.csv

    Both with data:

  • How to get the id or the name of the first record

    Hello world



    I created a custom menu and I just want to know how I disabled it a buton when I navigate to the first record... I use: system.last_record for the last record; but I can't find that build all ins forms (6i) for my problem...

    THX,

    IF: System.Cursor_Record = '1'

  • File Express dialog box won't let me enter the new file name

    I try to use the writing of XML file.vi to write a file which may be an existing file, but it may be new.  I would like to than the default to provide so that the user can simply click OK.  I would also like to provide my own text to the top of the window.

    Writing to an XML file is not enough entries to do so I thought I'd use the Express VI from file dialog box to do this.  I provide the startup path and the default name etc.  But when I run my VI and type a new file name a window pops up saying: (new name of file) file not found.  Please check that the correct file name was given.  Ok.

    I don't see any way around that.

    Any help much appreciated.

    You must configure the express vi to allow selection of new files

  • Present with the new file name

    Using Acrobat XI, is there a way to generate scripts an Acrobat PDF so the file name form could be saved by using the information in the form. For example, if the form contains fields for the name, student identification number, is there a way to create a button SENT when the user clicks on creates a PDF with their ID number name or student as file name?

    Only if a script is installed on each user's local machine. Otherwise,.

    the best you can do is to "offer" their what file name to use when recording

    the file.

  • File name of the Image displayed in PSE 8 does not match the file path name in Windows 7

    I recently got a new computer. I've updated on my computer Windows XP of PSE 5.0 to 8.0 PSE.  Then, I moved my files to the new computer that is running Windows 7, following the instructions that I have received on a previous post.  I copied the catalog file and the image files on the C drive of the old computer to the new computer (file catalog to the specified location in the information system;  images of my images).   Everything seems to have worked beautifully without having to go through a great struggle to reconnect.  The organzer seems to have found all of the images and I can put them in the editor as well.  However, when I look at the properties of a given image displayed full file name is that it was on XP: C:\Documents and Settings\ < username > \My Documents\My Pictures\ < folder name >-< Filename > rather than the path as it is in Windows 7, i.e. C:\Users\ < username > \My Pictures\ < file name >-< Filename >.  I am new to Windows 7 then maybe miss me something unique to Windows 7 but I'd like information.

    You are using the alias of the special folder that Vista and Windows 7 create to maintain backward compatibility (Microsoft continues to change how and where are stored the documents of users).   On Windows 7:

    C:\Documents and Settings\\My Documents\My photos

    is a special type of alias in the file:

    C:\Users\\Pictures

    (AndC:\Users \My Pictures is yet another kind of Windows 7 special alias, a 'library', which includes the folder C:\Users\Pictures.)

    Whenever an application like PES refers to the old location, C:\Documents and Settings\\My Documents\My photos, Windows that automatically converts backstage in C:\Users\\Pictures.   But Windows Explorer is configured to prevent you to access C:\Documents and Settings\ interactively - only programs like PES are able to do.  Microsoft wants users of Windows Explorer to always use the name of 'new', C:\Users\\Pictures.

    In your case, your catalog contained the old paths of XP folder, and Windows is automatically translate on the fly for new paths, unbeknownst to PSE.

    Like most of the backward compatibility hacks, this does not work perfectly.  PSE believe that the old road and new road are two completely different cases.  I'm not positive, but I think that there are opportunities for PSE to get confused by that.   When you import new pictures, they get recorded in the Catalog under the new folder paths.

    In my previous recommendation about how to move to the new computer, I had assumed you would probably change user names and locations of photo and so you would have to make a reconnection, and you would not have met it.  If I thought that you were not have need to reconnect, I would have recommended not not using this method, but rather using Backup/Restore (my first recommended method) - my bad.

    It would be nice if your current catalog and the PES works pretty well.   But there is at least a small risk that the road of PSE will get confused by old and new folder names.  The best way to avoid this would be to start again and use the backup/restore method to move your catalogue, which is more effort on your part.  But because I do not understand the risk, I can't tell you if you should be worried about it.   No doubt do tests: editing, import and edition of new photos, use view > view of the location of the folder, try to rename and move the old photos and the new folders, try the Photo Downloader, etc.

  • How to change a file name in the Photos? (no title)

    I know how to change the title of a photo in the Photos.  But I do not see how you change a file name.  Can anyone help?

    Photos will not change an imported file.  The original master image file is preserved. You can't even change the file name.

    To change the name of the file, export the Photos photo: file > export, and then specify a different file name in the export Panel.

    Re-import the renamed picture, then delete the first version you imported.

  • When I have videos on my calendar, they do not play in the screen of the monitor. I hear the audio but can't see the image. To test if my new files are somehow the problem, I went back and used video files that I have used successfully a year ago and th

    When I have videos on my calendar, they do not play in the screen of the monitor. I hear the audio but can't see the image. To test if my new files are somehow the problem, I went back and used video files that I have used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but don't see any video. Have I changed it some setting that controls video playback in the monitor window?

    Randy Ruttger

    Thanks for the follow-up.

    Missing in this equation are the Premiere Elements version you were using and the operating system on which it is running. But...

    The Act is accomplished. But... Up to now, and after that you went ahead and moved to version 12, we now learn what Premiere Elements version you were using. We don't yet know the operating system involved.

    You said first Elements 10. First 10 Elements is affected by a problem serious display known if the computer uses an NVIDIA GeForce video/graphics card card. In this issue, the only cure is to roll back the version of the driver about may 2013. The description of the problem and how to make the rear roller are described in one of the messages at the top of this forum. What video/graphics card your computer use?

    On another front, Adobe will release a new version of Premiere Elements any day now. Not one, but Adobe knows the function defined for the new version. This type of information is announced at the time of the release of the new version.

    So the solution to the problem you presented in this thread could have been...

    1 roll back the version of the NVIDIA GeForce driver for all may 2013 if possible (Windows 8 or 8.1 64 bit, maybe not possible)

    2. move to a different version of Premiere Elements (which you did)

    I offer the foregoing for consideration so that you can review your decisions. We are pleased to learn that the first items 12/12.1 works for you.

    Please do not hesitate to ask questions and seek clarification, but do not forget that the answers are in the details.

    Best wishes

    RTA

  • How to get the file name of the current active document in InDesign CS4?

    Hello

    If I open a document in the file-> open, I can get the file name of the document using IOpenedFileInfo-> GetOpenedFilePath().

    But, if I create a new document and run the file-> save as, GetOpenedFilePath is invalid back reference IdFichier.

    What is the right way to get the file name of the active document?

    Thank you

    VSP

    You can try this:

    IDatabse * db =: GetDatabase (theDoc);

    IdFichier * SYSIXCOL = db-> GetSysFile();

    PMString docName is SYSIXCOL-> GetFileName();.

    Good luck

  • Adding file name of the Document to stamp Script

    Hello

    I have the following script went into the properties of "custom calculation script" a custom stamp.

    Event.source.source.documentFileName = Event.Value;

    This script works very well and the place of the file name of the document on the stamp.

    for example the document is called 6781202 Rev establishing and this appears on the stamp in the document.

    However the revision and the file extension should not be on the stamp

    Can anyone help to modify the script to place the first part of the name of the file only on the stamp

    for example the modified script to display the file name of the document as 6781202.

    This script should be used on multiple files and any help would be most appreciated.

    Thank you very much.

    Replace
    Event.source.source.documentFileName = Event.Value;
    with
    firstWord = event.source.source.documentFileName.split("");
    FirstWord = Event.Value [0];

  • Is there a change in FF8 for file names in the format UTF-8 sent as an attachment

    I send files with non-ASCII characters in their file names in the browser.

    I use the Content-Disposition: attachment; the file name * = "utf - 8" myfilename. "

    It worked well for FF7 and lower grades.

    In FF8, the file name is ignored (Linux and Windows).

    Is this a bug? Is there a better way to solve this problem?

    A good place to ask for advice on web development is the forum mozillaZine evangelism/Web development Standards.

    Aid to this forum are better informed on issues related to web development.

    You must register on mozillaZine forum site to post in this forum.

    See http://forums.mozillazine.org/viewforum.php?f=25

  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • adding new files or remove the old Windows Media Player files. (Vista)

    Since June 2010, I was not able to add new files or remove the old Windows Media Player files.  I can click on a new file and play using WMP or add to a playlist that is currently playing, but it does not recognize that it was added after as I close the program and re-open it.  Or I can delete the files that no longer exist on my computer but WMP always has them as my files.  When I click on add new media, it recognizes the right amount of files I would be adding, says to add them and then nothing is there.

    Your media library has probably been corrupted. To reset, follow the instructions for WMP 11 Vista at http://zachd.com/pss/pss.html#medialibrary . Note the reset of the library will make you lose all the counts to play and possibly ratings too. Tim Baets
    http://www.BM-productions.TK

  • Can I change the file name of the .bar file

    Hello

    I built an application in Release for device mode.  He prodcued a filenamed bb10app.bar. Is it possible to change the file name to tell xyz.bar after it is built.  It is an application internal meaing only avaiable to our staff.  If I do not file name change how will I know what app it is. Given that bb10app.bar seems to be a default file for any application name.

    Thank you

    Joe

    Yes, you can change the file name of the file BAR, just keep the .bar extension and you shouldn't have any problems.

  • BlackBerry Z10 how to display the file names of the images?

    I bought an App to recognize the flowers. My blackberry shows photos, but not the names of the plants. That's why I need to see the file names of the images. How do I handle this, STI is possible?

    Use the file manager with your device application.

Maybe you are looking for

  • The page is not redirecting properly

    I've been on Dailymotion watch Doctor Who classic. I went to click on the next part of the episode and the page shows "page isn't redirecting properly..» I've deleted all my cookies, allowed for cookies to be accepted from dailymotion, but none of th

  • Pavilion 17 e - 040us Latop - Question relative to the Question previous publication

    Hi, just want to know why nobody responded to my post of the 'fan runs constantly? I found on page 7 or 8 and sent upstairs.  If I posted it in the wrong Board, please let me know.

  • Waveform invalid property value table

    I use LV7.0 and you have a problem with access to an array of waveform using a property node.  I have a number of nodes of property for the same waveform graph, which I address at the "same time".  I use a reference to the chart in knots of generic p

  • Windows Update crashed my laptop and after a new facility could not activate

    Hi after a windows update crashed my pc I did a clean install and tried to activate once again (the first installation was adopted by w.g.a and I got the essentials pack to) no joy forced then to a person who says my product key is a license key for

  • Session UDP Anyconnect VPN.

    My first time using this service, please be gentle. I have installed recently an anyconnect vpn for a specific application.  My question, if I use the command "see the conn." VPN01 # sh conn | I have 172.18.7.36 UDP outside 172.18.7.36:1123 DMZ_ADM 1