Can I make a checkbox populate the current date?

I've been asked to make a form that has quite a few checkboxes.  These checkboxes also need to be marked with a date when checked off.
Rather than have the person filling out the form type the date every time they check the box, they request that when the user clicks the checkbox that a current date show next to the checkbox.
I don't know if this can be done with a current date stamp or with having a text box that populates with the current date, etc.
The forms are also going to be used throughout multiple days, so I can't just call on a "current date" and show/hide that text box like I had originally thought to do.
I'm also really green to scripting so any help or guidance in the right direction would be much appreciated.
Thank you.

The following Mouse Up script for a check box will set the associated text field to the current data when it's selected, and blank the field when not:
// Mouse Up script for check box
(function () {
    // Get a reference to the text field
    var f = getField("text1");
    // Set the value of the text field
    if (event.target.value !== "Off") {
        f.value = util.printd("mm/dd/yyyy", new Date());
    } else {
        f.value = "";
Replace "text1" with the name of the associated text field.

Similar Messages

  • 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

  • Add one day to the current date

    Hi all,
    A stupid question...
    How can I add one day to the current date in a select. I want something similar to add one month to current date, but with days:
    something like:
    select TO_CHAR (ADD_MONTHS (SYSDATE, -1), 'DD-MM-YYYY')
    from dual
    Thanks

    select sysdate+1 "add one day" from dual;

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted.
    The select option contains two fields the first field is the date which is 10 days subtracted from the current date and the next field is the current date.
    Please suggest.
    Thanks.

    Hi Dolly
    I had a same req before check that code:
    AT SELECTION-SCREEN OUTPUT.
    IF pa_older = 'X'.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end  "<<<<< date or in ur case sy-datum
    days = '10'
    months = '00'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end1.  " <<< subtracted date
    ENDIF.

  • Can anyone make a recommendation on the purchase of an external hard drive for my Macbook Pro? I am currently using OS 10.6.8 because I can't upgrade until I clean out my start up disc space. I have a ton of pictures to transfer. Thanks!

    Can anyone make a recommendation on the purchase of an external hard drive for my Macbook Pro? I am currently using OS 10.6.8 because I can't upgrade until I clean out my start up disc space. I have a ton of pictures to transfer.Thanks!

    best options for the price, and high quality HD:
    Quality 1TB drives are $50 per TB on 3.5" or  $65 per TB on 2.5"
    Perfect 1TB for $68
    http://www.amazon.com/Toshiba-Canvio-Portable-Hard-Drive/dp/B005J7YA3W/ref=sr_1_ 1?ie=UTF8&qid=1379452568&sr=8-1&keywords=1tb+toshiba
    Nice 500gig for $50. ultraslim perfect for use with a notebook
    http://www.amazon.com/Toshiba-Canvio-Portable-External-Drive/dp/B009F1CXI2/ref=s r_1_1?s=electronics&ie=UTF8&qid=1377642728&sr=1-1&keywords=toshiba+slim+500gb
    2.5" USB portable High quality BEST FOR THE COST, Toshiba "tiny giant" 2TB drive (have several of them, LOT of storage in a SMALL package)    $117
    http://www.amazon.com/Toshiba-Canvio-Connect-Portable-HDTC720XK3C1/dp/B00CGUMS48 /ref=sr_1_4?s=electronics&ie=UTF8&qid=1379182740&sr=1-4&keywords=2tb+toshiba
    *This one is the BEST portable  external HD available that money can buy:
    HGST Touro Mobile 1TB USB 3.0 External Hard Drive $88
    http://www.amazon.com/HGST-Mobile-Portable-External-0S03559/dp/B009GE6JI8/ref=sr _1_1?ie=UTF8&qid=1383238934&sr=8-1&keywords=HGST+Touro+Mobile+Pro+1TB+USB+3.0+7 2 00+RPM
    Most storage experts agree on the Hitachi 2.5"
    Hitachi is the winner in hard drive reliability survey:
    Hitachi manufacturers the safest and most reliable hard drives, according to the Storelab study. Of the hundreds of Hitachi hard drives received, not a single one had failed due to manufacturing or design errors. Adding the highest average lifespans and the best relationship between failures and market share, Hitachi can be regarded as the winner.

  • How can I make the current date/time be sent when emailing as XML?

    I'm creating a form for a customer to use for submitting print jobs. This customer will be emailing the XML form data, which will in turn be converted into a production order. I'd like to make the PDF form capture my customer's system time, so that I know when they filled out the form. I COULD just leave that up up the customer and use required current date and time fields, but that provides the ability for the customer to falsify that information.
    Is there any good way to capture the current date/time in the XML data, so that the customer doesn't need to nor has the ability to?
    Any suggestions would be great!

    You can use the following methods getHours(),getMinutes(), and getSeconds() from the date object to obtain the values for hour,minute,and second.
    Click here to see an example:
    http://66.34.186.88/LiveCycleSamples/.3bbc2f4b.pdf

  • I just downgraded from iTunes 11 back to itunes 10.7.5. My iTunes is now working from one of the Previous Music Librabies. How can I make that previous library my current library? Also, I can't empty iTunes 11 frome the trash. Why not?

    I just downgraded from iTunes 11 back to itunes 10.7.5. My iTunes is now working from one of the Previous Music Librabies. How can I make that previous library my current library? Also, I can't empty iTunes 11 frome the trash. It tells me iTunes 11 is still open. What's going on?
    Thanks in advance!

    Without providing details on exactly what you did it is hard to provide an answer.  It's like me saying, "This chocolate cake I made tastes wrong," but not providing the recipe for review.  Maybe it was the garlic in that particular recipe.
    If iTunes is successfully using a previous library which you rename to iTunes Library.itl then that is now the current library.
    Have you restarted your computer and then tried emptying the trash?

  • How can I make iCal in Lion open to the current date?

    I just updated from Snow Leopard to Lion and have had all of the frustrations with changes to iCal that are well-documented here and elsewhere.  One issue I haven't seen addressed, however, is a new behavior after quitting and re-starting.
    Previously, no matter what month/day/week I was viewing when I quit iCal, it would open the next time to the current (month/day/week).  Now, it opens to whatever date(s) I was last viewing when I quit.
    This is highly annoying - 99% of the time, if I quit iCal while looking at (some date 6 months into the future), that is NOT the date I'm looking for when I re-launch.  It's much more consistent behavior to always re-open to the current date, in whatever view (month/day/week) I previously used.  So if today I launch iCal and I'm thinking about adding an event a month in the future, I open iCal, change to month view if needed, and go forward one month.  This is the way iCal always worked previously.  Instead, the version in Lion might leave me on any random month, depending on what I was doing when I closed the program the last time, and so I have to figure out "what month/week am I looking at?" before I know how to navigate.  Very irritating.  (As is the move of the forward/back buttons away from the month/day/week buttons, necessitating that I move the cursor to two different areas of the screen in order to navigate.  Whose idea was THAT?)
    I haven't found a preference to resolve this bizarre behavior change.  Can anyone help?

    Hi,
    I don't know of a preference, but have you used ⌘-T in iCal?
    Best wishes
    John M

  • 2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?

    2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
    I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again.

  • I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

  • How can I make a folder in the TV for my home movies

    How can I make a folder in the TV shows for my home movies collection?  I have created a folder in the library in finder and put all the videos in there but they do not appear in itunes.
    pshultz

    It's best to never move iTunes media around in Finder. Add it to the Library through the iTunes interface by dragging them into the window. Once they've been added to the library, you can try using Get Info on the files in iTunes and change the tag info to make them group together. (A unique album name should do this.) If you want them to be included with TV Shows, you can try using Get Info to set the Kind to TV Show (found under the Options tab in Get Info), but I'm not sure if it will work. Otherwise, you could make a playlist and drag them into to access them all in one convenient spot.
    If you add the items as noted above and they still do not appear in your library, it's probably because they are not a compatible format.
    Message was edited by: Diane Wordsmith

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • I have alot of loose photos at home (old) and I would love to make a bunch of iphoto books and make the pages like whole page collages?  How do I get my photos into iphoto in order to do this?  Can I make a DVD at the drugstore and add them to iphoto?

    I have alot of loose photos at home (old) and I would love to make a bunch of iphoto books and make the pages like whole page collages?  How do I get my photos into iphoto in order to do this?  Can I make a DVD at the drugstore and add them to iphoto?

    You can make the collages easily if you have iWork.  Just open a letter sized page in landscape mode and drag the photos onto the page, rotate and postiion as necessary.  Then do a Print ➙ PDF ➙ Save PDF to iPhoto to get a 200 dpi jpeg version of the Pages page into iPhoto.  From there you can add it to your book and use a blank page with the option to have an image as the backbround. 
    If you have a 3rd party image editor that supports layers you can create the collage with it. 
    OT

  • How can you make your persona show on the top and bottom? Also can you make it bigger at the top to show more of the picture?

    How can you make your persona show on the top and bottom?
    Also can you make it bigger at the top to show more of the picture?

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

Maybe you are looking for

  • SSIS Package - An OLE DB error has occurred. Error code: 0x80040154.

    I am getting below error when i try to execute a package using batch file  Microsoft (R) SQL Server Execute Package Utility Version 9.00.1399.06 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 7:15:29 AM Progress: 201

  • Capturing Data Source Activation in a transport

    Dear Gurus, I 'm using the 0TR_LP_1 data source for my data loading and facing the following issue. In DEV system , this data source have been activated by one of the developer but not captured in any of the transport request. How can i capture the a

  • Lost session after window.open

    I'm running two web applications in different WebLogic server instances (port no 7001 & 7003). When A.jsp (in 7001) executes a script window.open('B.jsp') (in 7003), the session associated 7001 loses its data. Has anyone meet this problem ??? I use W

  • Remove "Mark All as Read" button with Group Policy from Outlook 2013

    Under the Folder tab in Outlook 2013, there is a "Mark All as Read" icon. How can I permanently delete this icon? I remember doing so with Outlook 2003 / 2007 through a Group Policy setting. Not sure how to take care of that with Outlook 2013...I thi

  • ADF does not feed when scanning

    s/# [Personal Information Removed] - ADF works fine in copy mode but will not feed in scan mode, only works off the glass.  Paper is detected in the ADF.