Problem with a Form field, need help

I work for a small police agency and I am our IT guy.  Most of my IT tasks have many been hardware and system software and networking.  I have been trying to learn and teach myself programming.  I also create forms for agency use.  I have been working on a form and want to add increased functionality to allow our officers to issue a citation with the least amount of time spend on the form.  One main issue is that we have to have a unique citation number.  We have come up with a format that will specify as such:  YYYY(Officer's 4 Digit ID Number)-(Auto Incrementing number).  So, for instance, if this is my 55th citation issued and my ID number is 0100 the citation number would appear like this:  20120100-0055.  The ID number will be entered by the officer earlier in the form.  The problem I can't seem to vision around is how I will keep the number to increase by one and have it maintain that way.  I want it to be form specific, because each officer has their own vehicle and MDT that the PDF will reside on at this time. 
So far, what I have toyed with in the past 30 minutes is this:
var Ticker = 0001;
var Year = getFullYear();
var x = getField('OfcIDNo').value;
Eventually the form will be autocreated by a program that will be run from a centralized server.  I have even thought about running the from from a server and taking all the data and INSERTing it into a SQL Server 2008 Express DB table on a server, but I'd still have to have the citation number created at the form as the officer fills in the data.  The last four of the number doesn't have to reset when the year changes, but it would be a plus.  Any information anyone can help with I would appreciate it. 
Thanks in advance

Seems like it was too easy, is it safe to assume that javascript and javascript functioning in Adobe PDF is a bit different learning curve?  That does help, the only thing that I'm missing is the Auto Incrementing 4 digit number.  I was toying with assigning a variable in the globals that would auto increment but having problems with how I would execute it.  Each copy of the form would be installed on each officers MDT so the number would be specific to that officer. The format will be YYYY"OFCIDNo"-####.  I would like to assign the number to the global variable on the execution of the Print Dialog.  This way the officer an clear the form if he/she needs to start over and then it stays whether or not they close the file and reopen it. 
That syntax has been very helpful to get started. 
Thank you,
David

Similar Messages

  • Problem with Buttons/Form Fields in Acrobat PDF when created in InDesign CS4

    So I have been working for quite some time on an interactive form for an internal client at my job. It has two major components, one is the side bar navigation, which I created using buttons in InDesign which link to bookmarks in the document. The second aspect is that I also created "check boxes" accoring to this video: http://www.adobe.com/designcenter/cs4/articles/lrvid4434_ds.html
    I have two major issues:
    1. Whenever I try to convert my boxes to form fields in Acrobat it will not recognize them unless I save out 4 pages at a time (rather than the whole document).
    2. I then have to combine the document and get multiple sets of bookmarks, and some bookamrks are corrupted (not working properly). Even when I try to convert the whole document some of the buttons are corrupted.
    UGH tired of this project, I am really bastardizing the whole thing to get it done, but want to figure out the problem as this is an ongoing document that we will be using over and over again in future years.
    I am attaching the pdf file--this is a pieced together one (saved out 4 pages at a time) (which I did do some fixes to to get buttons to go to proper locations) and the original indesign file (partial file due to size).
    PLEASE OH PLEASE HELP ME!

    Acrobat's Form Wizard is good but not perfect when creating form data from a PDF. I have never encountered Acrobat not able to finish the process of creating all form fields, but have encountered very slugish performance afterwards when there was a lot of forms, buttons, and other elements within the pages. And I would say, from your attached PDF, it is pretty heavy with content. I am going to suggest an idea, but I have not tested this to see if it would work.
    In InDesign, create a layer for your navigation tabs, and a layer for your text with the check boxes. Create two PDFs from ID, one PDF with just your-nav tabs, the second with just your text with check boxes. In Acrobat, perform the Form Wizard on the second PDF and see if this will finish, the idea here is to reduce the cllutter for the Form Wizard to finish. If it does, you can merge the first PDF as a layer with the second to have a completed document. Again, I have not tested this theory.

  • Same problem with payment but still need help to s...

    Hello,
    Could one of the mods. please respond to this?
    Still have a problem with paying bill/dd's. As my next bill is due by the end of the week (23/9/11) I will be billed for the whole amount. Due to current circumstances I need to be able to have a monthly budget. This is something I tried to do but without going over old ground this is currently not working. As setting up a DD requires payment of outstanding amounts I am looking for now is options which BT can offer to be able to pay my bill in regular monthly payments. I also have been charged for late payments which is not helping the issue. Could you please clarify what options are available for me to do this? I believe that I have shown 'goodwill' on my behalf to make payments but to stop this from remianing an ongoing problem I would like to resolve this ASAP. Thanks.
    Gary Pocklington

    Hi oldgreygary
    If you drop me in an email I'll have a look over your account and see what we can do for you. 
    You could also give the billing live chat a try as well, you can get a link for it at the top of this board.
    If you would prefer, drop me in an email.  Use the 'contact us' form in my forum profile under the 'about me' section. You can find it by clicking on my username.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Problem with Logic/external HardDisk - NEED HELP!

    Hi Everybody
    I've got a big problem with my Logic Projects. I am recording Songs with my band and it's all 24bit, 96 KHz. With more than about 20 Tracks playing simultaneously, Logic shows an error that the disk is too slow.
    For all the Audio stuff, I am using an external LaCie HardDisk, 250GB, FW800. Buffers are on the highest setting in Logic, and the "Larger Disk Buffer" Option is turned on.
    In the Terminal, I watched the Disk usage by typing "top -d", and with 20 Tracks playing, it shows a Disk read of about 6000KB/s. This is well within the FW800 Standard! When I copy a file from that HardDisk to another one, Terminal shows a disk read of about 25'000KB/s, so nothing seems to be wrong with the disk itself. I guess it must be a Logic problem.
    Can anybody help me or does anyone have the same problem? Any help is greatly appreciated... Thanks!
    (I am using Logic Pro 7.1.1)
    Message was edited by: bollo.sh

    Hello,
    This is something I have experience with. If you want to you can go here to see my full set-up.
    www.KenosisStudios.com
    I am in a pro scenerio where I often need and use 50-60 tracks simult. at 24/96khz. I used to use a Glyph rack with 7200rpm drives and when I started out I spent unreal time on the phone with Emagic, Apple, Sweetwater, and Glyph tech support to try every option of getting ProTools HD results out of my track count. I am no tech guru, so don't live by my words alone, but my personal experience states the following;
    I tried raiding the drives, splitting tracks to seperate drives for playback, you name it. The bottom line is this, your problem is not, as you know, with the bandwidth of your bus. It is the speed of your drives. Were you to have 10krpm or 15krpm drives you would immediately see a difference. Yes bandwidth and all sorts of techy stuff comes into play, but by and large this is what you need to address.
    What I ended up doing was this- I started using the outboard drive for back-ups and other outboard drives for my sample libraries. I installed in the G5 second drive slot a 7200rpm Seagate Sata drive and strictly track just to it.
    Doing this alone got my track count to the 50-60track, 24/96khz scenerio I use today.
    My advise, depending on how big you need the drive to be, do the research on what 10krpm and 15krpm internal Sata drives are dependable and go with that. Of course the faster the rpm the smaller the drive, so just look at a good balance for your situation. If you must go external, again, the faster the better, and going Sata will do you better than FW, etc.
    I hope this is of use to you.

  • Problem with changing flash content - Need help

    I need help in changing  the flash content. Here is my proble,
    1) I bought a flash template (I will call this Original) from a website and paid some money to customize my menu,logo and background color.
    2) After they finished it they sent me several files. Like 1) index.html, .swf, psd, .fla. In all the files .html,.swf (the video) and .psd I am seeing my customize changes (logo,menu and background color). But the .fla file they sent me is still shows everything from original template. It doesn't have my logo, menu or background color.
    3) I asked their technical support and they walk me through. a) Open the .fla file in flash pro. b) Change the content c) Hit Ctrl+Enter and it will export the new .swf file to the flash folder. d) Make sure I delete the video from flash folder and replace the name with the one I created.
         I did all these steps. But the problem is the .SWF that i generated is showing everything from the orignal template. It did change the content but I don't see any of my customize request. (Menu, logo or color)
    4) Then I open the index.html and I DID NOT see any of the changes in the content.
    My feeling is they did not provide me the correct .FLA file. I really need your help.
    My confusion is a) Have they provide me the correct .FLA file or I am doing something wrong. b) When I generated the new .swf video and renamed it properly why it didn't reflect in the index.html file.
    I am really going back and forth with them since last 15 days and its not going anywhere. I really appreciate any help.
    Thanks,
    Jessy

    Unfortunately, if you have not enough knowledge about using Flash, and do not want to pay to have this done for you, the folks who did this for you are likely going to be the only ones who can help you resolve it.  They should be able to provide the edited fla and the new swf if they are in any way a credible/reliable business.... which at this point sounds like they are not.

  • Problem with Quicktime...need help...

    I used to visit "VirusRadio.com" frequently and listen to old Opie and Anthony shows online, and never had a problem. Here lately (after installing XP Pro, I've noticed) I've been totally unable to stream content off this website. When I had Home Edition, I just downloaded quicktime and this site loaded perfectly, yet this isn't so on XP Pro. Maybe some of my firewall/Internet settings aren't correct, or maybe it's a quicktime issue...but I need help. I'm losing my mind trying to figure this out. Any help would be much appreciated. Thanks!

    These software conflicts could be due to some inconsistency the Leopard upgrade caused in the System folder. Doing a clean "Archive & Install" of Leopard will probably fix your problems.

  • Problem with CPU?? need help badly

    Hey guys, its been a sad two days for me.. I have the MSI k7T266 PRO, and yesterday while i was moving tires into my apartment, one of them fell hard on the floor and my computer shifted, i opened the pc to find out that the CPU fan has shifted from the cpu, and the cpu smelled kind of burnt..
    Anyway i had an ATHLON XP 2200 i think...
    Anyway i went to compusa today and got a new CPU, an AMD 2400+ SEMPRON PROCESSOR. i installed it, put my huge heatsink,fan, and powered up.... NO SHOW..
    The Diagnostic LED's show 4 RED lights,(which according to the manual means a problem with the CPU), it was showing 4 red lights with my old blown cpu and its still showing 4 red lights with the new cpu.. im getting frustrated..
    Anyway i tried resetting the bios using the JBAT jumper, it still doesnt work..
    I know the new CPU is good because i can tell a blown CPU..
    So can anyone help me out??

    Hello,
    http://www.msi.com.tw/program/search/ser/SerConProRes.php?keyword=k7t&kind=
    Which one is yours?
    The Sempron 2400+ CPU has a 166Mhz FSB.
    Your board does not support this CPU.

  • Problem with My photo stream need help.

    Hi.I just use my photo stream with icloud control panel.First it's work,my pictures upload automatically to my pc but now when I take new photos,they are not sent.
    It was happened after I had deleted all my photo stream but my setting still same. I don't know the reason and need help.Thank regards.

    In my iPhone,at first my photo stream still uploaded but now when I took a photos,it didn't upload to my photo stream.

  • Gps problem with 5.0.1 NEED HELP

    Hello everyone.
    My Iphone 3gs New bootrom is updated to ios 5.0.1And now my gps has hugh problems.
    if i start navigon of tom tom he find me for a sec then iam gone and he cant find it.
    tried reinstalling it, network reinstalled, ios 5.0.1 reinstalled jailbreaked it and unjailbreak it.
    Nothing works, when i cal my carrier t-mobile they say send it to us and you pay fore the cost but iam not going to pay fore something i dindt broke right?
    read it in several forums and its a world wide problem. So called apple in holland the just say cal your carrier. Apple this stinks so what are you going to do?
    what can i do ??
    NEED HELP

    I think your iPad is a candidate for restoring via recovery mode. Read this article for instructions.
    http://support.apple.com/kb/ht1808

  • Having problems with menu bar! NEED HELP

    I'm having some serious problems with the finder menu bar. When I click on the blue apple, it won't show anything! It just highlights the blue apple without a pull down menu. Same goes for the Window pulldown menu. Also, under finder. when I click empty trash, or do the equivilent keyboard shortcut, it won't empty the trash. I have to ctrl click on the trashcan and empty it that way. Please help me fix my finder, or else I'm going to have to reformat and start ALL over which I really don't want to do. Thanks!
    PS This is on a Dual 1.42GHZ G4 Tower w/ Radeon 9800 Pro graphics card and 2GB (4X512mb) ram. I also updated to 10.4.7 from 10.4.6 to see if that fixed the problem, and no dice! Thanks!

    Well if the problem occurs in two accounts then it is systemic. When did the problem begin? Was it with a software update, sch as from 10.4.6 to .7? If so, try reapply the update using the Combo updater.
    IF that doesn't work you can re-install 10.4 using the Archive and Install method, which does not wipe your disk, does not require reinstalling all your applications etc, However, BACK UP YOUR DATA FIRST, and read up on the A&I before you do it.
    Hope this helps
    Regards
    TD

  • Have problem with K7t-266pro2-A NEED HELP !!

    HI, I have a MSI K7T266pro2-a and I just got it yesterday. Everything works fine, except for one thing, which is my floppy disk drive. It detects it, however, it wont scan any of the diskettes i insert. Also when i goto my floppy drive it has an error saying some error that it cant read it or something then asks to retry, abort, fail and it keeps going like that. How do i fix this problem with the Floppy drive, Thanks.

    Have you tested another floppy drive? How bout another cable? For some reason, I have had to change floppies depending on the mobo because some I have had don't like some floppies I have had.

  • A problem with my mifi 2200 need help please

    Hey everyone. I came here to get help with my verizon mifi card that all the sudden after such a great run stops working!
    I had bought two mifi 2200 cards at the same time about a year ago. All I did was turn them on and was getting Internet connection wirelessly to my ipad right away. My connection worked for ages and never had a problem until recently. One of the cards stopped working roughly about three months ago. I looked around online for things that perhaps was stopping the device from working. I figured that the device was ready for an update and that was prohibiting the device from working, but here is the weird part; the other card (the exact same one) was working when this first card I mentioned wasn't. The card working continued to work until just recently like a day or so ago. Odd right. Anyway, the first card I connected to the USB cord that was provided in the box into my laptop. I was immediatly prompted to download Verizon Manager. My first time ever getting to this step. I was connected to my Internet connection at home via LAN line because that was my only option to Internet. After the software was downloaded, I was prompted to update firmware in which I did, then I was told to update wifi area coverage information which is just that search for finding local wifi spots, the next one is the important one that never seemed to work. The message read somewhere along the lines of you need to update coverage area information as if in there was some new program via coverage to get the stuff to communicate with the device. I said yes and then a message popped up saying Activation and had this bar going side to side, but after a while was told the programming failed. The device has already been activated so I don't understand the reason for the word Activation. Regardless, I tried doing other things I've read on this forum like resetting the device, turning standby mode to never, and so forth, but none worked. The device powers on/everything is on, and I can connect to the device, but I have no Internet. Please, some one tell me what is going on.
    Thank you and hope to hear from you soon.

    Sounds like you botched a firmware update and bricked your MiFi.
    Have you tried contacting VZW for a replacement device yet?

  • Problems with BB Curve 8520 - Need Help!

    Hey you,
    I have a BB Curve 8520 and I love it so much.
    But in the last week there came up a few prblems I cannot solve without help.
    I love my Blacky and don't want to buy a new because Blacky and I, we are a great team since 16 months.
    The first problem is that whenever I try to do something with my BlackBerry World I get the message that the informations (probably of my BlackBerry ID) could not get updated. For that reason I am not able to download any new apps, which brings my to my next problem: I tried to dowmload WhatsApp from several sites like whatsapp.com or whatever and I tried for hours and days, but there is always the message that the download failed because of "970 Invalid COD" and that is so exhausting as well as being without WhatsApp. I might have to add the all the other applications are working. But the WhatsApp had to be updated and then it disappeared, since that I work on downloading it again and again and again ...
    The third thing is that I tried to get in some Wifi-network , I am asked to type the password that is shown on my screen into the Wireless-Router, a thing, that never happened before.
    Can you help me please?
    What is wrong with my Blacky?

    sdgardne wrote:
    Hi and Welcome to the Community!
    >>  Thank you for helping me!
    BlackBelly2308 wrote:
    The first problem is that whenever I try to do something with my BlackBerry World I get the message that the informations (probably of my BlackBerry ID) could not get updated. For that reason I am not able to download any new apps
    sdgardne wrote:
    Unfortunately, that information is a bit too vague from which to understand what is going on. Can you perhaps provide a specific sequence of steps (step-by-step, please) that you conduct that leads to this point. Also, the exact and complete content of the error message presented will help greatly in understanding what is going on.
    >>  For example: Options > BlackBerry ID > "Unable to update BlackBerry ID account information while offline."
    Everytime I try to download an application from the App World, the message "Error cannot get new token due to device offline state. (Error ID: 40760)" is shown on screen.
    BlackBelly2308 wrote:
    I tried to dowmload WhatsApp from several sites like whatsapp.com or whatever and I tried for hours and days, but there is always the message that the download failed because of "970 Invalid COD"
    sdgardne wrote:
    Here is a KB that discusses that error:
    KB21694 907 invalid COD error appears when third-party applications are downloaded
    From that, it sounds like your BB is likely associated with (or once was) a BES server...and that the IT Policy is blocking the ability to install this app. If you are on BES now, then talk to your BES admins as they are in control. If you are not on BES, then please check this:
    KB30076 How to check for an IT Policy on a BlackBerry smartphone
    If you have an IT Policy and are not on BES, then you need to remove the IT Policy. But, that's going to be a big job...it will totally wipe your BB clean of everything. So, to prepare, please review and conduct the Backup steps documented in the link you can find in my auto-sig on this post. After you have a full backup, you can conduct this:
    KB31291 How to reset a BlackBerry smartphone to factory settings using BlackBerry Desktop Software
    After that completes, when you conduct your restore, DO NOT do a full restore...rather, restore only those databases you need (e.g., contacts, calendar) and especially avoid any databases that have anything to do with Enterprise or IT Policy...if you restore those, you'll just wind up back where you are now.
     >>  I have checked my BB for any IT Policy but didn't find a thing. Maybe I didn't search for it right?
    Furthermore I don't know what this BES and BIS are about, I am using the normal BB Browser if it's that what you were asking for. Should I reset my smartphone anyway?
    BlackBelly2308 wrote:
    I might have to add the all the other applications are working. But the WhatsApp had to be updated and then it disappeared, since that I work on downloading it again and again and again ...
    Hmmm...an IT Policy may or may not be at fault here...
    BlackBelly2308 wrote:
    The third thing is that I tried to get in some Wifi-network , I am asked to type the password that is shown on my screen into the Wireless-Router, a thing, that never happened before.
    sdgardne wrote:
    I don't understand...can you provide the step-by-step that causes this to happen?
    >>   I solved the problem already, thanks to devolco below!
     sdgardne wrote:
    Good luck and let us know!
    Thank you so much for your help!!

  • Re: Having some problems with the 8350i. Need Help Please!

    Everyone I talk to hears echo's. I also don't get text messenges until sometimes a full day after they're sent. I wonder if our geographic area dictates why this is happening..  if you search the forum for "echo" there's quite a few people with the same problem. I'm in Florida.

    How are you receiving the sms manually?
    If your device is new, proceed to change the device. 
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • Having some problems with the 8350i. Need Help Please!

    I just got the 8350i through Sprint/Nextel and already am having problems receiving text messages and when I finally do receive them (one day later or after turning set off then back on), I have to manually receive the message.
    Also, I have customers complaining about an echo on their side of the phone every time they call me.  Saw some others where having this problem as well.
    Is there anything I can do to fix this?  My phone is vital to my business and any help is greatly appreciated!!!
    Thnaks!!

    How are you receiving the sms manually?
    If your device is new, proceed to change the device. 
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

Maybe you are looking for

  • Battery Drain Iphone 6 after Upgrade to IOS 8.3

    Hi, After upgrading my IPhone 6 from IOS 8.2 to IOS 8.3 couple 2 days ago, I'm keeping the IPhone on power adapter, unbelievable battery drain. I did everything I can to prevent running out of battery: - Brightness - Background applications - Reset a

  • Adobe Reader can not open thousands of vital PDF files for the company I work for.

    Adobe Reader can open every PDF file on our server except for the many files that were received by one company. The coding is corrupt and I have not found a solution yet on how to decode it in order for it to open properly. I have looked into using u

  • Firefox does not trust Google or Gmail

    Firefox will not access Google or Gmail or even the bits of Mozilla needed for some support functions. The issue seems to be an unrecognised certificate, tho' Internet Explorer has no problems with the same certificate from these sites. I have read t

  • Price for new valisdity period not updating

    HI we have a quantity contract we have updated the prices of the services for the contract item WITH A NEW VALIDTY DATE. but the contract still showing the price of the old validity date. If we check the conditions of the individual items there are t

  • LiveCycle Output: Font cannot be found (PDF/A) but is installed

    Heya! I'm using LiveCycle ES3 OutputModule calling the GenerateOutput2 method via SOAP to merge an XDP with XML data to an PDF/A document. Unfortunately I get the output: "(com.adobe.document.xmlform.ReturnStatus@33c0ab2b) XMLForm, render : 20511, Re