Form design Adobe Livecycle Designer ES 8.1

Hi,
I have created a Form in Adobe Livecycle Designer ES 8.1.
The form contains 6 pages.I want to display the particular page by clicking the button. I have designed those buttons in MasterPage like header.
I am able to display the particular page. One condition i need to display 1 & 2 page at a time .I am not able display this scenario.
Please help me.

form1.#variables[0].controller - (JavaScript, client)
var im;
var pageName;
var currentPageNum;
var dataStore;
var logLevel;
var history;
* ADOBE SYSTEMS INCORPORATED
* Copyright 2005 Adobe Systems Incorporated
* All Rights Reserved
* NOTICE: Adobe permits you to use, modify, and distribute
* this file in accordance with the terms of the Adobe license
* agreement accompanying it. If you have received this file
* from a source other than Adobe, then your use, modification,
* or distribution of it requires the prior written permission
* of Adobe.
* MVC Model 2 XFA Sample Implementation
* Created on Feb 22, 2005
* Author Herve Dupriez
* Email [email protected]
* Version 1.0
* Main Action Controller
* For the simplicity of this controller, actions are coded within this main function.
* For more complex frameworks, this function could simply act as a switch to other functions.
function executeAction( action )
debugLog("executeAction " + action );
var pnum = getPageNum(action);
debugLog("history size " + history.length );
if ( action == "back" )
if ( history.length > 1 )
// Restore previous page
debugLog("back to page " + history[history.length - 2] );
im[currentPageNum].removeInstance(0);
currentPageNum = history[history.length - 2];
loadPage( currentPageNum );
im[currentPageNum].addInstance();
else
forward(1);
else if ( action == "first" )
forward(1);
else if ( action == "last" )
forward(9);
else if ( action == "previous" )
var prev = currentPageNum-1;
if ( prev > 0 && prev < pageName.length )
forward(prev);
else if ( action == "next" )
var next = currentPageNum+1;
if ( next > 0 && next < pageName.length -2 )
forward(next);
else if ( pnum == -1 )
showErrorPage(404, "Page Not Found");
else
forward(pnum);
* Initialization of the controller
* For debugging purposes increase the logLevel variable below
function init()
console.println("init");
// Init log level
// 0: error
// 1: warning
// 2: info
// 3: debug
// 4: trace
logLevel = 0;
// Initialize instance managers and page names
if ( im == null )
scanPages();
// Initialize "page number"
if ( currentPageNum == null )
currentPageNum = 0;
var dataNodes = xfa.data.form1.nodes;
debugLog( xfa.data.form1.saveXML() );
if ( dataNodes != null )
var intNumElements = dataNodes.length;
for(var j=0; j < intNumElements; j++)
var currentElement = dataNodes.item(j);
debugLog("listNodes found " + currentElement.name );
if ( currentElement.name.substr(0,5) == "page_" ) {
var action = currentElement.name.substr(5) ;
setCurrentPage( getPageNum( action ) );
break;
* Show last page viewed when document was saved
* or the Welcome Page if document opened for the first time
if ( currentPageNum == 0 )
im[currentPageNum].addInstance();
// Initialize a simple data store
if ( dataStore == null )
retrieveDataStore();
// History
if ( history == null )
history = new Array();
history[0] = currentPageNum;
debugLog("history[0]= 0");
executeAction("1");
* Save page data to the in-memory data store
function savePage( pageNum )
debugLog("savePage " + pageNum);
var pageObj = xfa.resolveNode(pageName[pageNum]);
if (pageObj != null)
var sXML = xfa.data.form1.saveXML();
dataStore[pageNum] = sXML;
* Load page data from the in-memory data store
function loadPage( pageNum )
debugLog("loadPage " + pageNum);
if ( pageNum > 0 && pageNum < pageName.length )
if ( dataStore[pageNum] != null && dataStore[pageNum] != "" )
xfa.data.form1.loadXML( dataStore[pageNum], true, true );
traceLog( xfa.data.saveXML() );
debugLog("history[" + history.length + "]=" + pageNum);
history[history.length] = pageNum;

Similar Messages

  • I cannot Preview a form in Adobe LiveCycle. The Preview option is gray off.

    I cannot Preview my design form in Adobe LiveCycle. The Preview option is gray off. need help

    Hi,
    Try repairing your default PDF handler.
    You can check your default PDF handler by opening Acrobat / Reader --> edit --> preferences --> General  --> Select Default PDF Handler
    You can repair the application by clicking on Help--> Repair
    Regards,
    Ratnesh

  • Read Only HTML Forms using adobe livecycle Output ES

    Hi,
    We have a requirement to display the adobe html forms in read-only format. got to know from adobe consultants that Adobe Livecycle Output ES has this feature. but i am not able to find out any services or components that would give me this functionality.
    Is there a way to get these readonly forms using Adobe Livecycle Output ES.

    Dear Dfoto,
    Thank you so much for being so kind to spend the effort and reply back, I though my question was left behind the sun... but now I am very happy in deed.
    To be more specific, the Form has 2 parts. The first part "Subform1" any one can fill and sign.
    The second part "Subform2", only certain users can fill and sign.
    I think I found a very strong lead to my solution, when I was playing with LiveCycle Desinger few days ago.
    On the Singature Field Advanced Setting, there is a place you can attach the public part of a certificate (Digital Signature) of any user, one or more.
    In this part, you tell LC that only those users "signing parties" can sign the field. I tested it and it worked.
    Now, if I can use this feature via JavaScript to find out if the user who is filling the form, can sign this field, then he can fill the form. If he cannot sign the field, then he cannot fill the form. I can do that by setting the "access" property of the Subform. Another solution is that I can prevent the user from hitting the "Submit" button unless he signes the designated Signature Field.
    I have another small issue:
    I found out that if the Signature field is part of a repeating dynamic Subform, it will not work during run-time. Very bad in deed. While I cannot understand why ?, I tool this as "By Desing" feature.
    Now, if the Signature is locking parts of forms which has dynamic content (repeating subforms), it will always show somthing like "Signature is corrupted or form was changed after it was signed".
    Is this normal ? Is there a way to control Dynamic Forms using Digital Signatures without such annoying issues ?
    Thank you.

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  t worked, but only for those with PC.  I could not get it to work with Apple Yosemite even with reader installed .  is there a way i can make it work for apple /

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However,  I could not get it to work with Apple loaded with Yosemite even with reader installed .  Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
    Thanks

    LiveCycle = XFA forms.
    afaik - These cannot be used in Apple OSs.
    Be well...

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for thos

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for those with adobe pro.  i could not get it to work with reader.  is there a way i can make it work for reader?

    Noted.
    The LiveCycle user to user forum is across town at:
    Adobe LiveCycle 
    Be well...

  • Form in Adobe LiveCycle Designer

    Good Morning,
    I have two doubts.
    1) If i want use the software(Adobe LiveCycle Designer)  for create process in HR, the company have that buy the licence for this program?
    2.) In the company want that the manager can  request change of personnel through of form HCM Processes and Forms and HR Administrator(Adobe Forms) in the MSS.
    The personnel  action in the system ECC trigger dynamic action  and the system do validations and call other infotype for this validations.
    The question also is: In the portal this validations are called?
    Kind Regards,
    sanew2

    Good Night Suresh Datti,
    I have the following doubt.
    The company want that the Manager can request change of personnel through of the MSS.
    I don't know if this can be posible.
    The process that want is the following:
    1) Manager request the change of personnel.
    2.) The HR administrator in the UWL approve the request and that this run automatically the action of personnel in the system ECC update each of the infotype involved in action.
    3. For the company There are is personnel action that display several infotype ie 0008 to be update depending on the personnel area of the employee, This process how can do using HCM P&F?
    Kind Regards,

  • Extension fields in forms using Adobe LiveCycle Designer and SAP Cloud Application Studio.

    Hello everyone,
    I am new to using SAP Cloud Application Studio and am currently working on forms.
    I have created some extension fields in the dunning letter form message type : FormDunning Notification.
    Upon activating, the extension fields do show up in backend form data type structure.
    However i am unable to find the fields in the front end form under Form Template Maintenance.
    I have tried opening form with open editor as well as downloading template and opening in Adobe LiveCycle Designer .
    After creating the data connection in adobe ,the first field (ProjNumDun ) do appear in correct place in data view.But i cant find the rest of the fields.
    Any help,guidance and suggestion will be really appriciated.
    Thanking in advance,
    Kamakshi

    Kamakshi,
    First, any extension fields added must be explicitly assigned to appear on the forms. Through Front-end Adaptation, this would be via the "Further Usage" link. Within the SDK, you'd right-click the XBO and select "Enhance Forms" (which would take you to the same screen as you'd end up at in through front-end").
    You must select "Add Field and Edit..." to actually assign it to the Form Template schema.
    Once this step is done, re-download the Form Template, and make sure to reload the Data Connection within LiveCycle. Through there, you should see your fields. You'll likely have to dig for them - they appear at the very end of the child elements.
    Note that, while fields added through the front-end have a long string appended to the end (for example, it would appear as "ExtensionField_1234AISU897234HJA" if added via front-end adaptation), the fields added via the SDK do NOT have the suffix (you'll be looking for an element with JUST the field name, i.e. "ExtensionField")

  • IBM workplace forms to Adobe LiveCycle forms

    Hi
    I have been using IBM Workplace forms in my application for a long time and now want to migrate to adobe livecycle forms. Please can anyone tell me about how much similar are both? What all should i look out for while migrating. ?
    Regards
    Ullas

    We are also looking into a similar type of project. I'm not well versed in the IBM software, but I suspect there is no utlity or conversion tool to automate some of the transition work. (ie creating fields and other common objects)
    We are looking at re-desinging the forms from scratch.

  • DateTime field in forms using Adobe LiveCycle

    Hi Everyone,
    Iv'e created a custom report and has difficulty in formatting the DateTime fields where I wanted to show "EST" timezone but the report is setting it to "GMT". I'm not sure where to configure the timezone in Adobe LiveCycle when the data that I'm using already has an EST timezone. This is the pattern that I'm using date{MMM D, YYYY} time{h:MM:SS A Z}. Do you have any suggestions? Thanks.
    Regards,
    Rajiv

    one See this link,
    http://wiki.scn.sap.com/wiki/display/Basis/Timezone+changes+best+practices
    i hope this is usefull...
    thank you,
    Nithin

  • Updating Tag Name using Adobe Professional for PDF form created with Tags in Adobe Livecycl Designer

    I have created a form using Adobe Livecycle Designer. These PDF forms have Tags on them when created and generted from Adobe livecycle designer.
    I am able to open the PDF form in the Adobe Profesional 9.0.
    I want to edit / Update the Tags on the PDF form using Adobe Professional 9.0. I am not seeing any option to view the Tags on the forms so that I can edit it while I have open the PDF in the Adobe Professional. The PDF document was created in Adobe Livecycle Designer 9.0
    Please let me know how can I edit the Tags on a PDF form using Adobe Professional for a Form that was created using Adobe livecycle and tags added.
    Thanks,
    Siva.

    Edit the tags in Adobe Livecycle Designer.

  • Fillable Forms Created with Adobe LiveCycle Designer 7.0

    I created a fillable form using Adobe LiveCycle Designer 7.0. Prior to using the form for clients we sent it around to numerous people to make sure it's working properly. We have experienced problems with users that are using older versions of Reader or full versions of Acrobat (5.0 & 6.0). Some problems we have had:
    1.) We understand you cannot save the filled out form in older versions, but some users are not even able to print the form (the program shuts down). When the form is opened in an older version it lets the user know that they cannot save the form and it must be printed if they need a copy, but we had one user using version Acrobat version 7.0 that received this message.
    2.) Users with full versions of Acrobat 7.0 have been able to fill out the form and save it, but when the form gets back to us it is blank.
    3.) Users with Acrobat and Reader 7.0 cannot use the print button, it just does not work.
    We were looking to see if there is a way of saving a fillable form down to an older version to see if this can solve our problem. I have not had any luck finding out how to do that. If anyone knows how to do this could you let me know? If not I guess we will go back to the old fashioned way of having the user print the form and fill it out.
    Thank you!

    I'm actually having the exact same problem. I imported a form into Designer 7.0 as an Adobe Reader 6.0 "compatible" form. At first, there were several warning messages in various fields but I changed all of these fields so that they would be compatible. The form works in 6.0, however, whenever a user initially opens the form in 6.0 a message pops up promting the user to upgrade to 7.0 for the form to work. Over half of our users are running Adobe Reader 6.0 so any information on how to prevent this dialouge from coming up would be very appreciated.
    Thank you,
    Jeff

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • Can I combine a form created in Livecycle Designer with a standard pdf to create a new document?

    I have a fillable form that I created with Livecycle Designer along with two standard pdf files.  When I try to combine in Acrobat Pro 10 it identifies the form with XML data and will not allow me to complete the process.  Thanks in advance for any help with this.

    No you cannot... this is one of the things my organization struggles with.  I love livecycle becuase of its dynamic form capabilities, but we have so many other pre-built pdfs in adobe pro that can not be merged with these forms.  It is truly frustrating!!!  wish i had a better answer for you.  Also from the book 'Creating Dynamic Forms with Adobe LiveCycle Designer' page 6... "The PDF files that Designer creates are structurally different than other PDF files...... LiveCycle Designer can edit a PDF form created in Acrobat, but Acrobat can not edit a PDF form created in Designer."  Likewise... XML pdfs do not merge with other pdfs. JoBeth

  • How to give reader extensions to a form created with LiveCycle designer

    Hello,
    I make forms with "Adobe LiveCycle Designer ES 8.1" and then I give them somes rights.
    I use the link http://172.16.1.35:8080/ReaderExtensions/index to give my forms rights, like (Basic form filling, Import and export form data, Submit outside web browser, Digital Signatures)
    Since 2 weeks, this link doesn't work. I called Adobe Belgium and give them my licence key and they couldn't help me becasue they sayed that it's an old application.
    Can someone help me please, it's an emergency.
    Thanks a lot.

    Hi,
    Why do you need to change the connection string? What are you calling "connection string for a form"???
    The only connection string I now about is the one used to connect to the UI API... and this one is fixed for all apps in debug mode and given as parameter when your addon is registered in B1.
    The connection string is filled in the code of your generated addon.
    Please go to the main class of your addon, in the main method you have the following code where the connection string is filled either with the command line parameters (release mode) or with the fixed value given by SAP. This code doesn't need to be changed...
            public static void Main()
                int retCode = 0;
                string connStr = "";
                bool diRequired = true;
                // CHANGE ADDON IDENTIFIER BEFORE RELEASING TO CUSTOMER (Solution Identifier)
                string addOnIdentifierStr = "";
                if ((System.Environment.GetCommandLineArgs().Length == 1)) {
                    connStr = B1Connections.connStr;
                else {
                    connStr = System.Environment.GetCommandLineArgs().GetValue(1).ToString();
                try {
                    // INIT CONNECTIONS
                    retCode = B1Connections.Init(connStr, addOnIdentifierStr, diRequired);
    Regards
    Trinidad.

  • ADOBE LiveCycle Designer 8 - EMAIL SUBMIT BUTTON DOES NOT WORK

    I created a new form in Adobe LiveCycle Designer 8, but the email submit button, nor a regular button assigned with a 'submit' function will do anything. It should initiate a new Outlook email but it does not. My default programs are set correctly (default email program and the default "mailto" program are set to Outlook). This document was created not only with ALC8, but on a Windows Vista PC with MS Office 2007. I ran a test to see if it would work on a WinXP SP2 machine with Office 2003 and it still did not work.
    Can anyone help?

    Alan
    Though not an expert, I've created a few forms with the Submit by Email button. If you've already done this then sorry for asking, but did you go through the Acrobat Distribution (Forms>Distribute Forms)process after creating the form in LC8? As far as I can tell the email submit button doesn't work without this stage.
    This confirms the email submission address, then sets up a dataset to be saved in a location of your choice.
    filename_dataset_0001.pdf
    then a file type that can be edited, saved and submitted by Reader users:
    filename_pub_0001.pdf
    You can save this to your intranet server or email direct to the recipient.
    When the submit button is then used you receive a copy of the whole form which on opening will prompt you to add it to the dataset. Receiving and adding multiple forms to the data set is straightforward. You will see them all listed in the viewer above the form itself. From here you can also then select and export the data to Excel via xml or as a csv file.
    Note that any changes you make to the form should be to the original document and the distribution process repeated, otherwise the functionality of the form will be affected.
    That's about the limit of my knowledge I'm afraid, therefore if you have already tried this and are still having problems then hopefully someone else can help out.
    Regards

Maybe you are looking for