PDF form javascript time help needed

I am creating a fillable form using time formats and I need help with 2 parts. First part is at the top. I would like the total time to display in hours. It should take total loaded departed minus total loaded arrived time and total it into the first Total Time box as hours but I can only get it to display as a number. Every time I tried to format it as a time it would give me an error.
Second part I need help with is down toward the bottom. It's called 030-LOAD DELAY. This will also display as a time format. It will take that top Loaded Time Total and subtract an hour. How do I do that?
I have been googling for hours and hours on this. There's so many ways to do this but every time I try different ways, it doesn't work and I end up confusing myself even more.
(and btw, I'm using acrobat version 9)

Ok. I finally got the calculations to work. But..... when I save and open in Reader, they don't work. Go back to Pro, they don't work there now either. They also don't show up under the Set Field Order Calculations. To reset them, i have to erase the calculations, save, redo the calculations. Preview the form and everything works — calculations happen and i get a total.
Adobe Reader usage rights are enabled.
Why is this so hard?
I found this thread http://forums.adobe.com/message/1152890#1152890 about it. Is this bug still going on since 2009?
Ok. Apparently you have to enable reader rights after the form is done. It seems to work now. What a pain.

Similar Messages

  • PDF form field calculation help needed

    I need to make some simple calculations on a pdf form and need some help.
    I have a form field for number of guests.
    A field for a set cost for various tickets (there are 3 levels of ticket prices) (I might not need this field).
    A subtotal of the guests attending and ticket price.
    A grand total of the subtotals.
    I can't figure out how to either put in a fixed cost in a form field or input a calculation so that the number of tickets is muliplied by a fixed number and gives me a subtotal.
    Thanks.

    Ok. I finally got the calculations to work. But..... when I save and open in Reader, they don't work. Go back to Pro, they don't work there now either. They also don't show up under the Set Field Order Calculations. To reset them, i have to erase the calculations, save, redo the calculations. Preview the form and everything works — calculations happen and i get a total.
    Adobe Reader usage rights are enabled.
    Why is this so hard?
    I found this thread http://forums.adobe.com/message/1152890#1152890 about it. Is this bug still going on since 2009?
    Ok. Apparently you have to enable reader rights after the form is done. It seems to work now. What a pain.

  • PDF Form javascript for making readonly field by using button

    Please let me know the PDF Form JavaScript for making selected fields(Text field,Drop down list,..) as read-only by using Button.

    Do you want your button to be made read only?
    One starts with Acrobat JS Reference.
    // make all fields in a form read only;
    var oField; // variable for field being processed;
    // loop through the form fields;
    for (var i = 0; i < this.numFields; i++) {
    // process each field name;
    oField = this.getField(this.getNthFieldName(i)).readonly = true;

  • PDF Form Javascript for getting User LoginName

    Please let me know PDF Form JavaScript for showing User Login Name (login id) in the Text Field (text1), when using Button (button1).

    As noted there has to be a special folder level script installed on each user's system. This script can be written to access individual properties of the identity object or only a specific property. One can also create a function to access the identity object or even create new properties.

  • How to stop someone from filling out pdf form multiple times?

    My customers order my service by down loading a .pdf form. They then fill out the form and submit the form to my email. How do I stop a customer from submitting the form multiple times. I would like for the customer to submit the form only once filled out. If I need more info I could follow up to their order manually via email. Thanks for your help!

    One of the main reasons why you have a customer posting multiple submits would be because for some reason he/she doesn't know the first one was successful.
    Add a property your form to record whether or not a valid submit has already happened. Use script to set that property on submit. Check each time the submit operation is fired to see if the property is set. If it is display an error dialog and stop the submit from occurring.
    If someone wants to open multiple copies of your form and fill it out and send it to you, well there's nothing you can do about that.

  • Created a PDF form on a PC, need save as button to work on Mac

    I have created a lovely fillable PDF form for my boss as a client would like to be able to have a rather large interactive PDF document, and the deciding factor on if we get this work is whether i can get this to work so i'm hoping you lovely people will be able to help me out on this as i haven't been able to find ANY documentation on this thus far. I have created a 1 page PDF as a test subject, which has a few text boxes, some check boxes, radio buttons, a list box and a combo box which all work great. I have also added a "Save As" button to my document (so I have set the buttons actions to Execute a menu item > File > Save As...) which works just fine on my PC. But when this button is pressed on a Mac, nothing happens. (Also my PDF form didn't look quite right on the mac, some of the formatting was off, text boxes and combo boxes were a bit squashed, but i think this is a seperate issue altogether which im sure i can figure out by myself) Now i think i know why this is happening, i believe it's because the button is set to go to "File > Save As" and im guessing the command to save on a Mac is different? or points to a different file location? (I'm not very clued up about Mac's...)
    So my question is this, is there any way to have a Save As button in my PDF document that will allow both PC and Mac users to save the fillable PDF form? (Oh by the way I have made sure that once i created my form I extended the features for reader to make sure that the form was savable once filled in.)
    Also, i know this is a completely seperate question, but if anyone had any answers on this it would be GREAT, When creating a text field in the form and coming out of form editing, the text field is shown as a horrible pale blue colour, which i know is there so that the user can tell that there is a form field there, but this pale blue really does NOT go with the aesthetic of the document. After digging around for a bit, i found out that the pale blue is a highlight colour which can be set in your preferences in reader or acrobat. Is there anyway that i could change this highlight colour for the document so that whomever opens the document on their PC / Mac doesn't have to see that horrible pale blue? Without them manually having to change their preferences in reader?
    Thanks in advance for all of your help,
    Danny.

    Double-check that the file is opened in Adobe Reader on the Mac and not in
    Preview, which is known to have various problems with it comes to forms.
    Regarding the highlight color: You can't either change it, or disable it
    completely.
    app.runtimeHighlight is a boolean that determines whether the form fields
    are highlighted, and app.runtimeHighlightColor is a color object that
    determines which color is used. Notice that these are system-wide
    preferences, so if you change them it will affect other documents as well.

  • How can we use a pdf form multiple times for different people (students)?

    Our school created a pdf form of our report card but we are not able to "save as" the forms for use by multiple teachers for multiple students. Please advise.

    Just use Adobe Reader XI.  Adobe Reader XI allows for forms data saving but it does NOT allow for locking down that data.

  • Non-Interactive PDF Form scenario without rthe need of ACF

    Hello experts,
    i have a question for you. I implemented Dynamic Non-Interactive PDF Form scenario and it works fine. But ... If some user wants to generate the PDF form it's necessary to install Active Component Framework on his computer. Problem is that some users doesn't have admin permissions on their PCs and they are not able to install ACF. Do you have any idea how to walk around the problem? For example generate and save the PDF somewhere on server side and then offer download link to end-user....
    Thank you in advance for every reply!
    Best regards,
    Zbynek

    I use Adobe Reader 8.1.2 so I think the problem will be somewhere else.
    There is written
    Step-1: In NetWeaver Developer Studio (NWDS), set the "displayType"
            property of your Interactive Form UI element to "native"
            instead of "activex".
    Step-2: Use the Web Dynpro specific controls from the "Web Dynpro
            Native" library to design your interactive form.
    Step-3: When the application is developed completly, build and deploy
    the application on SAP J2ee engine.
    Step-4: Run the application without having the ACF installed on the
            browser machine.
    in the note 1055911. But I think that we use some controls from other libraries than Web Dynpro Native (step 2). Do you think it could be the problem? The Web Dynpro Native library contains very reduced set of controls.
    Regards,
    Zbynek

  • PDF Forms JavaScript Help

    Hello,
    I've learned the hard way that JavaScript in forms may not work on tablets (across various OS). I have two custom calculation scripts running in my form, and was wondering if there's another way to write them, or a work around, to where it would work on tablets (I'm no JavaScript expert!)?
    I have one calculation that counts the number of check boxes in a list (check boxes 20-31) that are checked:
    var total = 0;
    for (var i=20; i<=31; i++) {
    if (this.getField("Check Box"+i).value!="Off") total++;
    event.value = total;
    From that, I have another calculation that returns a value in another field based on the number of check boxes checked:
    var a = this.getField("Check Box Count").valueAsString;
    event.value = "";
    if (a=="1") event.value = "0.00";
    if (a=="2") event.value = "300.00";
    if (a=="3") event.value = "300.00";
    if (a=="4") event.value = "300.00";
    if (a=="5") event.value = "300.00";
    if (a=="6") event.value = "300.00";
    if (a=="7") event.value = "300.00";
    if (a=="8") event.value = "300.00";
    if (a=="9") event.value = "300.00";
    if (a=="10") event.value = "300.00";
    if (a=="11") event.value = "300.00";
    if (a=="12") event.value = "300.00";
    I don't know which of the two, or both, is the issue. Is there a work around I could use?
    Many many thanks in advance for any help!!

    Do you mean update the full script to the below? I tried that and unfortunately it didn't work. Am I missing a command somewhere?
    Thanks!
    var a = this.getField("Check Box Count");
    event.value = "";
    if (a==1) event.value = "0.00";
    if (a==2) event.value = "300.00";
    if (a==3) event.value = "300.00";
    if (a==4) event.value = "300.00";
    if (a==5) event.value = "300.00";
    if (a==6) event.value = "300.00";
    if (a==7) event.value = "300.00";
    if (a==8) event.value = "300.00";
    if (a==9) event.value = "300.00";
    if (a==10) event.value = "300.00";
    if (a==11) event.value = "300.00";
    if (a==12) event.value = "300.00";

  • Javascript array help needed to generate narrative from checkboxes

    For context...  the user will indicate symptoms in cardiovascular section, selecting "deny all", if none of the symptoms apply.  The narrative sub-form needs to processes diagnosis sub-form and generate text that explains the symptoms in a narrative form.  For example, if the user selects "deny all" in the cardiovascular section, the Cardiovascular System Review field would have:  "The patient denies:  High Blood Pressure, Low Blood Pressure.  The logic associated with the narrative needs to account for "deny all" and all the variations of selections.
    I have what I think is a pretty good start on the logic, but would like some help with the following:
    1) loading selected fields into the cv_1s array
    2) loading fields not selected into the cv_0s array
    3) generating the narrative
    See "phr.narrative.cv_nar::calculate - (JavaScript, client)" for the coding I've done thus far.  Feel free to comment on any efficiency opportunities you see.  I have a SAS programming background, but I'm new to Javascript.  Thanks...
    Rob

    Hi Rob,
    One approach would be to give your checkboxes the same name so they can then be referenced as a group and use the caption as the source of your text, so you shouldn't have to duplicate the text and will make it easier to add more later.
    Attached is a sample doing that.
    Hope it helps.
    Bruce

  • Error Generating PDF: ADS/Visual Admin help needed

    We configured ADS and are trying to generate PDF files from BI reports through our BI DEV thin portal.
    AFter troubleshooting and prgressing past several errors, we are now getting the java.net.SocketTimeoutException: Read Time out error.
    I've adjusted the Web Container/com.sap/irj sessions to 300 it failed and then to 600 and it still failed.
    Still getting the same error...
    Please help...
    Jay

    Hi Naseer,
    Please check the following SAP Notes for details: 
    Note 928493 - Error when generating a PDF
    Note 925741 - Adobe document services (ADS) with non-supported platforms
    Note 944221 - Troubleshooting if problems occur in forms processing
    Also, recheck the ADS configuration and see that ADSUSER Password has not expired. If issue persists set the Trace Level for Web Dynpro to 'ALL'. You can find detailed information about setting the Trace Level in Note 742674. This should give you more details of the error.
    Hope this helps!
    Thanks and Regards,
    Preetha Rethinam

  • Oracle forms installation - some help need

    I am trying to install Oracle forms - but get the follwing message:
    Checking swap space: 576 MB available, 1535 MB required. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n]
    actually - I have no choice to choose y and try what's going on - so - is this means that I shoul add some 1.5 GB of RAM to my computer? (I have already 700MB, only 300 of them are used)? I am using WinXP, free HD is above 3.5 GB, 2.4GHz processor.
    Can I try to find some workaround - e.g. simply try to copy jar's from 'stage' (direcotry in installation disk) in Oracle application server's lib directory (where it is in Oracle_Home directory?)?
    Any experience with installing Oracle forms?
    This was trying to run setup.exe, but when I am trying to run wsf.exe - I get:
    SEVERE: Unable to locate the MDAC Update Status registry key value, probably because the installation was aborted.
    MDAC possibly stands for Microsoft Data Access Components? If so - where is problem - I can run a lot of DB servers, including Oracle server itself normally?
    BTW - is there any free service available for Oracle Forms skills development (e.g. as for Oracle SQL the Intel test drive is available?)
    user454720

    OK - now I increased the max limit of my page file and now I achieved this:
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.0, 5.1 or 5.2 . Actual 5.1
    Passed
    Checking monitor: must be configured to display at least 256 colors . Actual
    4294967296 Passed
    Checking swap space: must be greater than 1535 MB . Actual 1600MB Passed
    Checking Temp space: must be greater than 150 MB . Actual 1942 MB Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from C:\DOCUME~1\ADMINI~1\LOCALS
    ~1\Temp\OraInstall2006-03-18_01-57-43PM. Please wait ...
    however - after this I receive the standard messgae:
    'setup.exe has encountered a problem and need to close. we are sorry for the inconvenience..... Please tell Microsoft about thsi problem'
    actually - I have little ideas what to do further - maybe I should look for other Oracle Installer version? I am using:
    Oracle Universal Installer version: 10.1.0.2.0
    and I am trying to install
    Oracle Deveoper Suite: 10.1.2.0.2 (so - a bit higher)
    I can run OUI without any problems, my Default JRE is 1.5_1 - so - all seems to be OK?
    Please - if any idea - help me :))
    Thanks in advance!

  • Order Form Processing - Urgent help needed

    Hi All,
    I am in deep trouble trying to sort this out. Please help me get out of this as soon as possible. I am using JSP, MySQL and Tomcat for development of my company's web site. I have a dealer section where dealers can login and place orders online. Given this scenario following are my worries.
    Suppose all the entries in the form are OK and the form is submitted following has to happen.
    The entry goes to the Order table with status as NEW. This happens and works fine now.
    A copy of acknowledgement is mailed to the dealer. Also possible with JavaMail.
    The order acknowledgement letter is printed automatically without any human intervention. i.e. window.print() method is not to be used.
    Or simply put the user has to click a single button and all these 3 actions should take place, he should not be made to click "Send Message" or "Print" > OK.
    Please anybody and everybody who can help reply.
    Rgds,
    REDAM

    I can help u for sending acknowledgement on clicking submit button.
    u add following code in ur form and ucan send the mail.
    But other things are not clear pl. make them clear,
    Bye
    Samir
    //put mail api and set the classpath, if u need help write again
    <%@ page import="java.awt.*,java.util.*, javax.mail.*, javax.mail.internet.*" %>//import these
    Properties props = new Properties();
    props.put("mail.smtp.host", "urmailserver");//add here ur mail server ip aa 198.1.1.xx or name
    Session s = Session.getInstance(props,null);
         /*String      NAME=request.getParameter("NAME");
         String      COMMANDO=request.getParameter("COMMANDO");
         String      GGBS=request.getParameter("GGBS");
         String      ADDRESS=request.getParameter("ADDRESS");
         //String      NAME=request.getParameter("NAME");
         ///String      NAME=request.getParameter("NAME");*/ change it according to ur need
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress to = new InternetAddress("[email protected]");
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("Test from JavaMail.");
    message.setText("Order from * "+DEL_NAME+ " *\n\n "+"Commando Quantity= "+COMMANDO_QTY+"\n\n "+"GGBS Quantity= "+GGBS_QTY+"\n\n "+"Delivery At # "+REC_ADDR1+"\n"+REC_ADDR2+" #\n\n ");//change this to ur need
    Transport.send(message);
         response.sendRedirect("/indorama/jsp/orderconfirm.jsp");

  • Web forms issue clashed - help needed!

    hello experts,
    i need an urgent as my website is now live, its beyond post-deadline. So I know a kind helpful solution to my problem. Ok here's the thing. I am unable to upload two webform in a single page. If i do add several web form into one page, the email notification won’t work. in other words, i will not receive any enquiries from customers. why is it not possible? i need to add different  web form to different pricing option. please check out what i mean at my photography webpage at http://www.purpleperfect.com/wedding-offer-pricing.html
    please help me resolve this issue, thank you in advance.

    i guess that makes sense.... at least i need to add a second form at the bottom of the page, right on "click here". 
    btw, i have tested the forms, and it works fine. but if i add two different forms from bc into a single page, none of the forms will work within that page. i had this issue previously with my client website, but i never needed two webforms in a single page until today. do help me out.

  • FORM design customization - help needed!!

    Hi,
    I'm working on several forms for a project and I was wondering:
    1. How do I change the color of a PUSH BUTTON? The default is gray and changing either foreground/background color don't do anything.... I also tried applying visual attributes and SET_ITEM_PROPERTY built-ins but still couldn't resolve it.
    2. Any way I can also change the color scheme of the WINDOW itself during run-time? The default is blue gradient on the top and gray all over. I know this might be a hard one as it might involve editing some default setting of FORMS...
    Any help is appreciated!
    Regards,
    Erica

    Erica, I assume you are having this problem on Windows. Windows does not expose the button color as runtime property and so Forms cannot set this. This is controlled by the Forms window manager so if you want a button to be green you have to see the windows setting - and this means all buttons will be green.
    Is a limitation of Windows.
    Regards
    Grant Ronald
    Forms Product Management

Maybe you are looking for

  • Should I synch songs to my iPad or use iTunes Match?

    I have a new iPad with 64gb and a 30gb song collection. I am also an iTunes Match subscriber. I was wondering whether I should synch my music collection to my iPad or simply turn on the iTunes Match feature on my iPad and transfer the songs that way?

  • Populate data into customise field in the line item of FB60

    Hi, Does anyone know which BAdI/User Exit/ Implementation that i can use for populating data into the customize field in the line item of FB60? Thanks in advance.

  • Secure shell in a whole root zone

    Hello, I have two whole root zones running on my Solaris 10 server along with the global zone. I am able to secure shell in to the global zone, but not the whole root zones. Secure shell does not appear to be running in the whole root zones. I've tri

  • My screen is pink and if I'm moving laptop the pink colour gone and again is and gone

    my screen is pink and if I'm moving laptop the pink colour gone and again is and gone what is wrong ?? connection ??

  • Mynumber displayed as unknown.

    I have an iphone 4 on ios 6.1.3, my number is not displayed in the contacts list and in settings>phone it shows unknown number. Because of this I cannot activate facetime and imessage. is there anyway to solve this problem? I really appreciate your h