LiveCycle Forms: Propagating content from a paired field

My question is really twofold:
Can I pair heterogeneous field types (eg text and dropdown)?
Can I propagate to other fields a value entered in a field that is tied in a pairing?
BTW: I have no experience of scripts.
I have a complex form over several pages and I need to be able to display a particular field value from page 1 onto each of the subsequent pages of the form.
So far so good but the value to be propagated is specified in one of a pairing of mutually exclusive fields on page 1.
Is such propagation possible in these circumstances and if so how?
To complicate matters, the components of the field pairing are heterogeneous: one is a straight text field, the other a dropdown picking list.
The user must either manually enter a value in the text field or select a value from the dropdown list.
Ideally, I would like to propagate the value specified in whichever of the two fields into header fields on subsequent pages of the form.
Thank you for any help.

I'm not sure what you mean by "paired," but all fields have a "rawValue" that you can harvest to a different field.
For example, in a form we use at the bank, the name field is sent to a textfield in the master page to give each page a header with the customer's name.
tfName::exit
xfa.resolveNode("Page1.tfHeader").rawValue = this.rawValue;
The master page holding tfHeader will take the value from tfName. Since it's on the Master page, it becomes the header for all pages.
Since you've got two different fields, you'll need some logic to determine which one you want to make the header. Maybe if there's nothing in the drop down, then use the value from the name field.
ddName::exit
if (this.isNull) xfa.resolveNode("Page1.tfHeader").rawValue = this.rawValue;
else xfa.resolveNode("Page1.tfHeader").rawValue = tfName.rawValue;

Similar Messages

  • Can livecycle forms be distinguished from other PDF files?

    Can livecycle forms be distinguished from other PDF files within their Uniform Type Identifiers, or within the meta-data?

    You can check value of the 'PDF Producer' field under File -> Document Properties (Description Tab)
    Thanks,
    Varun Nohria

  • Trying to retrieve content from a text field & use it in a conditional statement

    Hi Everyone,
    I have a form with a text field and a button. The  text field is called "orderNo", and the button is called "genOrder".
    Initially  the text field is empty, and clicking on the button fills the text  field with an appropriate order number.
    I need to check the text  field for data (content) before writing the order number to it, this  way if an order number is already present in the text field it will not  be over written.
    My intention is to use an if / else structure to  perform the testing, however I don't know how to retrieve the content  of the text field (if content is present!).
    If anybody can  suggest how I can go about retrieving the content of the text field and  then use it in an if / else statement it will be greatly appreciated.
    Kind  Regards,
    Davo

    Hi try67,
    Thanks for your assistance. I have posted in this http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=70276#p70276 forum asking for further assistance if your able to help more.
    Once again thanks for your time.
    Cheers
    Davo

  • Refer an Open Forms, Items Contents from another Open Form

    Hi All,
    I need help on the following Questions.
    Q1. How can I find the Contents of an Item in a Form from another Form in the Same session.
    Q2. How can we save contents of a Called form when the Calling form is in Changed Status. (using When Validate Trigger on the Calling Form). (Key-Next does not work in this context 'coz if a user clicks with a mouse or uses shortcut keys this trigger is not fired).
    Thanks in adv. for the reply.
    Regards
    ravi

    Is this so impossible?

  • How do you print the entire contents from a data field?

    I have a simple Acrobat form that was sent to me and one of the data fields employs a scroll bar because it contains more text than the field can hold. How do I print my document so that it prints everything in that field, not just was is visible?
    Thanks

    I'm not sure you can do this with a standard Adobe Acrobat form. If the form is created with Acrobat Designer (Windows, not Mac product) there is the possibility to have the field grow in size. Designer based forms can be used on a Mac, but cannot  be created under the Mac OS (virtualization excluded).

  • 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

  • Can I port content from one pdf form to another, from within the form fields?

    WE have been given a seasonal update to our pdf forms - with one new additional form field. Is there a way that I can port all the content from my ready filled form into this new one, without having to copy and paste each individual field?
    Thanks.

    What is it that you want to do
    - you are the form filler; you want to keep the contents of a filled in form (and put them back into a changed form)?
    - you are the person responsible for adding/changing form fields; you want to keep the design and location of the form fields while changing the underlying PDF?
    - both of these?

  • Instructions on how to create a "flattened" pdf from a LiveCycle Form

    My company is working with a vendor who had requested that I "flatten" my LiveCycle created pdf so as to remove the XML data and interactivity from the form so it no longer has fill in fields. After much research I found a very simple solution and wanted to post it here because the discussions that I waded thru on this forum to find out how to do this process were varied and lengthy. But in reality, the solution is quite simple.
    I opened my regular LiveCycle file in LiveCycle and chose "print" from the File menu. In the Printer Name drop down, I chose "Adobe PDF", clicked OK and then saved the form with another name. Now the form is not fillable, is compatible with older systems, and no longer has any "fill in fields" even when opened back up in LiveCycle as a "flowed" document. The text is editable but in small snippets instead of as paragraphs.
    I thought I'd share this because you never know who might be looking for just this same solution. The funny thing is, I wish I had known of this earlier. The United States postal service is using Adobe Reader version 5 and couldn't open any of my pdfs. This might have helped us to be able to view the documents on their system. And I thought MY company was behind the times! Who knew?

    Hello All,
    Value Table in Marketing attributes is for search help configured by following the steps mentioned in below OSS.
    1044363
    1546360
    1542289
    Thanks
    Praneeth

  • How to remove link content from the link structure field

    Hi,
    I created a UDF as Link struture in marketing document title to link external file. After file has been linked to the UDF and saved, how do I remove it to empty the field? I tried to point to the field and right click, but couldn't find any function to remove the link.
    KC

    Press ALT + Double Click to remove the Link content from the UDF

  • 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

  • Updating Content Type from other metadata field

    Hi.
    In the process of creation of metadata fields a customer use a custom metadata field called 'class' to define what type the content are. The field Content Type was leave untouchble. Now they have tons of content in the same folder inside vault cause content server uses the metadata content type to create vault subfolders. What is the best way to eliminate the field class, transporting the metadata to the correct field content type and mantain the correlation of the links to the native files and weblayout files of the content? If I just update the column content type with the data in column class I believe that willl be a mess of broken links. Can anyone suggest anything?
    Thank you!

    Hi there,
    Thought i could not comprehend all that you want, I could get that you have problem with a meta data filed.
    Instead of using "Content Type" earlier contributors used "class" and now you want to chagne the "class" field with appropriate value of "Content Type".
    This can be done provided the original "class" type was used intellegently by using following steps
    1) depending on various values of class(e.g. all document for which class=A) created exports using archiver, also deleted them same time.
    2) Import the archiver created in step one and prove an input map for the "class" field to appropriate value as "Content Type"(content type =B)
    In this way all content items with class=A would be converted into content type=B.
    Hope that helps you.
    regards,
    sapan

  • ITunes 12.1.2.27 can't delete field contents from multiple tracks

    This is new to iTunes 12.1.2.27.
    Try it out: you cannot completely delete the contents of any field in the iTunes album "Get Info" window, when there are multiple tracks selected. Every previous version of iTunes could do this easily.
    For example, I have an album with different comments for several tracks. I simply want to delete all the comments on the album. With all the album tracks selected, I delete the gray "Mixed" text in the Comments field, like in the last version. When I close the Get Info window, nothing has changed. The comments are still there.
    This happens with all the fields. You can no longer delete all the contents of any given field all at once. It's one track at a time or nothing.
    Also, bonus problem: try to cut some text out of these fields with Command-X: Artist, Album, Album Artist, Composer, Grouping and Genre fields. You can't. Command-X does nothing. I think it has something to do with the auto-complete function.
    I gave feedback on these two problems. If they bother you, please leave feedback as well.
    https://www.apple.com/feedback/itunesapp.html

    Apr. 2015 Re-install iTunes application - https://discussions.apple.com/message/28055467#28055467

  • 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

  • How to print PDF file content from ABAP in background?

    Hi,
    Is it possible to print PDF file content from ABAP in background?
    I have some PDF content which I need to print it, these PDF files are generated outside the SAP.
    Please have you any suggestions?
    Thank you
    Tomas

    <b><u>Solution:</u></b><br>
    <br>
    The target output device must support PDF print, this is only one limitation.<br>
    <br>
    REPORT  z_print_pdf.
    TYPE-POOLS: abap, srmgs.
    PARAMETERS: p_prnds LIKE tsp01-rqdest OBLIGATORY DEFAULT 'LOCL',
                p_fname TYPE file_table-filename OBLIGATORY LOWER CASE,
                p_ncopi TYPE rspocopies OBLIGATORY DEFAULT '1',
                p_immed AS CHECKBOX.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      DATA: lv_rc     TYPE i,
            lv_filter TYPE string.
      DATA: lt_files TYPE filetable.
      FIELD-SYMBOLS: <fs_file> LIKE LINE OF lt_files.
      CONCATENATE 'PDF (*.pdf)|*.pdf|' cl_gui_frontend_services=>filetype_all INTO lv_filter.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          file_filter             = lv_filter
        CHANGING
          file_table              = lt_files
          rc                      = lv_rc
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0 AND lv_rc EQ 0.
        MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      READ TABLE lt_files ASSIGNING <fs_file> INDEX 1.
      IF sy-subrc EQ 0.
        p_fname = <fs_file>-filename.
      ENDIF.
    AT SELECTION-SCREEN.
      DATA: lv_name   TYPE string,
            lv_result TYPE boolean.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file                 = lv_name
        RECEIVING
          result               = lv_result
        EXCEPTIONS
          OTHERS               = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      IF lv_result NE abap_true.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
    START-OF-SELECTION.
    END-OF-SELECTION.
      PERFORM process.
    FORM process.
      DATA: lv_name     TYPE string,
            lv_size     TYPE i,
            lv_data     TYPE xstring,
            lv_retcode  TYPE i.
      DATA: lt_file TYPE srmgs_bin_content.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lv_name
          filetype                = 'BIN'
        IMPORTING
          filelength              = lv_size
        CHANGING
          data_tab                = lt_file
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Read file error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = lv_size
        IMPORTING
          buffer       = lv_data
        TABLES
          binary_tab   = lt_file
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
      IF sy-subrc NE 0.
        MESSAGE 'Binary conversion error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      PERFORM print USING p_prnds lv_data CHANGING lv_retcode.
      IF lv_retcode EQ 0.
        WRITE: / 'Print OK' COLOR COL_POSITIVE.
      ELSE.
        WRITE: / 'Print ERROR' COLOR COL_NEGATIVE.
      ENDIF.
    ENDFORM.                    " PROCESS
    FORM print USING    iv_prndst  TYPE rspopname
                        iv_content TYPE xstring
               CHANGING ev_retcode TYPE i.
      DATA: lv_handle    TYPE sy-tabix,
            lv_spoolid   TYPE rspoid,
            lv_partname  TYPE adspart,
            lv_globaldir TYPE text1024,
            lv_dstfile   TYPE text1024,
            lv_filesize  TYPE i,
            lv_pages     TYPE i.
      CLEAR: ev_retcode.
      CALL FUNCTION 'ADS_SR_OPEN'
        EXPORTING
          dest            = iv_prndst
          doctype         = 'ADSP'
          copies          = p_ncopi
          immediate_print = p_immed
          auto_delete     = 'X'
        IMPORTING
          handle          = lv_handle
          spoolid         = lv_spoolid
          partname        = lv_partname
        EXCEPTIONS
          OTHERS          = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_GET_PATH'
        IMPORTING
          ads_path = lv_globaldir.
      CONCATENATE lv_globaldir '/' lv_partname '.pdf' INTO lv_dstfile.
      OPEN DATASET lv_dstfile FOR OUTPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      TRANSFER iv_content TO lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CLOSE DATASET lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ZBAP_RM_PDF_GET_PAGES'
        EXPORTING
          iv_content = iv_content
        IMPORTING
          ev_pages   = lv_pages.
      lv_filesize = XSTRLEN( iv_content ).
      CALL FUNCTION 'ADS_SR_CONFIRM'
        EXPORTING
          handle   = lv_handle
          partname = lv_partname
          size     = lv_filesize
          pages    = lv_pages
          no_pdf   = ' '
        EXCEPTIONS
          OTHERS   = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_SR_CLOSE'
        EXPORTING
          handle = lv_handle
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
    ENDFORM.                    " PRINT

  • Script needed to print complete contents in scrolling text field Acrobat Pro 9 (MAC)

    I've seen this question several times in my search but no real solution. My client wants a form with text fields that only show 1-2 lines when viewed on-screen but are scrollable so that the user can input a lot of text. I had no problem creating that. The problem occurs when I try to print the form. Only the visible lines of text print and not the entire contents of the field. 
    Is there a Javascript that I can assign to a Print button in my form that can be assigned to the Mouse Down action that will make the entire field contents print? I even recreated the form in WORD so that when the user inputs text into the field, the contents of the form move down the page. My client didn't like that approach. I'm not a programmer and so I haven't been able to write my own script to handle the printing issue. I'm MAC based so using Livecycle isn't an option for me. Thanks!

    I'm using Acrobat Professional 9. I used to use Livecycle which was more flexible, but I no longer have a PC, only MAC and Adobe doesn't make Livecycle for the MAC. 
    The client doesn't want larger fields unfortunately. They have questions that require 2 or 3 pages of information to be entered into a small text field but they don't want large fields. If they're reviewing the answers online, it's fine - they can just scroll through the text fields and read the answers but they don't want the completed text fields to expand unless the form is printed.
    I've already set up my text fields to be multi-line and scrollable so that the client can review all of the text in the field if they are looking at the saved PDF online. The problem I'm having is that I need the entire contents of the text field to be visible ONLY when printed out. They don't want larger fields to show in the form. The client was quite specific about it. The form is also going to be used infrequently, so collecting the data and storing it on a server isn't something they're particularly interested in. The information is also confidential, so they do not want me to be collecting and storing the data and sending it back to them in another format. The easiest option I could see was to create a script tied to a PRINT button that printed out the complete text field.
    Thanks!

Maybe you are looking for