text field display last modified date PDF

Nice day

Exactly what - just need a text field that shows the last Date of modification of the PDF file.

Any javascript people who can help?

Fine thanks

Try something like:

At the level of the JavaScript document

getField("text1").value = util.printd ("dd/mm/yyyy', info. ModDate);

This will update the field 'text1' whenever the document is opened.

Tags: Acrobat

Similar Questions

  • Text field display [formatted] data date - different entry form.

    It is probubly simple but thanks for any help.  My client wants to text fields as they find tedious date drop-downs for its shape.  As a result, I formatted the field to display the date as he asked mmm / d.  Regardless of how the user inserts the date, it is displayed as well as the customer wants.

    The problem I am facing is that when I call data for the calculations it send information in the format it was entered rather then displayed.

    For example, a user can enter

    1-1 and it would show [Jan / 1] in the field, but returns a string value (1-1) with this.getField.  User can enter 01 jan, jan 1, jan - 1, 1-01, 01-01, ect. and it would all read correctly in the text formatted field.

    I wrote a simple script to convert the month in days but it won't work unless the information is returned in the same way, it is displayed.  Y at - it an easier way to convert a date text field into a variable [day of the year] regardless of how the data has been entered. (without drop downs).

    Please and thanks for any help.

    To get a date that you can use, use the util.scand method: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.1260.html

    With no information of the year, it will give the current year. You'll be able to get the day and the month as and use however desired. Note that Acrobat/Reader will not let you enter an invalid date (for example, February 30) when the field is formatted as a date, if it's not a matter of concern.

  • Text field: display

    Hi all

    Have a question about text field

    Currently, the text field parameters are:
    source: always, replacement of value that exists in session state
    Source type: database column
    Maintain Session State: per session
    Source of value or an expression: name

    My question is, when the user changes the display name (Jill Jack changes) and click Update, refreshes the page and the name text box is empty. How can I get the name put to date to display on the text field when the page is updated.

    I also tried to change the Source used to "Only when current state is zero", but it will show the old name (name: Jack) and not the updated name (name: Jill).

    For any help or suggestion is greatly appreciated
    Thank you so much everyone

    Jesh

    Jesh salvation,

    I've corrected it. I added a new PL/SQL statement, called Test to transfer values from page 3 to 1. I also added some in your javascript, which makes a doSubmit ('Test')... don't know if this part was really necessary however, but it works anyway.

    PS I look forward to oracle.apex.com:< takes="" 5mins+="" to="" load="" a="" page="" which="" aint="" great="" when="" testing="">

    Mike
    ~ Don't forget to mark this as correct post for 10 points. D xD ~

    Published by: Gerd on August 26, 2009 04:03

  • How can can add text fields in the form automatically pdf document?

    I use Adobe Acrobat X (10.1.3) installed on Windows 7 to create pdf forms. My document is very similar to a "lined paper A4 notebook.

    I want to add the text field for each row of lined notebook, so people will be able to write what they want line by line.

    As my document has 20 lines in each page, and a total of 64 pages, I won't add these fields one by one. (drawing of rectangles with precision and aligning each other, assigning separate 'field name' to ensure solid mounting.)

    Property 'Set the Multiple field' within the right - click cause misalignment during 5-6 lines statement on the other.

    You have any suggestions or work around I can receive?

    See Doc.addField. If there is a model for the positions lines on each page, then you can generate the positions in JavaScript and use Doc.addField to set the text fields.

  • Text field required from the data entered in a previous field

    Good afternoon

    I'm trying to implement a requirement such that if the data entered in A text field then the field of text B is necessary. The research on the forum I did, I think I need to use the change event. But the only entries members I've seen involve drop downs or boxes option and I don't know how to translate in to whether or not data is entered in a text field. Thanks in advance!

    Hello

    Darkness samll error you did. It must be xfa.event.newText. No xfa.eventnewText. If you see attention you missed the "dot /." between the event and newText. Try it and see what happens next.

    Thank you

    Sidonie.

  • How do I automatically populate the text field box based on data generated automatically in the drop-down list?

    I created a drop down list which includes various regions.  When a region is selected it auto-renseigne another drop-down list with places.  I would like to automatically fill a text field with predetermined phone numbers when you have selected a location in the drop-down list of "places".  I want to integrate the phone numbers in the code, since the form will not access a database.  Any help would be greatly appreciated.  Thank you, Ed.

    Hello

    Here is the link to your form. https://Acrobat.com/#d=BaCL7BKKdAcgV3JIk61nZg

    You have the updated field matches in the event changes from the 2nd menu drop-down.

    While referencing you use .page1 while your page is Page1.

    Thank you.

    Sidonie.

  • Import notes that in SOD - how to set the last-modified Date?

    We are still doing our Siebel users. We launched on-air, and therefore some users who were still using legacy systems while some worked far in Siebel. What I'm trying to do now is to take over from representatives in the old system and go to Siebel. I have the file created with the subject, external account id, note (description) and the date that the note was created in the old system. When I try to import the date cannot be set and is broken at the time of that creation of the acutal in Siebel note.

    It is a problem that I have 3 years of account history that should be loaded and if I import all of this now, it will push the notes in the system to bottom of the list who will be upset representatives began uisng Siebel in the first wave.

    My goal is simply to be ordered from oldest to newest on top, but I can't seem to find a way to do that using the tool of importation as a last modification Date is not an option for me to import.

    Is it possible to do? If not, anyone know of a work around to achieve the same goal?

    Any help is very appreciated.

    -john

    It wouldn't appear in the Notes section of the retail account. Currently, it is not possible to import the date as part of an import of Notes.

  • display a text field to a specific date?

    is it possible to view special information for example only to 06/12/2015?

    Not really. At best, you could write a few lines of code that use the function getDate() JavaScript and hidden fields on other days, but some detective can access yet - they are always there and really not returned. The only safe method to do this would use a dynamic system, which is beyond Muse.

    Mylenium

  • WebUtil client File Last Modified Date

    Hello.  Is there a function of WebUtil that I can use to get the date of the last modification of the file of a windows client-side?  I need to show the user if a file named c:\pollst.txt has been updated if I want to show the date of last modification of the file on their PC.

    Any help would be greatly appreciated.

    I think it's a feature stripped of d2kwutil to webutil.

    With d2kwutil, it was easy to get the two created and modified with the win_api_file package. Now with webutil_file you can just get file_size

    I searched this time there, but I gave up and had to lose the functionality of the migration of 6i.

    If you can not lose functionality, I think you can use one of these things in java, but you'll have to mess with another language.

    Please indicate if you find an easy way.

  • VI Last Modified Date

    Find the time / date of last modification of VI isn't so easy, if it's in a. BACHELOR'S DEGREE IN LAW.

    This is the only way I could find to do (is there a better way?):

    In "palette OpenG leader" you can get the VI "C:\Program Files (x 86) \National Instruments\LabVIEW 2014\vi.lib\Utility\libraryn.llb\Get Info.vi VI library file. This will give you the date of last modification in seconds.

  • Dynamic action in Apex - automatic text field display based on the definition of value

    Hello

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.


    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Thanks in advance!

    Hi 2932464,

    2932464 wrote:

    Please change your login username of "2932464" to something meaningful. Reference: Video tutorial how to change username available

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.

    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Hereby you mean something like this: https://apex.oracle.com/pls/apex/f?p=52380:11:129938442406997:

    If Yes, then create dynamic action as follows:

    • Create a dynamic action on the Order_number change event say. P11_ORDER_NUMBER.
    • Event-> change, Type of selection-> item (s), article (s)--> P11_ORDER_NUMBER Condition-> is not null
    • Real Action-> to run the JavaScript Code
    • JavaScript code:
      var ordernum = $('#P11_ORDER_NUMBER').val();
      var startdigit = ordernum.substr(0,1);
      if (parseInt(startdigit) === 1) {
        $('#P11_ORDER_TYPE').val('CONSUMER');
      } else if (parseInt(startdigit) === 2) {
        $('#P11_ORDER_TYPE').val('BUSINESS');
      }
    

    I hope this helps!

    Kind regards

    Kiran

  • Put the Date of last changed on PDF

    Is there a way to put the date of last change on a PDF using Javascript? I'm putting together a folder of maps in PDF format, and the only way I can think to do is to print each card with its file name and last modified date (so we can go back to the folder and delete the duplicates and the very old).

    Wonderful wire print with Document PDF file name has helped find me a way to put the file name and the current date in each pdf as a footer, but when I tried to modify the code to get the last update, I get an error.

    I have to admit that I am a newbie when it comes to Javascript, so any suggestions would be extremely useful.

    My code is as follows:

    // SetRemoveFooter 
    
    app.addSubMenu({ cName: "Footer",cUser: "Set/Remove Footer", cParent: "File", nPos: 20 }); 
    app.addMenuItem({ cName: "Set Date Time (Filename)", cParent: "Footer", cExec: "SetFooter(1)"}); 
    app.addMenuItem({ cName: " -> Set Date .... centered", cParent: "Footer", cExec: "SetFooter(2)"}); 
    app.addMenuItem({ cName: " -> Set Date .... right", cParent: "Footer", cExec: "SetFooter(3)"}); 
    app.addMenuItem({ cName: "Set Page ", cParent: "Footer", cExec: "SetFooter(4)"}); 
    app.addMenuItem({ cName: "Set Both", cParent: "Footer", cExec: "SetFooter(5)"}); 
    app.addMenuItem({ cName: "-------------------------------", cParent: "Footer",cExec: "{}"}); 
    app.addMenuItem({ cName: "Remove Both", cParent: "Footer", cExec: "RemoveFooter(5)"}); 
    app.addMenuItem({ cName: "Remove Date Time (Filename)", cParent: "Footer", cExec: "RemoveFooter(1)"}); 
    app.addMenuItem({ cName: "Remove Page", cParent: "Footer", cExec: "RemoveFooter(4)"}); 
    
    //Set/remove Footer 
    function SetFooter(ARG) 
    { 
    var FileNM = this.documentFileName
    
    var AcDate = document.lastModified
    var AcDateFormat = "yyyy/mmm/dd HH:MM" 
    
    var Box2Width = 50 
    for (var p = 0; p < this.numPages; p++) 
    { 
    var aRect = this.getPageBox("Crop",p); 
    var TotWidth = aRect[2] - aRect[0] 
    if (ARG<=3 || ARG==5) 
    {var fd = this.addField("xftDate", "text", p, [30,15, TotWidth-30-30,30]); 
    fd.value = util.printd(AcDateFormat, AcDate) + " (" + FileNM +")"; 
    fd.textSize=6; fd.readonly = true; 
    if (ARG==1){ fd.alignment="left" }; 
    if (ARG==2){ fd.alignment="center" }; 
    if (ARG==3){ fd.alignment="right" }; 
    } 
    
    if (ARG==4 || ARG==5) 
    {var bStart=(TotWidth/2)-(Box2Width/2) 
    var bEnd=((TotWidth/2)+(Box2Width/2)) 
    var fp = this.addField(String("xftPage"+p+1), "text", p, [bStart,30,bEnd,15]); 
    fp.value = "Page: " + String(p+1)+ "/" + this.numPages; 
    fp.textSize=6; fp.readonly = true; 
    fp.alignment="center"; 
    } 
    } } 
    
    
    function RemoveFooter(ARG) 
    { 
    if (ARG<=3 || ARG==5) {var x = this.removeField("xftDate");} 
    if (ARG==2 || ARG==5) {for (var p = 0; p < this.numPages; p++) 
    { 
    var x = this.removeField(String("xftPage"+p+1)); } 
    } }
    

    Everything worked perfectly until I added the line var AcDate = document.lastModified

    Is there a simple solution, or is it a much more complicated problem?

    Thank you!

    It failed because there is no such thing as document.lastModified

    Try this instead: this.info.ModDate

  • Form of PDF text field label

    Hello everyone.  I was wondering if there was a way to make a visible label in normal mode for a form of PDF text field.  I do my PDF form with a text box to fill in.  Well, I would like the name of the box appears when someone opens the PDF, not only if they go only in the view of the edit form.  I hope I'm making sense.  So far, the only thing I can think of is to do a button with the label above the text box to fill out or make the text to a drop-down list in the box area.  However, with a drop-down list box, I can not change how the text will display when it is typed in.  At the present time, although, when someone opens the PDF file, normally, the highlighted text to fill Boxing see the but not the labels with them even though I have names entered the name and ToolTip.

    Any suggestions?

    One thing you can do is set up a script to custom size for a text field that is:

    Custom format for text field script

    If (! event.value) event.value = event.target.name;

    This will display the name of the field in the field when the field is empty. The problem with this approach is that it is easily opposed using all built-in formatting that you can use (number, POSTAL code, etc.). You can always, but it takes more than script.

  • AppleScript: enter the "last modified" or other file dates

    Is it possible to enter the "last modified" a file, and then open the file and paste this date into a specific location?

    The issue is that in figures (v2 and v3) and Pages (v4 and v5).

    My hypothesis involved in the sequence above is that the date is applied to the file when it is saved, then the script would need to save the file, get the date, open the file and coller, paste to a location specified, then close the file (which would then a last modified date somewhat later than pasted.

    Kind regards

    Barry

    It is trivial to get the date of the change of a file:

    Set myFile to (Choose file)

    say application "System events" to get modification date of myFile

    Now you have a date object. Insert the data in the file, however, requires more details.

    For one, you will need to ensure that you are actually check a .numbers file. If you get that you can easily open the file:

    say application 'Numbers' to Open myFile

    where to add the data, but is another question - how do you know where you want to place the data?

  • JavaScript - fill out the text field with data entered

    Hello

    I am learning javascript and need help to put in place a script that will do the following:

    I have three text fields where users enter data. I would like to take this data and provide a summary in a 4th text field. If a field is null, it should be ignored.

    TextField1

    textfield2

    textfield3

    Summary data entered above must be posted in textfield4.

    Text1

    Text2

    Text3

    Your help would be much appreciated.

    Thank you!

    Varns

    Hello

    On the calculate event of the textfield4 put the following text (or something like that):

    var str1 = "";

    var str2 = "";

    var str3 = "";

    var str4 = "";

    If (TextField1.rawValue! = null)

    {

    str1 = TextField1.rawValue + "\u000a";

    }

    If (TextField2.rawValue! = null)

    {

    str2 = TextField2.rawValue + "\u000a";

    }

    If (TextField3.rawValue! = null)

    {

    str3 = TextField3.rawValue;

    }

    STR4 = str1, str2 + str3;

    If (str4 > "")
    {
    this.rawValue = str4;
    }
    on the other
    {
    this.rawValue = "";
    }

    You may need to adjust to your exact needs - good luck!

    Stephen

Maybe you are looking for

  • not found connection wi - fi

    went out of the city, reinstalled family all my computer, cable, satellite, internet and WIFI connections displays now any detected WiFi networks... Help

  • Pavilion g6: disabled Code Bios

    My BIOS is locked by default and I do not know the password, I have disabled BIOS code 53185940

  • the desktop icons do not work

    All the icons and even folders do not work when I click on them.  If I right click on the icon or the folder it open quickly as before. Is there an associated process that should run to facilitate icons to work?

  • to enter start mode sleep as windows opens

    PC running widows xp goes into sleep mode when windows opens, even after using the .pc SafeMode then returns to the system... high until the switched off.can pc boot process is not our association windows in safemode, last good config. can etc etc an

  • Stop: 0x0000007e (0xc0000005, 0f748e0bf, 0xf78da208, 0xf78d9f08)

    Original title: pci.sys - address f748e0bf Reloading windows xp and iam getting a blue screen. Technical information: * stop: 0x0000007e (0xc0000005, 0f748e0bf, 0xf78da208, 0xf78d9f08) PCI.sys - address f748e0bf base at f7487000, datestamp 3b7d855c I