Auto populate today's date in an InDesign document

I have an InDesign document that I used frequently that when opened automatically add today's date to a field. I did not create this document, but would like to be able to set up other documents like it

Can you tell me how your JavaScript is different than teh one GKaiseril provided:
You can add a document level JavaScript function:
function UpdateDate(cFormat) {
return util.printd(cFormat, new Date());
return true;
} // end UpdateDate function
//call the UpdateDate funciton and populate the form field
this.getField('NowDate').value = UpdateDate('mmmm d, yyyy');
this.getField('NowDate').defaultValue = UpdateDate('mmmm d, yyyy');
Thanks again.

Similar Messages

  • Date Picker Icon ideas - one click to populate today's date

    Hey everyone
    I've searched the forum, and did not find any threads related to these ideas. Hopefully, I'll be able to explain. Currently, in order to populate date, one has to click on the date picker, and then click on the number.
    Idea number one: how to make the entire square corresponding to the date clickable? One has to align cursor EXACTLY on the number. I don't see why the entire area couldn't be "live."
    Idea number two: Is there a way to modify the date picker so that it has an arrow, or some designated target area which would IMMEDIATELY populate today's date, without having to launch the calendar itself. I review number of records daily and "sign off" on them by entering date reviewed. It sure would be handy to have this feature.
    Thanks in advance for any suggestions.
    Vojin

    Leo:
    that's not a bad idea - and we've implemented default value for a date on other pages/locations. However, this page is used by other staff, whom update many other items on the page. If we set that date as a default for today, anytime someone commits a page, the date column would be erroneously populated, as if I've already reviewed it.
    Vojin

  • How to Auto-Populate a User Data Picker?

    I understand how User Data Pickers work (mostly).  We have used them during the shell creation process to allow the creator to specify which users may access the shell and in what user groups they will be placed.  This works fine— as the shell is created, these users are added and assigned to their respective groups.
    From the documentation, User Data Pickers are supposed to support auto-population, but the system does not allow me to select a suitable source from which to pull.  For example, the shell attribute form contains a User Data Picker that contains the name of the PM that was assigned to the shell.  Say I have a BP in that shell on which I want the PM’s name to appear.  I’m thinking I would place a User Data Picker on the BP and auto-populate that field from the shell attribute user data picker, but uDesigner doesn’t allow the attribute form as source as it does for other DE types.  This is important as this field, the PM’s name, must be located on the BP if I’m to use it in a LiveCycle report.
    Short of having the user select the name again within the BP, how do I pass the names of shell members that were selected during shell creation using User Data Pickers?
    Thanks.

    That works!  Thanks Rich for clarifying your above posts with the screenshots. 
    Rich’s solution as it worked for me:
    1.  Add a User Data Picker to the shell attribute form.
    2.  Add a DE of DD SYS Medium Name to the shell attribute form.  The DD type appears critical here and was my mistake in the past.
    3.  Auto-populate the DE created in step 2: Source Name-->Data Picker; Source Element-->uuu_user_name (in this case).
    4.  On the BP, place the same DE as step 2 and auto-populate (or link) it to the same DE on the shell attribute form.
    What I didn’t expect:
    1. User Data Pickers on BPs cannot reference User Data Pickers on shell attribute forms.  Why do we need additional fields to link two other fields of the same type?
    2. In operation the auto-populate, setup in step 3 above, occurs immediately as if it were a formula instead of just populating upon the shell creation stup as it would on BP creation.

  • How can I set the date field to auto populate the current date?

    I have many forms to create where the current date dictates a specific change in options or conditions for the form filler to follow. I cannot see any way to handle that issue. Is it possible to simply set the current date as a default?
    jcytrny

    Sorry, we currently do not support having today's date show up in a date field by default
    Randy

  • How to embed data into an InDesign Document

    Hello everybody,
    I'm porting a QuarkXTension to InDesign CS3 on PC but, maybe, I've found a showstopper...
    The current xtension writes some collected data into a document slug that is retrieved by an external application simply scanning the content of the file.
    I need to maintain the same way with InDesign but I've discovered that the persistent data added to a document workspace doesn't stay all together when is more than few KBytes (everything seems to be ok until 2 KBytes but that's too little) inside the InDesign document but is scattered on many locations. Of course this makes the work of the external application impossible.
    Is there any way to command/force inDesign to write the persistent data insidde the file in one single chunk?
    I understand this is something unusual but that's the way that complex publishing workflow works and can't be changed in that part.
    Thanks a lot in advance for any help.
    Best regards,
    Luca Severini

    I think I have found a possible solution to embed my data in a way readable by an external application. To use the XMP toolkit.
    Very interesting the fact XMP Toolkit includes the source of a simple command line tool that parses the xmp embedded into InDesign file.
    The same source can be easily modified to get all the objects contained in the document aka database.
    Bye
    Luca

  • How to auto populate Actual GI Date in Delivery

    Hi All,
    I have created a report in which sales order and delivery gets created automatically using bapi's. When I go to my delivery number which is created thru vl02n, I see the Planned GI date gets automatically populated thru bapi.
    But, my Actual GI Date is blank. I need to auto fill the Actual GI date with my Sales Order PO date.
    Is there a way that I can do this automatically with delivery bapi or do I need to use copy routines to achieve this?
    Please help.
    Thanks.

    Go to VOFM -> Data transfer -> Deliveries. Take a look at routine 201 (or better yet, check which copy routine is currently used in your configuration to copy fields into the delivery header).
    You can either modify the currenlty used copy routine (in case it is not a standard one) or you can copy it and add your code to populate the field LIKP-WADAT.
    In routine 201 as the example, there is structure XKOMDLGN with field BSTDT. This should (hopefully) be already populated with the PO date from the order. If not, then you can read the order header you're delivering and use VBAK-BSTDK as the source field. Then simply set LIKP-WADAT to whatever date you need.
    Please check the online documentation for exact details about copy control. If you copied a standard routine, you will have to set the new routine in the configuration so that it's used when a delivery is created referencing an order.

  • Auto populate system Current date in Info path form textbox

    Hi,
    I want to display system current date in info path when user opens new form.I have placed a text box and added now function and in format selected do not display time option.
    When i preview the form everything works as expected.the date is displaying like mm/dd/yyyy format without time :)
    But after publishing the same form to share point list when i open the form from browser the text box is not showing current date 
    Instead it is showing yesterday's date :(
    Can anyone help me to resolve the issue.
    Regards,
    Poovi

    Hi Poovi,
    According to your description, you want to enable the text box to show the current date when opening the form from browser. However, the date that your text box displayed
    in the SharePoint site page is different from the
    one in the InfoPath Designer.
    In InfoPath, the date displayed is the same as the system date. However, the date displayed in the SharePoint site
    page depends on the Regional
    settings of a site other
    than system date.
    As a solution, you could set the time zone in Regional settings of a site if needed.
    Here is a link about how to change the Regional settings of a site, you could use as a reference:
    http://office.microsoft.com/en-sg/sharepoint-foundation-help/change-regional-settings-for-a-site-HA102894666.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Auto populate filename only

    Hello,
    To start off, I am a very low level beginner wtih JavaScript.  I understand what it is and can do, but I have no clue how to write it, and I have not been able to learn yet.
    Can someone please help me find/write a script that can be set as an action on a text field to automatically populate the file name of a form (similar to how a script that populates today's date would work).  My goal was to just put it in the footer, and I figured there was no way Acrobat wouldn't have some step already set up to do this, but after about 4 hours of researching, I have not found anything that works for me and this is really holding me up.  I have found a few things that populate page number, date and then filename, or path. But, I only want the filename to populate in the lower right corner, in a small point size, in gray.
    I would greatly appreciate anyone's knowledge on this!
    Thanks!
    Stef

    If you just want the current file's name, you can do the following:
    Go to the field's calculation tab, and under custom script enter this
    event.value = this.documentFileName;

  • Is it possible to auto-populate a row of cells based on a pop-up value...

    ... that references a value from a column of another table?

    EDIT: I note that Jerry has posted much the same solution about the time I was called for dinner (followed by part 2 of the mini series we started watching last night). I'll leave this one up for the tutorial aspects. Other than the use of pop-up menus in Table B, they're essentially the same.
    Also, I see I highlighted the wrong ground beef row on the Ingredient table. The correct (93%) one is the one transferred to the second table. Oops!
    Barry
    dlconnolly wrote:
    Good Point, should have done that in the first place. Also, thank you very much for giving this a shot to help me out. Below are my tables that I am trying to link (they did not post as tables so I hope that doesn't further confuse the situation).
    Goal: In Table B/Recipes, I would like a drop-down/pop-up option in the 'Ingredient/Column A' column. Based on the choice of ingredient, I would like the Fat/Carbs/Protein row of cells for that ingredient to auto-populate with the data drawn from Table A/Ingredients.
    I used the LOOKUP function: =LOOKUP(A2,Ingredients :: Asparagus:'Turkey Breast ', {Ingredients :: B2:D23}). The error message I get is: "B2:D3}" isn't a valid reference.
    Hi dl,
    Looks like the problem is in the formula above. (repeated with comments below)
    <PRE>
    Table A: "Ingredients"
    Ingredient Fat Carbs Protein
    Asparagus 0 5 3
    Blueberries F 0 10 1
    Blueberries R 0 21 1
    Broccoli    0 6 2
    Chicken Bre 9 13 35
    Chickpeas 3 27 6
    Cous Cous 0 36 6
    Eggs        10 2 12
    Grapes     0 16 1
    Green Beans 0 10 2
    Ground Beef 90% 9 0 21
    Ground Beef 93% 6 0 25
    Mozz nonfat 0 4 32
    Mozz par tsk 16 3 24
    Olive Oil 14 0 0
    Pork, ground 18 0 22
    Quinoa     4 20 4
    Sour Cream 2 1 0
    Spinach    1 5 4
    Turkey Breast 0 4 20
    Table B: (end product)
    Ingredient Fat Carbs Protein
    Grnd Bf 93% 6 0 25
    Broccoli    0 6 2
    Quinoa     4 20 4
    </PRE>
    Posting a screen shot is easier than getting a table to align itself properly here, as the forum software must be forced into recognizing tabs as tabs. Screen shots must be hosted elsewhere (eg. Photobucket, Picasa, Flickr), then the HTML link supplied by the hosting site (on some sites in a "Share this" menu) can be entered into your post to call the image. Be sure to check the Preview tab here (before posting) to see what your post will look like.
    Here's your LOOKUP formula. I've replaced the square brackets, parsed by the forum to indicate a link, with curly brackets so they would be visible.
    =LOOKUP(A2,Ingredients :: Asparagus:'Turkey Breast ', {Ingredients :: B2:D23}).
    The error message I get is: "B2:D3}" isn't a valid reference
    "B2:D23}" perhaps?
    LOOKUP is discussed on p 217 of the iWork Formulas and Functions User Guide.
    It's syntax is:
    LOOKUP(search-for, search-where, result-values)
    So your formula,in English reads:
    Search for: the contents of cell A2 (on this table)
    In: the Table "Ingredients" in the columns "Asparagus" to "Turkey Breast"
    and return the results in the same row in the columns from B to D in the rows 2 to 23}
    I get an (expected) "invalid reference" message for Asparagus:'Turkey Breast '
    (Possibly due to my leaving 'use headers as column and row references' unchecked)
    Replacing that with the range in which the ingredients are listed (A2:A21), the error message changes to the one you quote.
    Even ignoring the square brackets, D23 is an invalid reference on my table, which ends with "turkey breast" in row 21. But even with the specified range completely on the table, the Invalid reference message remains, indicating the square bracket is a problem.
    My assumption is that it's there because you are attempting to define the results range as an array including all three columns from which you wish to gather results. Won't work.
    From p 217 of the iWork F&F User Guide:
    Usage Notes
    Both search-where and result-values are normally included and *are specified as either*
    *multiple columns or multiple rows, but not both* (one dimensional). However, for
    compatibility with other spreadsheet applications, search-where can be specified as
    both multiple columns and multiple rows (two dimensional) and result-values can
    be omitted.
    Editing to limit the result value array to a single column, and removing the square brackets gives a working formula for cell B2 on Table B:
    =LOOKUP(A2,Ingredients :: A2:A21, Ingredients :: B2:B21)
    Three further edits to the formula are needed before filling down and right to the rest of the active cells in Table B.
    The first is to make the column, but not the row, absolute in the cell address for search value so that this reference changes as the formula is filled down, but not as it is filled right.
    The second is to make both the columns and rows of the cell addresses specifying the search range absolute so that this range does not change as the formula is filled down, then right.
    The third is to make the rows (only) absolute in the result range so that they do not change as the formula is filled down, but do change as it is filled right, ensuring that we retrieve the values from the correct column of "Ingredients" to the corresponding column of Table B.
    These are done using the menu revealed by clicking the triangle that appears on the cell range reference when the mouse is placed on it in the formula bar. When done, the formula should look like this:
    =LOOKUP($A2,Ingredients :: $A$2:$A$21, Ingredients :: B$2:B$21)
    Finishing touch:
    As is, the formula will return error messages in rows where there is no entry in column A of Table B. To eliminate those, trap the error using IFERROR:
    =IFERROR(formula,"")
    (replace formula with the formula above, leaving off the = sign)
    Regards,
    Barry
    PS: The iWork Formulas and Functions Guide may be downloaded through the Help menu in Numbers. You'll also find the equally useful Numbers '09 User Guide at the same location. Both are highly recommended.
    B
    Message was edited by: Barry

  • Auto Populating List with Dates

    I'd like to create a SharePoint list wherein each row/item has a Start Date and End Date along with some other fields.  Each item will correspond with a week and I'd like to pre-populate the list with a good number of "weeks".
    Not too hard (if tedious) to do manually, but is there a clever way to get this done without doing some scripting?

    Hi,
    According to your post, my understanding is that you want to auto populate list with Dates.
    I recommend that you can use caculated column.
    You can use the formual as: =Created+7. Then return date type as Date and Time.
    More information:
    Date and time formulas
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to auto populate a column/SharePoint list with Current Date?

    I have a SharePoint list and I created a column called ‘CurrDate’. 
    I need this column to;
     Display the current      date,
    Auto populate all rows with the current date in the      SharePoint list
    Dynamically update with the current date
    I first tried creating the column using the default SharePoint interface Date Time but it’s not doing any of the steps listed above:
    I even tried entering =[Today] in the Calculated Value field. 
    Still nothing…
    So, I’m sure you will toss out a code snippet to make this work, which is great. 
    However, I’m a total noob with SPD, where the heck do I insert this snippet?
    Always in need of help.

    Hi ,
    I understand that you want to add a column  to a list to hold current date. Here is a workaround:
    Add a single line of text column to the list. Name the list as Today.
    Add a calculated column to the list. Use the [Today] as the formula. Set the calculated column to be Date and Time type.
    Delete the Today column from the list.
    Thanks,
    Entan Ming
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please [email protected]
    Entan Ming
    TechNet Community Support

  • How to auto-populate dates in a calendar based on radio buttons?

    Hi,
    I'm trying to create an availability form that is submitted on a monthly basis. What I'd like is to have a radio button the user could click to indicate what day the first of the month falls on (Monday through Sunday), and have fields auto-populate with the remainder of the dates on the calendar. As it stands right now, I've got the radio buttons and the text fields, but I'm running into serious issues getting the text fields to auto-fill based on the selected radio button.
    I've labelled the radio button group "First Day of Month" and the individual values are "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" and "Start". The "Start" button is hidden but is checked by default.
    My text fields are even simpler: "Monday 1" "Monday 2" "Monday 3" "Monday 4" and "Monday 5" (and then, obviously, repeated for each day of the week.
    I am horrible at scripting, so I think that might be where I'm running into issues. What I'd like to put is something like this (only, you know, functional, and for each days' text value):
    For "Monday 1"
    if "First Day of Month.value" = "Monday", "Monday 1.value" ="1"
    else "Monday 1.value" = ""
    For "Wednesday 3"
    if "First Day of Month.value" = "Sunday", "Wednesday 3.value" = "11"
    if "First Day of Month.value" = "Monday", "Wednesday 3.value" = "17"
    if "First Day of Month.value" = "Tuesday", "Wednesday 3.value" = "16"
    if "First Day of Month.value" = "Wednesday", "Wednesday 3.value" = "15"
    if "First Day of Month.value" = "Thursday", "Wednesday 3" = "14"
    if "First Day of Month.value" = "Friday", "Wednesday 3.value" = "13"
    if "First Day of Month.value" = "Saturday", "Wednesday 3.value" = "12"
    else "Wednesday 3.value" = ""
    For "Sunday 5"
    if "First Day of Month.value" = "Sunday", "Sunday 5.value" = "29"
    if "First Day of Month.value" = "Friday", "Sunday 5.value" = "31"
    if "First Day of Month.value" = "Saturday", "Sunday 5.value" = "30"
    else "Sunday 5.value" = ""
    Is this possible? I have no doubt there's a better way to do it (with proper coding and everything), so any help would definitely be appreciated!

    Hello,
    Which sharepoint edition you are using? I would prefer to customize your list form in infopath form then add new connection which will connect to your SQL. Later you can filter data based on cust ID. Here is the link to add connection in infopath:
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx
    If you want to do it via code then simple ADO.NET connector will help.
    http://www.codeproject.com/Articles/33862/Connecting-to-Database-Using-Custom-Webpart-in-Sha
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Can I use data entered in PDF form's field(s) to auto-populate Save As file name?

    Hello,
    I want to automate, as much as possible, the "Save As" process by using some of the data that the user entered in the fillable PDF form.
    For example, I want to include the user's First Name and Last Name that they entered in the form to be part of the saved file name.
    First Name: Bob
    Last Name: Smith
    Therefore, when you select to Save As part of the new file name will already have <BobSmith><today's date>.PDF
    Form was created using LiveCycle Designer 11
    PDF version: 1.7, Adobe Extension Level 8 (Acrobat X)
    Thanks for any information that you can share.
    Regards,
    Roch

    You should try the LiveCycle Designer forum, but from my experience with Acrobat forms it's not possible. What you can do is either save the file using the desired file name and path (without user interaction), if the script runs from a trusted context, or you can prompt the user with the desired file-name for the file, but not enforce them to use it, nor populate it into the Save As dialog itself.

  • How do you auto populate a date in a different text field after someone digitally signs the PDF form?

    I am trying to auto populate a date in a text box on the upper right hand corner of my document after someone digitally signs it. Is this possible? How do you do this?

    Go to the Properties of the Digital Signature field and under the Signed tab enter this JS code, under the last option:
    this.getField("SignDate").value = util.printd("mm/dd/yyyy", new Date());
    this.getField("SignDate").defaultValue =this.getField("SignDate").valueAsString;
    Of course, you can adjust the field name and the date format used in the script above.

  • Create an InfoPath Form to Auto Populate Data in SharePoint 2010

    In Anne Stenberg's Blog from 2 Nov 2011 3:00 PM "How to Create an InfoPath Form to Auto Populate Data in SharePoint 2010" she artfully steps through how to create an InfoPath Form to Auto Populate Data. It works but... Jason, another user, 
    wrote whenever the form is opened again either to view or edit, it displays the current users information instead of the value of the person who completed the form in the first place.
    Anne's response was "Hi Jason - I had forgotten I had that problem, too. Change the Form Load rule's condition to
    DisplayName is blank and that should work."
    My problem is I can't find anything other than AccountName in "Select a Field or Group" [GetUserProfileByName (Secondary)] to use in the Condition statement that will correct the problem.
    Any help will be very appreciated.
    Thanks,
    Joe

    Hi Joe,
    I recommend to add one more condition in Form Load to make the form not be populated with current user’s information (You can change Title to another column which should not be blank when users create a new item).
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Printing to a Windows shared printer, keep getting "Hold for Authentication" when I'm on the Windows shared network and can browse the computers.

    I have had two MacBook Pros now, and this has been an issue in Mountain Lion and Mavericks. I've got a shared printer on the local Windows network (it's a USB printer shared via the network and the computer), and the other Windows computers in the ho

  • Error while posting SOAP message

    I am trying to post a SOAP message but I keep getting this error. Can anybody help me on this. I tried using ALTOVA spy and SOAP Ui but the result is the same error.      <SOAP:Body>           <SOAP:Fault>                <faultcode>SOAP:Server</fault

  • IMac dramatic video issues

    i did read that many ppl have the same problem, i post a screenshot so u know what i am talking about: http://www.kappesante.com/video.png (if u see a website instead an image, reload the page. dunno why but sometimes it's needed) i installed the fan

  • Flash crowd simulation

    hai everyone right now i'm working on crowd simulation on flash. i'm wondering what achievement in this area, like how many characters (agents), how smart it is, & so on. So if you have any infos/links/etc, please let me know (by respond to this mess

  • Converting byte[] to Class without using defineClass() in ClassLoader

    so as to de-serialize objects that do not have their class definitions loaded yet, i am over-riding resolveClass() in ObjectInputStream . within resolveClass() i invoke findClass() on a network-based ClassLoader i created . within findClass() , i inv