JavaScript Adobe Live Cycle Checkbox aktivate Textbox

Hello Community
I have created a pdf form, and I have a checkbox is checked by default. Checked if this is not intended to be 3 edit fields.
If this if it is not enabled Should all three fields to be editable
In this exampele , RAL /Pantone / Andere should be disabeld .
The names
Checkbox nein = Farbvorlage
Ral = RAL
Pantone = Pantone
Andere= Andere

this is the error massage when i use the code ;-)
ReferenceError: getField is not defined
1:XFA:topmostSubform[0]:Page1[0]:RAL[0]:calculate
ReferenceError: getField is not defined
1:XFA:topmostSubform[0]:Page1[0]:Pantone[0]:calculate
ReferenceError: getField is not defined
1:XFA:topmostSubform[0]:Page1[0]:Andere[0]:calculate
And this code also doesnt work -.-
var check = getField("Farbvorlage").valueAsString
if(Farbvorlage == "Ja")
    event.target.readonly
else
    event.target = "";

Similar Messages

  • Run javascript in adobe live cycle work bench

    Hi All,
    Is there anyway we can execute the javascript in workbench?
    or is there any method to convert javascript to adobe script(execute script activity)?
    Actually i have written javascript in live cycle designer while pdf designing. now i want the same javascript at server end.
    Kindly someone help me to get this functionality.
    Regards
    Abhishek

    Hi Jasmin,
    Thanks for your quick reply.
    I have a javascript which generate sha1hash output for input string.
    I am getting an error while executing it in workbench.
    If i want to use same algorithm in execute script how can i able to use it.
    How should i convert this code in java?
    Please find the javascript below for sha1hash algorithm
    function sha1Hash(msg)
        // constants [§4.2.1]
        var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
        // PREPROCESSING
        msg += String.fromCharCode(0x80); // add trailing '1' bit (+ 0's padding) to string [§5.1.1]
        // convert string msg into 512-bit/16-integer blocks arrays of ints [§5.2.1]
        var l = msg.length/4 + 2;  // length (in 32-bit integers) of msg + ‘1’ + appended length
        var N = Math.ceil(l/16);   // number of 16-integer-blocks required to hold 'l' ints
        var M = new Array(N);
        for (var i=0; i<N; i++) {
            M[i] = new Array(16);
            for (var j=0; j<16; j++) {  // encode 4 chars per integer, big-endian encoding
                M[i][j] = (msg.charCodeAt(i*64+j*4)<<24) | (msg.charCodeAt(i*64+j*4+1)<<16) |
                          (msg.charCodeAt(i*64+j*4+2)<<8) | (msg.charCodeAt(i*64+j*4+3));
        // add length (in bits) into final pair of 32-bit integers (big-endian) [5.1.1]
        // note: most significant word would be (len-1)*8 >>> 32, but since JS converts
        // bitwise-op args to 32 bits, we need to simulate this by arithmetic operators
        M[N-1][14] = ((msg.length-1)*8) / Math.pow(2, 32); M[N-1][14] = Math.floor(M[N-1][14])
        M[N-1][15] = ((msg.length-1)*8) & 0xffffffff;
        // set initial hash value [§5.3.1]
        var H0 = 0x67452301;
        var H1 = 0xefcdab89;
        var H2 = 0x98badcfe;
        var H3 = 0x10325476;
        var H4 = 0xc3d2e1f0;
        // HASH COMPUTATION [§6.1.2]
        var W = new Array(80); var a, b, c, d, e;
        for (var i=0; i<N; i++) {
            // 1 - prepare message schedule 'W'
            for (var t=0;  t<16; t++) W[t] = M[i][t];
            for (var t=16; t<80; t++) W[t] = ROTL(W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16], 1);
            // 2 - initialise five working variables a, b, c, d, e with previous hash value
            a = H0; b = H1; c = H2; d = H3; e = H4;
            // 3 - main loop
            for (var t=0; t<80; t++) {
                var s = Math.floor(t/20); // seq for blocks of 'f' functions and 'K' constants
                var T = (ROTL(a,5) + f(s,b,c,d) + e + K[s] + W[t]) & 0xffffffff;
                e = d;
                d = c;
                c = ROTL(b, 30);
                b = a;
                a = T;
            // 4 - compute the new intermediate hash value
            H0 = (H0+a) & 0xffffffff;  // note 'addition modulo 2^32'
            H1 = (H1+b) & 0xffffffff;
            H2 = (H2+c) & 0xffffffff;
            H3 = (H3+d) & 0xffffffff;
            H4 = (H4+e) & 0xffffffff;
        return H0.toHexStr() + H1.toHexStr() + H2.toHexStr() + H3.toHexStr() + H4.toHexStr();
    // function 'f' [§4.1.1]
    function f(s, x, y, z)
        switch (s) {
        case 0: return (x & y) ^ (~x & z);           // Ch()
        case 1: return x ^ y ^ z;                    // Parity()
        case 2: return (x & y) ^ (x & z) ^ (y & z);  // Maj()
        case 3: return x ^ y ^ z;                    // Parity()
    // rotate left (circular left shift) value x by n positions [§3.2.5]
    function ROTL(x, n)
        return (x<<n) | (x>>>(32-n));
    // extend Number class with a tailored hex-string method
    //   (note toString(16) is implementation-dependant, and
    //   in IE returns signed numbers when used on full words)
    Number.prototype.toHexStr = function()
        var s="", v;
        for (var i=7; i>=0; i--) { v = (this>>>(i*4)) & 0xf; s += v.toString(16); }
        return s;
    Please reply for this
    Thanks in advance.

  • Adobe Live Cycle 8 grace Period Problem

    I had Adobe Acrobat ver. 5 which I was unable to uninstall due to some corrupt files.
    Then I tried to install Adobe Acrobat Professional ver 8 . It popped up an error message that You already have a version of adobe which is to be removed. Hence I formatted my C: drive and then successfully installed Adobe Professional Ver 8 . It was a trial version for 30 days.
    But when I tried opening Adobe Live Cycle which comes with it, a message popped up saying that Grace Period is over . Please download e-license. My friends who earlier had installed Adobe Professional from the CD are not getting any messages .
    Any Ideas to solve the problem.
    P

    I think you can do this two ways:
    1. Use radio buttons and chnage the appearence to look like checkboxes
    2. Add some Java script to the checkboxes to set the other checkboxes to null (use the rawValue property)

  • How to open multiple instance of Adobe Live Cycle Designer ES 8.2

    Hi,
      How do I open multiple instance of Adobe Live Cycle Designer ES 8.2. I have two forms and I need to compare them. Another situation is I want to correct/copy the contents by keeping the old and new one under the view simultaneously. I also want to take advantage of multiple monitors
    The MDI style windows with Ctl+Tab to switch between documents is not helping me in the context explained above
       adobe Acrobat work on multi instance if I type acrobat.exe /n;
    but if I type "C:\Program Files\Adobe\Acrobat 9.0\Designer 8.2\FormDesigner.exe" /n;, its just opening the existing livecycle instance
    please help

    I don't think you can run two instances.
    But you can stretch the main application window across both monitors and tile the two documents inside the main window.

  • Upload a document in PDF form (Adobe live cycle Designer generated form)

    Hello,
    I generated a PDF form using abode live cycle designer.
    It works well to read, write and display. Techincally, read, write,and populate functionalities of the PDF form are working without any trouble.
    I was trying to upload a doc file using the PDF form. I could not make the upload functionality work.
    Can anybody help me with uploading a file to the webserver through PDF form?
    Can you please give step by step instuctions to follow to upload a file to the webserver through PDF form?
    Thank you.
    Aruna

    Hi,
         I will try to find the standard function module. If there is no such standard function module, then we need to create a custom function module.
    Check this link:
    [https://www.sdn.sap.com/irj/sdn/adobe]
    Points that you can note:
    1) Adobe Interactive forms can be created & connected to SAP database using ABAP Workbench, through WebDynpro.
    2) Also adobe Interactive forms can be created & connected to SAP database using Transaction SFP.
    3) And for both of the above 'Adobe Live cycle Designer' should be installed on the front end.

  • HELP required in ADOBE LIVE CYCLE DESIGNER 7

    Please guide whether the following can be done in ADOBE LIVE CYCLE DESIGNER 7
    1. Design a form(PDF) and connect to a database
    2. Call the designed form(PDF) from an external application (Oracle Forms 9i)
    3. Pass some values dynamically into the query of the form(PDF) designed.
    4. Based on the values passed dynamically into the query,
    some values have to be populated into the form (PDF) from the database.
    5. Should be able to enter additional values in some blank columns of the called form(PDF) and save it.

    1. LiveCycle Designer can helps in designing PDF and/or XDP templates these templates can fetch data from database.
    2. XDP templates can render output in PDF and HTML format. Those accessible for other applications.
    3. I never tried passing values in query string. There could be a way to do this.
    4. These templates can prepopulate data and can do additional user interface actions. There are methods to repopulate/refetch data after initial display.
    5. Forms accept additional data and can trigger events based on users actions.
    Good luck
    SekharN

  • How to Consume web service in Adobe live cycle

    Hi Experts,
    I created a web service from FM and trying to consume that in Adobe live cycle. My problem is:
    1. I don't know how can I test this webservice layout?
    Could you please provide me the steps on how to consume it properly and how to test it becuase for me its not giving any response back.
    I will appreciate if you can send a step by step document at tyagi.sandeep10atgmaildotcom
    Regards,
    Sandeep
    Edited by: sandeep tyagi on Oct 16, 2008 1:36 AM
    Edited by: sandeep tyagi on Oct 16, 2008 1:37 AM

    Hi Sandeep,
    Please go through this pdf. It will help you to integrate web service in adobe form.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
    Thanks & Regards
    Sagar Ingalwar
    Edited by: Sagar Ingalwar on Oct 24, 2008 9:29 AM

  • Need to create pdf using adobe live cycle designer using function module

    Hi,
    Needed some help regarding creating a pdf at the backend. I will have function module in the backend which contains all my data and also an image represented as a Base64 encoded string.
    What i need to do is pass this data onto adobe live cycle designer fromthe function module and create a pdf at a particular location. Please let me know how can we achieve this. if there is any function module to do the same. how does the function module i have defined call the adobe live cycle designer transaction or module to create a pdf. i am not an abaper so dont have much idea about the details.
    Thanks.
    Regards
    Srikumar V

    Hi,
         I will try to find the standard function module. If there is no such standard function module, then we need to create a custom function module.
    Check this link:
    [https://www.sdn.sap.com/irj/sdn/adobe]
    Points that you can note:
    1) Adobe Interactive forms can be created & connected to SAP database using ABAP Workbench, through WebDynpro.
    2) Also adobe Interactive forms can be created & connected to SAP database using Transaction SFP.
    3) And for both of the above 'Adobe Live cycle Designer' should be installed on the front end.

  • Error while using Adobe live cycle ExportPDF

    I have installed Adobe live Cycle and am trying to use one for its service and trying to convert the pdf file to html.
    Please refer to the attached screen shot.
    when i click on ExportPDF and give the input as any PDF file , I am getting the error as
    Error Code:80036
    Error Message: ALC-PDG-080-036-Unable to connect to PDFG Service. No User has been defined.
    Let me know if i am missing anythign.
    Regards
    Pushpendra

    Please navigate to below path in the AdminUI.
    Home > Services >PDF Generator > User Accounts
    Check if you have added any user in Valid status or not

  • Adobe live cycle form

    Hi Guru's
    I would like to know pre-requisites for adobe live cycle and is this tool installed in frontend systems (sap gui) or on sap servers and we  have only  abap stack in our landscape so please give some clarification it will be very helpfull
    Regards
    Mohammed

    These links may help you...
    SAP Interactive Forms by Adobe - ABAP Development - SCN Wiki
    adobe forms layout editor not working
    and ask basis person to install Adobe Live Cycle Designer 7.* or later to download & install in you system
    thanks
    Jyoti

  • How to check Adobe Live Cycle Designer version in ABAP Workbench ?

    Hi,
    Please advise how to check Adobe Live Cycle Designer version in ABAP Workbench ? Currently i am using NW 7.0 SP18 (ABA,BASIS).
    Thank You and Best Regards
    Fernand Lesmana

    There are 3 ways you can check which version of ALD you have installed on your machine.
    1. Go to transaction SFP (Forms Builder) transaction and enter a form name. Select Layout and it should open Adobe LiveCycle Designer. From ALD select Help --> About section and it should give you version details.
    2. Go to SE80 and open an Interactive form application. Select the InteractiveFormUI element and click edit. This will open the ALD. From ALD select Help --> About section and it should give you version details.
    3. A more simpler way is just go to C:\Program Files\Adobe on your machine and there should be Designer folder there for e.g. Designer 7.1 / Designer 8.0 / Designer 8.1
    Chintan

  • Netweaver and Adobe Live cycler

    Hi frds,
    i installed  SAPNetWeaver 7.01 ABAPTrial version..
    to work interactive forms , i installed Adobe Live Cycle Designer...
    the problem is when i activate forms after designing, i get a error like this
    Invalid HTTP connection: ADS
    Pleae help me...

    Hi,
    Please find the step that you need to configure for Local ADS.
    1 Testing the Adobe Document Service
    Check the adobe services on JAVA System by using the
    URL: http://hostname.domain:5xx00/wsnavigator
    Click AdobeDocumentService->Click on Test ->rpData->then Send ->then enter ADSUSER and password.
    2 Test the RFC Connection in ABAP Side
    Goto SM59 and then check the RFC connection under the HTTP connection to external server.
    this Rfc should point to its own .
    3 Activate the ICF service in ABAP Side
    Log on to your SAP Web AS ABAP system
    Choose transaction SICF.
    Choose default host u2192 sap u2192 bc u2192 fp in the tree.
    Choose Service/Virt.Host u2192 Activate
    4 Configuration in Destination Visual Admin
    Create the destination FP_ICF_DATA_SID under HTTP
    Under the Url give http://hostname.domain:80xx
    User ADS_agent and password here.
    5 Execute Following reports in ABAP Side
    Goto se38 : Program name, Now Execute report FP_PDF_TEST_00
    Now run the report FP_CHECK_DESTINATION_SERVICE
    once run this report without checking the destimation and after thet run with checking the destination box.both should return the same number of bytes as per note 944221
    Thanks
    Rishi Abrol

  • Does Adobe Live Cycle ES4 Generate PDF fully support AutoCad 2012?

    I’d like to know whether Adobe Live Cycle ES4 fully supports AutoCad 2012 in converting files.
    I finded below, until version 2009.
    * Autodesk AutoCAD 2005, 2006, 2007, 2008, and 2009 to convert DWF, DWG, and DXW (English only)
    (http://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb1df6c8912826bea 3c5-8000.2.html)
    Thank you.

    Hi,
    There is no information about AutoCAD version.
    http://helpx.adobe.com/livecycle/help/livecycle-es4-supported-platform s.html#Software support for PDF Generator
    Is it support that convert AutoCAD 2012 to pdf ?
    I cannot find exact information about that.
    Plz help me.

  • Latest version of Adobe live cycle

    Hi all,
    we are using ALD( adobe live cycle  designer )es2 version 9.0. and net weaver 7.3,ECC 6.0
    so can any one tell me to which version we can upgrade ALD i.e what is the latest compatible version of ALD for our system.
    and please also tell me latest compatible version for net weaver 7.0 also.....
    Thanks in advance

    Hello Zubin ,
    You are right ADLC version 901 for Netweaver 703
    Fopr Netweaver 700 you will need ADLC version 800
    Refer to following SAP note
    SAP Note 1317925 - "Maintaining backward compatibility with Designer"
    Regards
    Sandy

  • Which is the latest version availble for Adobe Live cycle ES2

    Hi,
    Can anybody let me know the latest version of Adobe Live cycle ES2 available with adobe live cycle.
    Is it version 9.0.1 ??
    Please help me, I want to take license for Latest version of adobe live cycle from adobe for my client..
    Regards
    Sunil Gupta

    Just before 5 months i used to work on version 9.0.1. And i was told that 9.0.1 is the latest version for adobe live cycle es2.
    So is it still latest or adobe has release any new latest version.
    Please explain a bit more. I have to explain it to my client because we have promised to deliver them latest version.
    regards
    Sunil

Maybe you are looking for