LiveCycle Form Timer Example Needed

Does anyone have a LiveCycle form count up timer example they can share? The timer needs to have a start and stop buton and a reset/clear button.
I have seen an example in an Acrobat form but do not know how to create one in LiveCycle.
Thank you

I'm not sure why that happens in the preview. Does it stop completely? I've had experience where the preview doesn't work and the stand alone app does and in most cases I'm just happy it works in the standalone and leave it at that.
For the time format put the following code in the calculate event (or whatever event you want) of the TextField you want to see it formatted, where TextField1 is the field showing the total amount of seconds:
var
a = TextField1.rawValue;
seconds = a % 60;a /= 60;
minutes = Math.floor(a % 60);
a /= 60;
hours = Math.floor(a % 24);
this.rawValue=hours+":"+(String(minutes).length==1 ? "0":"")+minutes+":"+(String(seconds).length==1 ? "0":"")+seconds;
I'm sure there's probably a FormCalc trick or display pattern out there that mitigates the need for all that code but this works too.
Kyle

Similar Messages

  • Form created with Livecycle Designer with a SQL database - do you need LiveCycle Forms installed?

    Hello,
    I'm REALLY hoping someone here can help me, I have spent over four hours on the phone to Adobe in the last 3 days and I'm getting no where what-so-ever. I can't even find out where /how to complain about it! (but thats another story)
    Here's my situtation:
    I work for a company with approx 140 staff. On one computer, we have Adobe Livecycle Designer ES installed, and we have used that program to create a form which has a link to a SQL database.
    The link in this form doesn't work on the other computers which has the basic (free) Adobe Reader. From doing research within these forums
     , I have found that the form will not work on other computers unless they have Adobe Livecycle forms installed on their machines. 
    What I need to know (and what they cannot seem to tell me when I call), is two things:
    Is it correct that in order to use a form created in Livecycle Designer which has a link to a SQL database, that the machine must have LiveCycle forms installed?
    How much does Adobe LiveCycle Forms costs?
    PLEASE, if you can answer this question, I would REALLY appriciate it....
    Thank you!

    I presume you are asking if you need Livecycle Forms ES? Forms ES is a component of the livecycle software suite intended as a document service which will be installed on a server within the organisation. A couple of things this document service can do is to render XDP into multiple formats (PDF, html, etc.), execute script server side (for example the database connection) on behalf of the client (reader, etc.), integrate with backend components, etc. So no you do not install this on each client.
    For database connections to work, you either have a server with Forms ES installed which can connect on each clients behalf (ie. Client->Forms ES Server->Database), or you have a reader-extended PDF to allow connections to be use in the free basic Reader (i.e. direct calls to the database or using web service calls to your own database components). However, reader-extended pdf would probably require Reader Extensions ES component installed on a server (you once off extend your developed pdf through this and then hand it out to each of the end users). Not sure if the Acrobat Reader extensions will cover this functionality since I have not tried that. I dont think it does. Otherwise you would need full acrobat on each client.
    How much database integration is your form actually doing at the moment? read only? Full access? And how many clients do you expect to hit your database? Depending on what you need the form to do, there is always the option to try and build the integration yourself. Do simple http submits from the browser (hosting reader as a plugin) to some component somewhere which in turn hits your database. Wouldnt require additional licensing but alot more development work.
    As for cost for the various components, thats a question only Adobe can answer for you since they all sit squarely in the enterprise space and licensing for that is not as simple as off the shelf products.
    Maybe someone else has a view on it or has an alternative.

  • How to insert a link of file in the form and view it at any time i need

    Hi
    I'm using developer 2000/Form designer form version 4.5
    how i can insert a link of any file Word, Excel, PDF, JPG in the form run time
    and open it from the form at any time i need
    example
    i have employ table which contain details of the employ and i want to attach a link of his photo which i already saved it in local drive
    so when i have a new employ i enter his details and brows of his photo and when i select the link of the photo will be with his other details
    and when i need to view the details of the employ just enter the emp_no and i will get details including the photo link and when i want to open the photo just double click the link
    any body can help me on this
    regards

    Hi,
    I think you should investigate in how to upload the information into the database. If the employee keeps the photo on the local drive then this isn't realy for everyone to use
    Your options are : Upload to the database as ImageItem
    Frank
    Ps.: Forms 4.5 is desupported

  • How do I remove the digital signature option on Adobe Acrobat 7.x? I don't want it, but it pops up every time I need to sign a form, and I cannot find a way to remove

    I created a digital signature to sign forms using Adobe Acrobat 7.x. I really don't want or need this feature, but do not know how to remove it or keep it from popping up every time I need to sign a form. Can anyone help? I'm not that technically savvy, so please explain in layman's terms. Thanks!

    It's not clear to me what you're trying to accomplish. If you get rid of your digital ID you will still be prompted to create/add one when you need to sign a form, which you say you still need to do? Do you really just want to e-sign (hand-drawn signature, or stamp) instead of digitally sign? Do the forms you're using have digital signature fields?

  • Need to add flex grid in livecycle form to generate dynamic PDF

    Hi,
    not sure this is the right fourm or not, but I require a way to add flex data grid in my livecycle form to generate PDF containing flex grid.
    I tried adding a flex swf in Flash Field in Live cycle but it is giving me
    Error #2032: Stream Error. URL: file://PDFMedia026281/g/framework4.6.0.23201.swf
    I am new to this environement so any help would be great.

    Hi,
    with Designer ES3 (formerly know as ADEP Designer) you can use Flash files within XFA forms.
    Check Niall O'Donovan's article.
    He has prepared a nice example of using flash charts which can be manipulated at runtime.
    http://www.assuredynamics.com/index.php/2011/10/whats-new-in-adep-designer/

  • I don't want to send my forms now, or have to send every time someone needs it!

    Cant I have it sitting somewhere like a website or something?
    How annoying is it to have to distribute a form everytime someone needs it.
    So they have to email me sayng they need to fill it out, and then I send it?
    Want I put it on a site like with Acroforms?

    Probably you can refer to your other thread for the solution.
    http://forums.adobe.com/thread/926827?tstart=0
    Thanks
    Srini

  • LiveCycle form stop watch

    Is it possible to create a stop watch that the form user can start and stop as many times as needed. When finished, the total time recorded by the stop watch would be displayed.
    Example:
    User starts the stop watch at 08:08:00 stop watch displays 00:00:00
    User stops the stop watch at 08:45:10 stop watch displays 00:37:10
    User starts the stop watch at 09:15:00 stop watch displays 00:37:10 (when started but shows time accumulating)
    User stops the stop watch at 09:30:25 stop watch displays 00:52:35
    Total time recorded is displayed 00:52:35
    If someone has an example form, I would appreciate your help. I have seen a stop watch in an Acrobat form but do not know how to convert it to LiveCycle.

    I understand how to get the current time and the time when the clock is stopped. I also understand how to subtract the numbers and then convert them back to time. I have never used variables. I know where they go and how to create them but do not know how to use them in a script. Is there any chance to could create an example? I need to be able to start and stop the clock several times and end up with the total time recorded.
    Does anyone have an example LiveCycle form with a stop watch? Am I the only one who has ever needed this?

  • Inserting Livecycle page into a different Livecycle form

    I've been searching around for an answer for a while, but I haven't seen a similar question.
    I currently have a Livecycle form made up of several pages, and I am trying to insert a page from a different form. For example, I have 8 pages in form A, and I am trying to insert form B into the 9th page of A, but I cannot find anything in the menus about inserting a page from another form. Can this be done? They have both been created in Livecycle Designer ES v 8.2.1, and they are both editable forms (which they need to be kept as such.)

    Hi,
    you can use fragments to reuse portions of a form in other form.
    Here's a small tutorial about fragments.
    http://forms.stefcameron.com/category/form-fragments/

  • How to use Adobe LiveCycle Forms Standard / Pro to leverage features in Adobe Reader

    Can someone please tell me how to use the Adobe LiveCycle Forms Standard or Pro module to leverage features in Adobe Reader? Do you also need to have the Reader Extensions Module?
    The forms data sheet says that it is possible to leverage features in Adobe Reader but does not go on to detail how.

    Depends on your deployment pattern.  You can just use Reader Extensions if you're publishing forms on a site, if you need to prefill or perform other processing on the template then LiveCycle Forms is needed.  If you want to render to HTML5 for tablet support then Forms Pro is needed.

  • Acroread 8.1.2 unable to process PDF 1.6 documents generated by Adobe LiveCycle Forms 7.0

    Our workflow uses LiveCycle Forms to generate PDF 1.6 documents with embedded JavaScript and XML. These PDFs work fine with Adobe Reader 8.1.2 on Windows; they display correctly, the interactive fields work as expected and the documents can be printed properly.
    However, acroread 8.1.2 on Solaris is not able to process the same documents correctly. When we run acroread headlessly as follows:
    cat xxx.pdf | acroread -toPostScript -level2 > xxx.ps
    the resulting PostScript file displays a message saying "To view the full contents of this document, you need a later version of the PDF viewer. You can upgrate to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html"
    I have confirmed that we are using the latest version of acroread for Solaris.
    Does anyone have any insight into why this message is being generated by acroread 8.1.2?
    edit: acroread is able to process other PDFs as above without problem. It only has problems with PDFs generated by LiveCycle Forms which include embedded JavaScript and XML.

    Neha,
    Thanks for the response.
    We are running acroread headlessly since it is on a remote server that we access via telnet. Without an XServer session, I can't tell whether acroread is able to read and display the PDF files normally. However, we can view the PDFs with Adobe Reader 8.1.2 on Windows and the acroread -toPostScript command-line that we are using does work properly with other PDFs.
    I will email you a copy of a problematic PDF shortly.
    Regards,
    Steven Dickson

  • Connecting to a Database from a LiveCycle form

    Good morning everyone,
    I've been working at understanding how to connect to a database via my livecycle form and up to here, i can easilly enough connect to an ACCESS DB.
    I created an ODBC,
    a simple 1 table MS Access DB
    and a simple form that connects to that DB via the ODBC.
    My question is, how do i set this up if i want my clients to use this form? i cant really have that ODBC installed on all their machines, so how can i have this setup instead?
    I do have access to a LiveCycle server, but i only have the Extended reader module installed, nothing else. Can it be done and if so, how would i go about setting this up?
    If i can get that to work, this would open up a lot of possibilities where i work at.
    So what i need is a way to mimic that ODBC setup, but without having to create 5000 ODBC connections on my clients machines
    If you need clarifications on anything, please don't hesitate to  ask.
    Thank you yet again,
    PAtrick

    Hi Patrick,
    You can create a process in workbench which will make the JDBC calls and bring the data (See this - http://help.adobe.com/en_US/livecycle/9.0/services.pdf)
    Then you can use the SOAP endpoint of this process in the LiveCycle form and invoke the process
    Hope this helps.
    ~Varun

  • Digital Sinature in Livecycle Forms

    Hello,
    For our employees to get approval on specific online livecycle forms like reimbursment from the manager, the digital signature field looks quite convincing.
    How do we implement it with verisign?
    Which product from (Verisign) would be best for our needs -
    Digital IDs for Secure Email
    Certified Electronic Document Signing for Individuals?

    You would need to consult with VeriSign to determine the actual product you should invest in, and how to implement their PKI. 
    That being said, a digital signature on a PDF is created using an x509 compliant digital certificate.  These certificates can be self-signed (created with Acrobat Pro or some other third party utility) or by a Certificate Authority such as VeriSign.
    You may also want to look at "electronic" signatures that are supported on PDFs using the signature field object and usually a plugin to Reader or Acrobat.  Check out the "electronic and digital signature hardware and software" category at the link: http://www.adobe.com/security/partners/index.html
    Regards
    Steve

  • Standards or Best Practices on limits to Adobe LiveCycle forms as data input tools?

    We are trying to determine whether we should be using Adobe LiveCycle forms for our user input pages, or use a web input form (jsf) that is part of the application server. The data captured would then be rendered in multiple output forms. (printing, etc) We've proofed that it can be done, but our experience so far is that to achieve the complex business rules, validations and calculations, there is a lot of javascript code to write. Has there been any industry assessment or best practices on determining when it is best to use a web form vs Adobe Livecycle form for capturing user input? especially when there is a lot of strict validation and business rule, backend data calls, etc?   Our input requirements also differ significantly from our output requirements- where we will definitely be using LiveCycle forms.

    It sounds like you need use the adobe schema in MII so the output of your transaction matches it.
    Regards,
    Jamie

  • Share small real-time example using Narrowing Cast & Widening Cast

    Hi Guys,
    I am trying to understand the concept of Narrowing Cast and Widening Cast and getting confused why we are using these Casts. When we can always access the method of Subclass using its ref object in Narrowing ) and use the Super class with its ref object (in Widening).
    I understand the concept but could not understand under what situation cast is preferred.There are articles all over the web to explain the concept, but non told us why and when we are forced to us these CASTS.
    I will appreciate if somebody can share a small real-time example where use of Narrowing and Widening Cast is advisable.
    Thanks,

    It looks like this topic has lost steam. 
    I'm surprised this isn't a more intense conversation. There are many applications that need to share data.
    In my application I have many hundreds (in some few cases in the thousands) of different types of data streams including DIO, Analog, and many different types of Serial buses.
    My application is already controlling the hardware and data streams, but others want to peak into my I/O including what is happening on the serial buses.
    To create a 'get' function for each I/O in a web page would seem farily intense (although I could probably create a VI script to help build it).
    I was looking for solutions along the lines of maybe coping the data into a VISA service (if that is possible), or publishing to a datasocket server, or creating a network published variable.
    I need to be considerate of the possibility of hundreds of serial buses banging a service and the possible bandwidth impacts. So I'm searching for a solution that is both easy to implement and low on resources.
    For now I'm leaning towards datasockets. Does anybody have an opinions on this?

  • Populate livecycle form with data in iOS / android

    Hi,
    I need to populate the livecycle form with data in offline mode in iOS or android. How do I achieve that? Any help is greatly appreciated.

    Thats good news.
    Is there a way currently to populate the livecycle static pdf with data in offline mode in iOS/ Andriod? For eg. if the data is in a xml file, is there a way to populate it into pdf in offline mode? If not, is it possible to achieve this in native code? Kindly help.

Maybe you are looking for

  • Numeric or value error when submitting form

    I have a form based of a stored procedure. The form has about 20 fields on it. For some reason the form only allows data entry on only about 10 of them. If I put data in any of the other 10, I get: "An unexpected error occurred: ORA-06502: PL/SQL: nu

  • Preview issue with software recording in Captivate

    i have a software recording w/ intro slides - it look fine in the filmstrip view but after the intro slides (once in software recording) it cuts off a significant portion of the screen from view. I recorded the application window and it was a web bas

  • I have Creative cloud student and I can't download on two computers

    I have Adobe CC one-year student membership, I downloaded Adobe illustrator on my PC, when I decided to download it on my Mac laptop, it asked me for Serial Number, I can't seem to find it. Also I'm already signed in with the same account. Can you gu

  • Graphic creator confused no longer!

    So I downloaded and installed the trial for Photoshop 6 for mac and attempted to create items, at least on a basic level, like I did with cs2 on the pc that died last week. I AM able to do what I need with Photoshop 6! Yay me! Worries are over and I

  • Word 2011 Crashing

    I have been following other discussions related to this issue, uninstalled Microsoft Office 2011 and reinstalled, disabled Microsoft Error Reporting, but have still not resolved my problem.  Excel and Powerpoint are fine, only Word crashes immediatel