Populate sequence of dates on iPad?

I built a form that uses javascript to populate two weeks of dates based on the date a user enters. People using an iPad have problems because javascript isn't enabled. Apart from lowering security on their iPad is there a way to populate dates on a form that doesn't use javascript? For instance, if I enter the date 12-13-2013 I need it to put 12-11-2013 in box A, 12-12-13 in box B, and so on.
Any help is appreciated!

Thanks for your continued help!
Below is my script. I almost a complete beginner (I actually think someone on here helped me with this one). Basically, I have two weeks of boxes. A box at the beginning of the form asks what time period this form will cover. Once entered the two weeks of boxes calculate by subtracting more or less from the date provided.
// Custom Calculate script for text field
(function () {
    // Get Period field value
    var v = getField("Period").value;
    // If field is empty, blank this field
    if (v === "") {
        event.value = v;
        return;
    // Convert the date string to a date object
    var d = util.scand("mm/dd/yyyy", v);
    // Subtract days
    d.setDate(d.getDate() - 2);
    // Set this field's value
    event.value = util.printd("mm/dd/yyyy", d);

Similar Messages

  • How to know the balance and validity of internet data in iPad

    How to know the balance and validity of internet data in iPad?

    Sir I m using internet in ipad4 with airtel network
    They provide me 2gb data with the amount of 255 rupees
    And now I inserted the sim in my ipad4
    And start the surfing on safari n all
    And now I wanted to know how much data is balance.

  • Lookout OPC Client – Asynchronous I/O and Update Rate serious problems (Sequence of data)

    I am using the Lookout OPCClient driver to connect to AB PLCs (EtherNet/IP protocol) and power measurement equipment (Modbus TCP protocol). The OPC server is the NI OPC Servers. The data that are read out from PLCs and PMs are energy meter readings, energy counters, power, voltage, current, frequency, power factor and el. energy quality measurements (THD). That energy meter readings are being stored in SQL database.
    I am experiencing a serious problem regarding the accuracy of the meter readings. Several times per day, randomly, meter readings are losing the time sequence. For example, sequence is: 167, after few seconds 165, 166.  In other words, present value followed by two previous old values. That generates a serious problem in our application that is expecting a naturally rising sequence of counter values.
    Analyzing further, I isolated the problem to the connection between Lookout OPCClient and OPC Server. I made a simple application in Lookout 6.7 (opcproc.lkp, attached) with OPCClient parameters: NIOPCServers, OPC2, Asynchronus I/O, Update rate: 10000, Deadband: 0.0, that is reading just one tag from NI OPC Servers demo application (simdemo.opf).
    By using OPC diagnostic tool from NI OPC Servers I record the sequence of OPC requests and responses.  I found out that OPCClient sends every 2.5 sec “IOPCAsyncIO2::Refresh2()” call that is request for refreshing of all items in one OPC group. Few milliseconds later OPC Sever responds with callback function “IOPCDataCallback:: OnDataChange()(Device Refresh)” that actually refresh the data.
    This periodic sequence is intrinsic to the OPCClient and cannot be disabled or changed (by my knowledge).  This sequence is periodically interrupted by “IOPCDataCallback:: OnDataChange()” caused by update rate parameter of OPCClient (client is subscribed to server for periodic update of changed items).
    In the case of demo application on every 4 refresh callbacks caused by refresh requests (2.5 sec) there is one update subscription callback determined by Update rate (10 sec).
    QUESTION 1:
    What is the purpose of update sequence and update rate when we have every 2.5 sec fresh values?
    PROBLEM
    The problem arises when we have a large number of items in OPC group. In that case the OPC Server starts to queue refresh requests because they cannot be fulfilled in 2.5 sec time because of large number of I/O points that must be scanned. At the same time update subscription callbacks are running at the period determined by Update rate. I observed in my production system that regular update callbacks has higher priority than refresh callbacks from the queue. That causes the loosing of timed sequence of data. After the update callback with fresh data, sometimes follow one or two refresh callbacks from queue with old (invalid) data. By adjusting Update rate parameter (1 hour, 2hours …) I can postpone the collision of data refreshes but I cannot eliminate it. Furthermore, the 2.5 sec automatic refresh are large burden for systems with many I/O points.
    QUESTION 2:
    Is there a way to disable automatic refresh request every 2.5 sec and just use update requests determined by Update rate?
    QUESTION 3:
    Is there a way (or parameter) to change the period of automatic refresh (2.5 sec)?
    This problem is discovered for Lookout 6.5, 6.6 and 6.7 so I could say it is intrinsic to OPCClient. If I use synchronous I/O requests there is not an automatic refresh, but that is not an option for large systems.
    Thanks!
    Alan Vrana
    System engineer
    SCADA Projekt d.o.o.
    Picmanova 2
    10000 ZAGREB
    CROATIA
    T +385 1 6622230
    F +385 1 6683463
    e-mail [email protected]
    Alan Vrana
    SCADA Projekt d.o.o.
    ZAGREB, Croatia
    Attachments:
    opcproc.zip ‏4 KB

    The physical connection from LV to the switch is (I believe) copper crossover to fiber converter into a switch.  Then, fiber from the switch to the end device (relay).  The relay has all of the typical modbus registries and has been verified by inducing signals in to the system and measured/polled in LabVIEW and observed Variable Monitor.  I am working with LV 8.2 and 8.5. 
    An OPC server would only add an additional translation of addressing within the configuration.  The only real draw back would be the network overhead required to do this processing and not being representative of the end design configuration.
    I will reiterated my question in another way:
    I must answer the question to management that relates to data collection, test results and analysis; how often are you polling the client in relation to the outcomes measured?  At this time I can not point at any configuration in the set up and execution that directs the data framing rate.  I only measure the traffic and work with results.  This needs to be clearly identified based on the relay modbus/tcp design capability of supporting an fixed number of client requests per second. 
    For testing purposes, I would like to be able to stress the system to failure and have prove capabilities with measured data.  The present problem is that I have no basis to establish varying polling rates that effect the measured data transmission. 
    This raises another question.  What handles the Variable Monitor data requests and how is this rate determined?
    Thanks for your interest in my efforts.
    Steve

  • How to Populate Internal table data to Table Control in a Report Program

    Dear All,
           How to Populate Internal table data to Table Control in a Report Program? It is a pure report program with out any Module pool coding involved, which is just used to display data. Till now it is being displayed in a report. Now the user wants the data to be displayed in a table control. Could someone tell me how to go about with this.
    Thanks in Advance,
    Joseph Reddy

    If you want to use a table control, you will need to create a screen.
    In your report....
    start-of-selection.
    perform get_data.  " Get all your data here
    call screen 100. " Now present to the user.
    Double click on the "100" in your call screen statement.  This will forward navigate you to the screen.  If you have not created it yet, it will ask you if you want to create it, say yes.  Go into screen painter or layout of the screen.  Use the table control wizard to help you along the process.  It will write the code for you.  Since it is an output only table control, it will be really easy with not a lot of code. 
    A better way to present the data to the user would be to give it in a ALV grid.  If you want to go that way, it is a lot easier.  Here is a sample of the ALV function module.  You don't even have to create a screen.
    report zrich_0004
           no standard page heading.
    type-pools slis.
    data: fieldcat type slis_t_fieldcat_alv.
    data: begin of imara occurs 0,
          matnr type mara-matnr,
          maktx type makt-maktx,
          end of imara.
    * Selection Screen
    selection-screen begin of block b1 with frame title text-001 .
    select-options: s_matnr for imara-matnr .
    selection-screen end of block b1.
    start-of-selection.
      perform get_data.
      perform write_report.
    *  Get_Data
    form get_data.
      select  mara~matnr makt~maktx
                into corresponding fields of table imara
                  from mara
                   inner join makt
                     on mara~matnr = makt~matnr
                        where mara~matnr in s_matnr
                          and makt~spras = sy-langu.
    endform.
    *  WRITE_REPORT
    form write_report.
      perform build_field_catalog.
    * CALL ABAP LIST VIEWER (ALV)
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                it_fieldcat = fieldcat
           tables
                t_outtab    = imara.
    endform.
    * BUILD_FIELD_CATALOG
    form build_field_catalog.
      data: fc_tmp type slis_t_fieldcat_alv with header line.
      clear: fieldcat. refresh: fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material Number'.
      fc_tmp-fieldname  = 'MATNR'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '18'.
      fc_tmp-col_pos    = 2.
      append fc_tmp to fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material'.
      fc_tmp-fieldname  = 'MAKTX'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '40'.
      fc_tmp-col_pos    = 3.
      append fc_tmp to fieldcat.
    endform.
    Regards,
    Rich Heilman

  • HT4623 hi i have ipad 2 and i want to connect my external hard disk to transfer data from ipad to directly to external drive?

    hi i have ipad 2 and i want to connect my external hard disk to transfer data from ipad to directly to external drive?

    Only if you have an app and a wifi hard drive like this
    http://www.seagate.com/external-hard-drives/portable-hard-drives/wireless/wirele ss-plus/?cmpid=ppc-_-satellite-_-g-_-us-_-wifi_hard_drive-_-e

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • How can i import data to ipad from pc ?

    how can i ımport data to ipad from pc ?

    It would help if you said what sort of data you want to transfer - documents, spreadsheets, powerpoint, etc .
    In order to transfer files to the iPad you will first need one or more apps on the iPad that supports those file types - without an app the files cannot be saved (apart from as email attachments), as unlike 'normal' computers the iPad doesn't have a file system and files/documents have to be stored/associated with an app. Once you've got an app then, depending on what it is, transfer might be done via the file sharing section at the bottom of the iPad's apps tab when connected to your computer's iTunes, via wifi, email attachments, Dropbox etc.
    If you want to transfer/support Word and Excel documents then Documents To Go is one option (http://itunes.apple.com/au/app/documents-to-go-office-suite/id317117961?mt=8) and how to transfer to/from it is described on this pagehttp://support.dataviz.com/support.srch?docid=14497&pid=198 (the 'premium' version of the app also supports editing Powerpoint files instead of just viewing them)
    Apple's Pages app supports Word documents :http://itunes.apple.com/us/app/pages/id361309726?mt=8 (how to transfer files http://help.apple.com/pages/ipad/1.4/#tanb5b5c055)
    and their Numbers apps supports Excel documents :http://itunes.apple.com/au/app/numbers/id361304891?mt=8#(transferring files http://help.apple.com/numbers/ipad/1.4/#tanb5b5c582)

  • Dear Apple: Can't recover data from iPad / no exploit for A5 bootrom

    Dear Apple,
    Looks like I'm not the only one who has had a failed upgrade to 6.1.3. Now my mother's iPad 2 is in recovery mode with 1000+ pictures lost in LaLaLand.
    No recent backup, no iCloud.
    I've done lots of research on how I can recover the data and the only possible way seems to be accessing the Ramdisk via SSH.
    But there is no bootrom exploit for A5 devices, so it won't work.
    Thanks Apple, I've lost photos of our family dog that passed this year, as well as photos from my grandmother's memorial service from this year.
    I hope an Apple employee see's this...
    Your process for upgrading iOS versions should be less prone to errors or failures. Required syncs or backups before upgrades should be required.
    I could send my iPad to the main data recovery service Apple has partnered with... but I don't have $400 - $1200 to spend.
    But even if I did, I would assume that only Apple has the power to access the data that is now in a digital vault, protected by their millions of dollars of revenue.
    How can a top-leader in the consumer electronics industry let down so many of their loyal customers? Just google "recover data on iPad" or iPhone and you'll see that 1000's of people across the globe are having the same issue with iOS upgrades.
    Please Apple, at least create a service to allow users to send in devices for data recovery. Only you have the power to "hack" into our devices.
    Sincerly,
    Forever lost memories?

    Apple aren't here. This is a user to user forum.
    You've lost your data because, as you said: "No recent backup, no iCloud." - that's your fault, no-one else's.
    Backing up is necessary regardless of whether you are upgrading or not. Your iPad could've been stolen or damaged and you'd've lost the data the same. Apple provides you with at least 3 ways of retaining copies of your photos - you chose not to use them.
    Call this a lesson learned in the consequences of not backing up as advised.

  • What does clearing cookies and data from iPad 4 mean?

    What does clearing cookies and data from iPad 4 mean?

    http://ipad.about.com/od/ipad_basics/ss/How-To-Clear-Cookies-And-Web-History-In- The-iPad-Safari-Browser.htm
     Cheers, Tom

  • Create custom transaction on the base of RSDMD to populate bw master data

    Hello All,
    my client is asking me if there is a possibility to create a custom transaction on the base of standard transaction RSDMD to populate the master data manually allowing the users to see only selected master data.
    we have a SAP BW and APO on the same system.
    the client ask if we can have a control level if the master data call other infoobjects for example (hierarchy market call the infoobjects LEV1, LEV2 etc)  we can do in a manner that is not possibile to insert new valus but only to combine existed values?
    Thanks for All
    Bilal

    Make all master data infoobjects authorization relevant and custom profile accordingly to the users in the standard authorizations and analysis authorizations.
    This will enable users to see only certain master data in their queries ( analysis authorizations ) and in their data display ( standard authorizations) instead of custom transaction.

  • I can't up date my iPad, due to problems with the mobilebackup program, what am I supposed to do now?.

    I've being trying to up date my iPad, but this has turn an impossible mission.
    At first I was happy with my new NO VIRUSES allowed toy; but I have just realized that this is a piece of ****, as any other Microsoft BS equipment.
    Now is the "mobile backup" problem...then what?
    If anyone can tell me what to do to fix this "mobile backup" problem, I will really appreciate it.
    I am sooooooooooo disappointed with this product. They told me, it was trouble free.
    Please help me solve this problem.

    I was going to suggest doing an explicit backup to see if that fails as well. You would do that by right clicking on the iPad icon in iTunes but...
    Another user was able to get the Mobile Backup to work by changing the time zone to an equivalent time zone. https://discussions.apple.com/message/11784549#11784549
    They do not state whether they changed the setting on the Windows side or on the iPad. It is possible the backup is trying to match so if you have not done so, try checking that first. What country/timezone are you in?
    I'll look through the discussions to see if I see any other solutions. You probably will need to contact Apple directly for support. I think for Windows iTunes there is a Connection Diagnostic tool. Using that may provide more details for why the backup is failing.

  • How we can populate the form data from 2D barcode

    Hi All,
    Can anyone tell me how we can populate the form data from 2D barcode, will this can be done through script(javascript)?.
    Thanks & Regards,
    Faisal Afzal

    I was hoping someone could put me in the right direction here. I am basically doing the same . I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.
    The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)
    <?xml version="1.0" encoding="UTF-8"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:datasets>
    <xfa:data>
    <form1>
    The XML structure that is expected by the PDF template is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.
    Thanks

  • How to display Date in iPad

    Can anyone tell how to display the Date in iPad ? I can see only time being displayed currently.

    This might be more appropriate for the iPad.
    http://www.apple.com/feedback/ipad.html

  • Can you increase additional data in ipad?

    CCan you increase additional data in ipad?

    There are some wireless external hard drives that can be used with the iPad.
    Best iPad External Hard Drive Storage Options
    http://www.unlocktips.com/2012/11/best-ipad-mini-external-hard-drive-memory-stor age-options/
    iPad Storage Solutions
    http://www.ipadstoragesolutions.com/iPadWirelessStorage.php
    SanDisk Connect Wireless Media Drive
    http://www.sandisk.com/products/wireless/media-drive/
    SanDisk Wireless Flash Drive
    http://www.sandisk.com/products/wireless/flash-drive/
    WD My Cloud
    http://www.wdc.com/en/products/products.aspx?id=1140
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • How to populate DataGird with data returned from php page?

    Hi, I'm new in Flex, I try to populate DataGrid with data from PHP, My code is
    <mx:HTTPService 
    id="personRequest" result="getPerson(event)" url=http://localhost/searchPerson.php useProxy="false" method="POST" showBusyCursor="true" resultFormat="e4x">
    </ mx:HTTPService>
    <mx:DataGrid 
    id="searchResult" dataProvider="{???what to paste here???}" y="30">
    </mx:DataGrid>
    private  
    function getPerson(evt:ResultEvent):void { var res:XMLList = evt.result..dane as XMLList;searchResults =
    new XMLListCollection(res); 
    output from PHP
    <person>
    <dane>
    <name>ABC</name>
    <street>XLXXLX</street>
    </dane>
    <dane>
    <name>DEF</name>
    <street>YAYAYAY</street>
    </dane>
    </person>
    If I set the dataProvider as "searchResults" it doesn't work. I probably have to set as dataprovider any ArrayCollection , but I don't know how to convert my XMLListCollection to it.
    Could anyone help me populate Datagrid with
    name | streer
    ABC, XLXXLX
    DEF, YAYAYAY
    Best Regards,
    Mariusz

    Thanks for your reply, but I'm afraid it doesn't work :-( Could you browse my code and check what I'm doing wrong???
    full mxml code:
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="personRequest.send()">
    <mx:Script><![CDATA[
         import mx.rpc.events.ResultEvent; 
         [Bindable]
         public var searchResultsXML:XML;  
         private  function getPerson(evt:ResultEvent):void 
          {          searchResultsXML = (evt.result
    as XML);
              trace(searchResultsXML);     }
    ]]></mx:Script>  
    <mx:HTTPService 
    id="personRequest" result="getPerson(event)" url=http://localhost/searchPerson.php useProxy="false"
    method="POST" showBusyCursor="true" resultFormat="e4x"></mx:HTTPService>
    <mx:DataGrid  id="searchResult" dataProvider="{searchResultsXML.dane}"></mx:DataGrid>
     </mx:Application> 
    trace statement returns:
    <person>
    <dane>
    <id>1</id>
    <nazwisko>Topczewski</nazwisko>
    <imie>Mariusz</imie>
    <imie2/>
    <miejscowosc>Bia?ystok</miejscowosc>
    <ulica>Nowogródzka</ulica>
    <dom>7B</dom>
    <lokal>25</lokal>
    </dane>
    <dane>
    <id>1</id>
    <nazwisko>Topczewski</nazwisko>
    <imie>Mariusz</imie>
    <imie2/>
    <miejscowosc>Bia?ystok</miejscowosc>
    <ulica>Sybiraków</ulica>
    <dom>15</dom>
    <lokal>27</lokal>
    </dane>
    </person>

Maybe you are looking for

  • Shaman not letting me use it[SOLVED]

    Installed Shaman to use for installing packages, but it won't let me use the process queue button. I can view packages installed and otherwise I just can't use it to install additional packages. If you need more info just ask. using KDE Thank You Pro

  • How do I get purchased iTunes moves onto my android tablet?

    Trying to good some good movies I bought using some iTunes gift cards onto my android tablet but it's not working. Any advice?

  • Webmail problem. Logs on to talktalk OK, but I cannot access the messages in the inbox.

    I use www.talktalk.co.uk/mail as my email account. I have 2 computers. One runs Windows XP and Firefox 3.6.18 - and that one works just fine with talktalk webmail. The other machine runs Windows Vista and until the past couple of days used Firefox 3.

  • Few improvements/enhancements for JDev 11

    1) The icons used for all types of interfaces/classes etc are same. Most of the IDEs have standardised on the visual appeal on the icons used for Class (C symbol), Interface (I) etc. And some IDEs have further gone ahead by using special icons for Fi

  • Collection class for pairs of objects.

    Hello! I need to use a control to save pairs of objects, but there can be n ocurrences of the same object in any position of the pair, so the classes that implements Map will not work, any sugestions? thanks. U.