Mobile form not calculating on Android Tablet

I have a Time Sheet with Javascript that adds the times up, and it works perfect with the PC version of Adobe Reader, but when I try to use it on a nexus 7 tablet the calculations don't work.
I have tried the official Adobe Reader for Android as well as about a dozen other readers.  If there is a reader that will work with this sheet as is, I don't mind paying for it, or perhaps part of my JavaScript is not supported on mobile, and I can change it with a workaround.
Please Take a look and see what you can see:
PR_Form_Tablet6.pdf - Google Drive
I have 2 Functions in here:
TimeDiff Function:
function TimeDiff(cStartField, cEndField) {
var sTimeFormat = 'hh:mm';
var fDiff = 0;
// get the start time
var sStart = this.getField(cStartField).value;
// get the end time
var sEnd = this.getField(cEndField).value;
// complete script only if we have data
if(sStart != '' & sEnd != '') {
// convert sStart string to seconds
var fStart = Time2Num(sTimeFormat, sStart);
// convert sEnd string to seconds
var fEnd = Time2Num(sTimeFormat, sEnd);
// compute difference in seconds
fDiff += fEnd - fStart;
return fDiff;
Time2Num Function:
function Time2Num(sFormat, sTime) {
convert time string (sTime) with format of sFormat
to the seconds since the start of the day
if(sTime == '') return ''; // exit
// get date time for Epoch date and sTime
var oTime = util.scand('mm/dd/yyyy ' + sFormat, '01/01/1970 ' + sTime);
// convert UTC Offset to milliseonds for adjustment
var fTZOffset = oTime.getTimezoneOffset() * 1000 * 60
// time since the start of the day in millseconds
var fTime = oTime.valueOf() - fTZOffset;
// convert to seconds and return value
return Math.round(fTime / 1000);
And here is a sample field with JavaScript in it:
event.value = '';
var fDiff = 0;
// compute the difference for first pair of fields
// get the start time
var sStart = this.getField('Tech_2_Start').value;
// get the end time
var sEnd = this.getField('Tech_2_End').value;
// complete script only if we have data
if(sStart != '' & sEnd != '') {
// convert sStart string to seconds
var fStart = Time2Num('hh:mm', sStart);
// convert sEnd string to seconds
var fEnd = Time2Num('hh:mm', sEnd);
// compute difference in seconds
fDiff += fEnd - fStart;
fDiff = TimeDiff('Tech_2_Start', 'Tech_2_End');
// compute and add the difference for the second pair of fields
// get the start time
var sStart = this.getField('Tech_2_Start_2').value;
// get the end time
var sEnd = this.getField('Tech_2_End_2').value;
// complete script only if we have data
if(sStart != '' & sEnd != '') {
// convert sStart string to seconds
var fStart = Time2Num('hh:mm', sStart);
// convert sEnd string to seconds
var fEnd = Time2Num('hh:mm', sEnd);
// compute difference in seconds
fDiff += fEnd - fStart;
fDiff += TimeDiff('Tech_2_Start_2', 'Tech_2_End_2');
// convert to rounded minutes if not zero
if (fDiff != 0) {
fDiff = Math.round(fDiff / 60);
// report decimal hours
event.value = fDiff / 60;
Thanks,
Mike

Hi Dennis,
Thanks for the response. This is interesting because I went through the process of testing the LiveCycle generated form (ES2) on my personal Android device before my company invested in the Sony units. Since the update has happened, the form no longer works on my personal device or the Sony’s of course. I’ve tried the different export settings and each time, no luck. A refund would be greatly appreciated since I purchased the product to continue the work at home on my personal laptop. Please advise on what the process is for a refund.
Thank you,
Bryan Gonzales
GIS Technician |RTS
ASRC Energy Services Alaska, Inc.
3900 C Street, Suite 700
Anchorage, AK 99503
Desk: 907-334-1502
One Crew, One Journey
Honoring the values of our founders as we develop the future.
  <http://www.asrcenergy.com/>

Similar Messages

  • Support for dynamic forms using javascript for android tablet

    I have some complex multipage pdf forms with javascript functions and calculations made in Acrobat X Standard, I can open and use parts of the form in ezyPDF android app, however the javascript is not fully supported, does anyone know of any plug ins or work arounds to view my forms on an android tablet, my forma have to be stand alone as internet access is not always available.
    Regards Mike

    Get to know CF's structure / array notation. This comes in
    very handy when dealing with queries and form fields.
    - Form.myFieldName can also be referenced by
    Form["myFieldName"]
    - MyQuery.myField can also be referenced by
    MyQuery["myField"][rowNumber]
    Anything in the above example surrounded by quotation makes
    can be made dynamic by just adding in a cf variable surrounded by
    pound signs:
    get_dealer_completion["level_#level_id#"][1]

  • Fillable forms on non-networked android tablets

    I want to use fillable, pdf forms on our Android tablets to record practical test results for our students. These forms are filled out by instructors for each individual student. At the end of the day, the forms are to be downloaded to a stand alone PC for grading and further review.
    How can I save each individual test form as a separate file on the Android tablets. I have searched for a solution but have found nothing but a kludgy workaround. The tablets and grading PC are not networked which further compounds the issue...
    The ultimate goal is to allow an instructor to grade a student, save the grade sheet (form) as "studentname.pdf" then move on to grading the next student "studentname2.pdf". At the end of the day he would download (via usb) upwards to 5 grade sheets to our grading PC for further review.
    Any thoughts or suggestions?
    Thanks for any help!
    BTW, is there a reason "save as" is not a feature in the Android acrobat reader?

    Hi,
    Unfortunately, the 'Save as' functionality is not available for Adobe Reader on Android. As a workaround, you can make multiple copies(duplicates) of the pdf form with different names (like studentname.pdf) and then fill out the forms individually. Please let us know if this is not a viable solution for you.
    Thanks,
    Adobe Reader Team

  • Air mobile encryptedlocalstore not working at android

    hi,
    i have a problem in my mobile application
    i use encryptedlocalstore to store user id and password and packaged apk with captive-runtime
    but some device without adobe air, store and get data with encrypedlocalstore not working
    when i install adobe air at this device, encryptedlocalstore working.
    it bug with packing apk captive-runtime?
    i use flash builder 4.6 and air sdk 3.1

    Just check the reviews on the Google Play store. Tons of people reporting probelms with the update to Android 5.0
    Tye Bandy February 11, 2015
    Remote doesn't work No longer has remote feature after Lollipop update to Galaxy S5
    Mike de Gouveia February 8, 2015 
    Not compatible with Android L This was an OK app before I updated my S5 to lollipop. It was a bit glitchy with scheduling recordings and scrolling through TV listings before, but now it is just terrible and does not even allow me to use the app as a remote control and is always crashing. I'm keeping the app because I'm hopeful that they will resolve the compatibility issues because it is pretty convenient having an app running off the WiFi to control the DVR. I will submit a new review once they do.
    Robert DeNuto February 9, 2015
    "restore to factory settings and try again." I contacted FiOS support because after updating my S5 to Lollipop, the app would no longer recognize that I was connected to my FiOS router. As a result, I couldn't change the channels on my FiOS set top box or watch FiOS programs on my phone
    Juston Ling
    Please fix the Lollipop S5 issue The remote portion is the only reason to have this app, and since it had been rendered useless ever since Lollipop was pushed - I have to rate 1 star. Once fixed I will gladly update
    Len S. February 12, 2015
    Remote don't work on App

  • Acrobat 9 Pro - Forms Not Calculating on any MAC platform?

    Neither basic calculations (multipying the value of two fields) or javascripted fields function on any MAC platform (so far tested MAC 10x and IPad).  Everything runs flawlessly on every PC tested.  Form is accurate, no javascript errors.  Replicating fields does work on the MAC (typing "NAME" into the field on page 1 correctly replicates the NAME field on page 2 & 3.)  Only the math seems to be an issue.  Help!!!

    Wow, you are indeed correct.  Here is what we just discovered:
    Snow Leopard (10.6.8)
    If you open the file in READER it works fine.
    If you open the file in PREVIEW nothing happens when you enter values in any QTY field.  When you close the file in PREVIEW you are presented with the option to save.  If you save the file it gets corrupted and will not display in READER.  If you do not save the file you can open it in READER and it works fine.
    Lion (10.7.2)
    If you open the file in READER it works fine.
    If you open the file in PREVIEW nothing happens when you enter values in the QTY field.  When you close the file in PREVIEW you are NOT presented with the option to save.  The file somehow gets corrupted and will not display in READER.
    I guess the bottom line is that interactive PDF forms are real challenges for MAC users.  At this point the only way to assure MAC users get a working file is to point them to a non-interactive form that they must print, manually fill out then scan or fax back to us.
    Thank you so much for your help George.  This has been by far the quickest and smoothest problem resolution process I have experienced with literally any software manufacturer!  I'm less than pleased about the outcome, but your part worked beautifully and we all now know exactly what the problem is.

  • Acrobat Form not calculating values

    I've created an expense report for our company using Acrobat's form tools. Everything works fine except for one line.
    The first line of the form includes a cell that calculates mileage and how much an employee is owed which shows up in that line's total cell and then should carry down to the total cell for that section and the total cell for the entire form. If an employee only fills out that first line and nothing else in the form the total will not carry down to the total for the entire form.
    Can anyone help me figure out why that one line is totaling anywhere else and how I can fix it?
    Thanks!

    Hi. I am having problems creating my form. It is for ordering wine. The user enters in the amount of bottles they wish to purchase, and the form calculates the price based on a default value for the wine. All OK there. Problem is, I have two columns, one for Wine Club price and one for Recommended Retail price. I have the form set up to SUM both these prices (so it doesn't matter which is entered) and put the result in a Total field. This calculation is almost always incorrect, as if it keeps a prior input value in cache and pops it in the calculation when it isn't supposed to be there. I feel like I want to hit the refresh button! Actually, if I delete the value in the Total field and hit the return key it then does the calculation correctly, however this is no good to me as the user won't do this and therefore they will write a cheque out for the incorrect amount!
    Is there was a way to upload my form? It's so hard to explain...

  • Forms not calculating

    I seem to have this problem quite often. I create the form, calculate the fields and enable reader rights, then when I post it to the intranet, the fields won't calculate - whats the deal?

    Can you provide a link to a sample?
    George

  • EPUB exported from InDesign works on iPad and not on Android tablets

    I've edxported several similar books to EPUB from InDesign CS5, using the same technique each. After exporting from InDesign, there's a lot of tweaking of the HTML code and some changes to the content.opf and toc.ncx, but the finished product for all of the books works fine on iPads but some do not work on Android tablets. There are six separate InDesign documents in each epub book...three small, one large, and then two small. Some of the books work fine on Android tablets, but for some of them, the first three documents show up fine, but when one advances to the large document, the book closes. There's no error message. Any ideas what the problem might be? Are there size limitations for documents on Android machines?

    As you have found out - it doesn't work.

  • How to print on HP deskjet 100 mobile L411 from android tablet

    How to print on HP deskjet 100 mobile L411 from Asus Transformer android tablet
    Pablo_B

    Hi,
    You can use Printshare app on your tablet. I believe you have to pay a small amount for it:
       https://play.google.com/store/apps/details?id=com.dynamixsoftware.printershare.premium&hl=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • From iPad to android tablet

    Hi,
    I just finish  my first iPad only app ( after a few iPhone app). I intend to create an android version.
    Do I just change settings in flash an upload it to android market ? or do I have to make some change... (stage an so on )
    If someone have some expérience in this issue
    Thanks.

    If you kept different screen sizes in mind when you were building the app then its just as easy as you described it. You will need to get an android certificate but its easy as pie and all done right there in flash.
    If however you designed the app to fit just right into 768x1024px dimensions then you have a whole lot of work in front of you not to mention android tablets are all different sizes too, the original galaxy Tab looks to be 600 x 1024 and the new galaxy tab is close to an ipad in dimensions where the motorola Xoom is 1280x800 so its a lot to keep track of.
    Hope that helps a little.

  • How to install adobe digital editions on an android tablet

    How do you install adobe digital editions on an android tablet, I understand you cannot is this true??????????

    ADE does not run on Android tablets.
    You need to install an app that supports Adobe DRM, Bluefire and Aldiko are the commonest.
    There is also an Overdrive app if you just want to borrow/download and read DRM library books.

  • PDF Form not working properly on an Android Tablet.

    I've created a PDF fillable form with Indesign CS5, which works on desktop devices, but the 'Form Field Titles' did not appear when the PDF is viewed on an Android Tablet. Does anyone have a similar problem?

    [topic moved to Android subforum]

  • Need Merging PDF forms in Android Tablet (with a twist!)

    Hi guys I was wondering if there is anyway to Merge PDF documents in a Android app and keep the repeating information in forms intact. Let me explain. I have a regular form which cilents fill out but some times another form needs to be filled out also which have the repeating fields like name, date of birth, etc. I know that it is possible to do it in in Acrobat X Pro where you combine two PDF documents and as long as the form field is the same name or copied and pasted in the two seperate PDFs , information repeats itself automatically. However I was wondering if there is a way to do this on an android tablet (Motorola Xoom for me). I have tried apps that merge 2 seperate documents however the information from those that would normally repeat in Acrobat X on a regular computer does not do so in PDF merging apps I tried. I normally use qPDF and ezpdfreader but they don't seem to have a merging of two documents option (Or i don't know/can't find one). So any help? Any useful app I don't know about that can some my dilemia? Thanks ahead !

    Hi,
    i know this is rather late, but based on what I've read online, it seems your issue is common among pdf form apps on the Android. From what i hear, qPDF Notes works well, but doesn't allow calculations.  My guess is that the app developer hasn't loaded/programmed the necessary scripts in order to achieve calculations.

  • WiFi Tether Your Android Tablet to Your Cell Phone - LG Marquee Boost Mobile Example

    Greetings Earthlings and Android Fans....
    Just posted this to my blog and wanted to share a text version here. Check it out if you're looking to tether your tablet to your cell phone. I tethered my Thrive to my Boost Mobile LG Marquee.
    From:  Kaio's Klassroom: WiFi Tether Your Android Tablet to Your Cell Phone - LG Marquee Infrastruct...
    Want to tether your tablet to your cell phone, but Ad-Hoc got you down?  How about trying this nifty little tweak that got me up in running in a jiffy!!
    I recently got a new LG Marquee Prepaid Phone with Boost Mobile @Amazon and I really love it.  Only problem is, I was spoiled with my last phone because it was rooted to support Infrastructure tethering and I had no idea how difficult and unusual that was.  I've since done some research with my new Boost Mobile LG Marquee, and after a little trial and error (and some lucky Google searches) I have successfully tethered my LG Marquee to my Toshiba Thrive tablet!!!
    Here's what I did:
    Mandatory Disclaimer - The following information is for informational purposes only.  Proceed at your own risk!!!  Rooting will void your warranty and could "brick" your phone if you do something wrong!!  So if you damage your phone, or any of your tech, that's on you.
    NOTE: If you don't have an LG Marquee, just search "your phone model" + "root" and you should find plenty of information specific to your phone.  There's always people wanting to do the same thing you are, so it's just a matter of finding the information that's already out there.  Once your phone is rooted, come back here and start on Step 2.
    Step 1 -- Root your LG Marquee (You do NOT need to root your Tablet)
    The following information was taken from LG Cell Phones Blog and are for the LG Esteem, which is a generic root mod.  
    > Enable USB Debugging on your LG Marquee: Go to Settings > Applications > Development > Enable Debugging and check the box.
    > Download and install the LG USB drivers at:  LG Cell Phones Blog You want the file "LGUnitedMobileDriver_S4981MAN32AP22_ML_WHQL_Ver_3. 2.1_2.exe"
    > After installing the USB drivers connect your phone to a PC.  On the phone, pull down the notification bar at the top of the phone's screen and click on USB Connected.  Set the phone to Internet Connection mode (CHARGE ONLY not Mass Storage).
    > Download "LG_Esteem_Root.zip"  at:  LG Cell Phones Blog.  Unzip the file and double-click on the run.bat file.
    Note: Kaspersky Internet Security will flag this file as a Trojan: "Exploit.Linux.Lotoor.ag"  I don't believe this file is a Trojan, per se.  I believe it's required during the root process.  When I let Kaspersky eliminate the file, my phone wouldn't root.  So I decided to run the root program on a secondary computer, just in case.  I disabled Kaspersky temporarily on that computer, and ran the root zip and my phone rooted without a hitch.  I later scanned my phone with Webroot Security and AVG, and neither found any viruses on my phone, so I believe the process is safe.  Technically, rooting your phone probably does involve a Trojan hack, hence why Kaspersky flags that file.  However, I must reiterate to proceed at your own risk.
    Just in Case -- How to Unroot Sprint LG Marquee:
    Use root explorer and delete superuser.apk from the /system/app folder. Go to the Android market and download and install super user. Use root explorer again and delete su from /system/bin. Go to the market and uninstall super user.  Do a factory reset & you will be back to square one.
    Step 2 -- Verify that you have properly rooted your phone with this nifty free app: Root Checker Basic
    If you did everything right, you should get a message that says "Congratulations, this device has root access."  If you fail to get that message, go back to Step 1. 
    Step 3 -- Download the Android WiFi Tether for root users app
    Currently, the only version of Android WiFi Tether that worked for me was 3.1-beta7.  The newest version doesn't work properly with tablets, so be sure to get 3.1-beta7.  Here's a link and QR code for easy access: WiFi Tether 3.1-beta7 apk
    Step 4 -- Configure WiFi Tether app:
    I've tried many settings, but these are the only ones that have worked.  Start the app and grant Super User Permissions.  Then Click Menu to get into the app's setting.  Inside the Settings, do the following:
    > Change Device Profile to: Samsung Galaxy S
    > Change Setup Method to: Netd (Master)
    > Enable WiFi Encryption: Check box to Enable
    > Change Pass Phrase to: any 13 digit password of your choice.
    > Change SSID to: any name of your choice.
    > Change Channel to: 4 (2427mhz)
    > Disable Update Check: Check box to Disable.
    > Click your phone's Back Arrow to Exit back to the app's Main Screen
    > Touch the WiFi button onscreen to start tethering.
    > Grant Super User Permissions
    Note: If you get Error Code 67, Click Dismiss.  If you update, I don't know what will happen; my guess is it will disable the ability to tether.  But if I click Dismiss, my tethering is Enabled, and works perfectly.
    Step 5 -- Grab Your Tablet & Start Tethering
    > Go to Settings > Wireless & Networks > Check the box to Enable WiFi > Click WiFi Settings > Under WiFi Networks, find the SSID for your tethering app that you entered in Step 4 above. > Click on the SSID of your tethering app > Enter the 13 digit Pass Phrase you created in Step 4 above and Click Connect.
    That's it!  Congratulations -- your tablet should now be tethered to your cell phone!
    Now that you're tethered to your cell phone, be smart, and DON'T download a ton of gigabytes.  Just be smart about it, and you should be fine.  Remember, tethering to your cell phone probably goes against the terms of service with your cell phone carrier, so DON'T abuse the privilege.
    Now that you're the envy of all your friends, why not test your data speeds: SpeedTest App - FreeMy data speed test results with my Toshiba Thrive tablet tethered to my LG Marquee:
    Download:  855kbps   Upload:  302kbps
    That's pretty great for a 3g no-contract cell phone with unlimited data.
    Happy tethering everyone!
    Go forth and Androidify!
    Hugs, Kaio
    ;oD
    From:  Kaio's Klassroom: WiFi Tether Your Android Tablet to Your Cell Phone - LG Marquee Infrastruct...

    If you have a compatible device without Android Market access, you can download Firefox directly from our FTP server. See the instructions here for details: https://wiki.mozilla.org/Mobile/Platforms/Android

  • Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Hi,
    Could you please send us a test file which has those form buttons? Please email that file to us at DL-adobereader-android <[email protected]>
    Thanks,
    - Reader Mobile team

Maybe you are looking for

  • Another Data Rate Too High Error Question

    Hi all, I have seen quite a few posts about pgc errors, but most of them deal with slideshows and not video; and I can't find anything with the REF=KApgc error. I'm just putting all of my home movies onto an authored DVD, not rocket science.  I'm usi

  • HeuristicMixedException on VMS with 6.1sp2

    Has anyone using VMS encountered the random unexplained javax.transaction.HeuristicMixedException with 6.1sp2 that was suppose to have been fixed in 6.1sp3. http://e-docs.bea.com/wls/docs61/notes/bugfixes2.html#1147388 "064232,The javax.transaction.H

  • Problem with Xsan 2.1.1 and Mac Os server 10.5.6

    Hi, We have a big problem with xsan 2.1.1 and Mac Os server 10.5.6. - We have one server, is a Open Directory Master, and also is a metadata controller of xsan2. The Volumes of xsan2 are shares via afp, and the clients (moreless 50) connect with serv

  • Can I put my ipod on a computer that already has another ipod on it without doing any damage?

    My ipod got the message "iTunes has deteced an ipod that appears to be corrupted......" I did everything suggested and nothing helped.  My ipod was working perfectly prior to my attaching it to the computer, which itunes didn't recognize. I reset eve

  • No Quicktime Pro under OS 10.3.9?

    I finally decided to purchase a QT Pro key today (currently using v 7.45) and discovered that among the minimum system requirements is "Mac OS X v10.4.10 or later." Why does enabling the edit and save functions render this version incompatible with m