Multiple barcodes in a form

Hi All,
We have a requirement to use multiple barcodes in a form, and that too form is dynamic one. when we extract data out of these barcodes we get the content list (xml list), now is there any straight forwards approach to merge these individual list elements into a single XML which we will be using to re-merge with the form. (currently i am accessing each element as contentlist[0],contentlist[1].... which is not the right approach)
I am setting the format for the barcodes as XML as we need to preserve the hierarchy of the schema.  Can anyone please advise the approach the i need to take in case of handling these multiple barcodes
Thanks in Advance

What I typically do in the case where there are multiple barcodes on a form is use the label as the parent element to the rest of the fields on the form. Loop through each of the barcodes in the results from the decode and then place each of them into their own result node of a single XML document. Doing this, you can change the number of barcodes on your form without having to re-code.

Similar Messages

  • Multiple lov in singlr form!!

    Hi
    I have a table called responsibility(userID,resID,userResID,Active,Date),user(userId,name). In this resID,userID are foreignKey's. i want to set LOV for userID,resID and Active fields within a single JSP form. we could able to generate LOV for single field using jsp element wizard and data webBean.How to do for multiple fields?.I m getting some JBO error while doing multiple lov's in single jsp.
    Pls let me know the solution..
    thnks,..

    What I typically do in the case where there are multiple barcodes on a form is use the label as the parent element to the rest of the fields on the form. Loop through each of the barcodes in the results from the decode and then place each of them into their own result node of a single XML document. Doing this, you can change the number of barcodes on your form without having to re-code.

  • How to use Ajax Get Multiple Values in Tabular form?

    Hi All-
    I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
    Basically, I want to use the drop down list to populate rest of the values on the form.
    I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    Workspace: iConnect
    login: demo
    password: demo
    I was able to duplicate his example on page 1 (home page).
    However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
    Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
    This is what I have done on this page:
    1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
    3. Put the following in the Page Header:
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);   
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
        get = null;
    </script>
    Add the follwing to the end of the above JavaScript:
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    var s = filter.id;
    var item = s.substring(3,8);
    var field2 = list2 + item;
    f_set_multi_items_tabular2(filter, field2);
    4. Tabular form query:
    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    5. In Book_ID_DISPLAY column attribute:
    Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
    Changed to -> onchange="javascript:setLOV(this,'f03');"
    Now,  T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
    Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
    Ling
    Updated code in Red..

    Ling
    Lets start with looking at what the javascript code is doing.
    function f_set_multi_items_tabular(pValue, pRow){
      /*This will initiate the url for the demand process to run*/
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                              'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
      if(pValue){
        /*If there is an value than submit item name with value*/
        get.add('TEMPORARY_APPLICATION_ITEM',pValue)
        get.add('T_ROWNUM',pRow)
      }else{
        /*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
        get.add('TEMPORARY_APPLICATION_ITEM','null')
      /*Submit the url and te returned document is of type XML*/
      gReturn = get.get('XML');
      if(gReturn){
        /*There is something returned*/
        var l_Count = gReturn.getElementsByTagName("item").length;
        /*For all elements of the tag item*/
        for(var i = 0;i<l_Count;i++){
          /*Get the item out of the XML*/
          var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
          /*Get the id of the item*/
          var l_ID = l_Opt_Xml.getAttribute('id');
          /*Get the element in the original page with the same id as
          **the item we have in the XML produced by the ondemand process
          var l_El = html_GetElement(l_ID);
          /*Now get the value of the item form the XML*/
          if(l_Opt_Xml.firstChild){
            var l_Value = l_Opt_Xml.firstChild.nodeValue;
          }else{
            /*There is no value*/
            var l_Value = '';
          if(l_El){
            /*There is an element with the same id as the item we are processing*/
            if(l_El.tagName == 'INPUT'){
              /*The element is an input item just set the value*/
              l_El.value = l_Value;
            }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
              /*If it is a span elment and has the class grabber
              **Then set the innerHTML of the parent to the value
              **and the id of the parent to the id
              l_El.parentNode.innerHTML = l_Value;
              l_El.parentNode.id = l_ID;
            }else{
              /*Else set the value as innerHTML*/
              l_El.innerHTML = l_Value;
      get = null;
    Now where it went wrong in your initial post
    The XML that was returned by your XML process would be something like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_1">CSS Mastery</item>
      <item id="f03_1">22</item>
      <item id="f04_1">Andy Budd</item>
      <item id="f05_1">1</item>
    </body>
    When you don't use apex_item to create your tabular form a item in the table will look like
    <input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
    Notice the id's f02_1 and f02_0001 don't match.
    So to make it work the XML would have to look like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_0001">CSS Mastery</item>
      <item id="f03_0001">22</item>
      <item id="f04_0001">Andy Budd</item>
      <item id="f05_0001">1</item>
    </body>
    To do that simply use lpad in the ondemand process like
    HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
    HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
    HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
    HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
    Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
    Nicolette

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • Multiple Columns in a Form

    Hello All,
    Is it possible to have multiple columns in a form? I tried
    embedding a Tile container in a Form container, but the form labels
    did not line up correctly any more.
    Any suggestions? Thanks in advance! -- BTR

    Thanks! It seem to be working even though I have to place the fields one by on on the page. But at least I'm now able to display two to three columns per line.

  • Export multiple responses in pdf form?

    Is it possible to export multiple responses into pdf form, not just excel? Thanks!

    Sorry we currently do not support this. You can vote for the feature here:
    http://forums.adobe.com/ideas/1378
    We use this to help prioritize our work.
    Thanks,
    Randy

  • Listbox with multiple selection in interactive forms

    Hello experts.
    I'd like to use a listbox in my form with enabled multiple selection.
    The form is part of a WebDynpro ABAP Application.
    Reading the context to get the content of the form fields works fine as long as I don't use a list box where
    multiple selection is enabled.
    When I use the box I only get the values of all other fields, but not the selected values of the box.
    My context node for the pdf looks like this:
    - *Node for PDF*  (Cardinality 1..1; Selection 0..1)
    -- Attribute 1
    -- Attribute2
    -- Node for Listbox (Cardinality 0..n; Selection 0..n)
    --- Attribute for Listbox
    Please help!
    Regards
    Frank
    Edited by: Frank Mueller on Feb 6, 2008 10:31 AM

    Hi,
    is there really nobody who knows, how to give more when one selected item of a list box back to ABAP?
    Please help!
    Regards
    Frank

  • Handling multiple submits in single form with JSP

    HI,
    I need to handle multiple submits in single form in a JSP.
    <html>
    <body>
    <form action="/Compute" method="post">
    <input type = "Submit" value="Find"/>
    <input type = "Submit" value="Add"/>
    <input type = "Submit" value="Delete"/>
    </form>
    <body>
    <html>
    /Compute wld take the control to a servlet named ComputeController.java .
    In this servlet how should I distinguish which Submit has been clicked(Find or add or Delete).
    TIA

    Give the submit button a name. It will be sent as well, so you can see it in the request variables.

  • Functionality in SAP to allow you to print multiple copies of a form

    I've been asked by a SD functional team member how to: 
    This is the table and field names for  Number of Messages functionality in SAP which should allow you to print multiple copies of a form at one time.
    Program Name:SAPMV13B
    Screen #:0211
    Transparent Table: NACH
    Field Name: ANZAL
    Data Element: NA_ANZAL
    How do I go about setting up this functionalilty?
    Thanks,
    Laurie

    Hi Laurie,
       There are three possible ways -
       1. Predefined number of copies - You can define number of copies in the print parameters while creating condition record. Ask you functional team member how they are setting up condition records. You have an option to setup print parameters on condition record screen. This is the only option if you are using output determination.
       2. If you have an isolated print program then you can choose to let user enter print parameters by using parameter " DIALOG = ' ' " in "open_form".
       3. If you have an isolated print program and do not want to let user control other print parameters you can take input from user ( or hard code ) number of copies and use that in parameter " OPTIONS " in "open_form".
    Cheers,
    Sanjeev

  • Create multiple tables in adobe form

    hi,
    Is there anyone can tell me how to create multiple tables in Adobe Form using SAP Netweaver Developer Studio. Are there any steps i can follow?

    Hi,
    Define  the tables in subforms and then wrap them into another subform and make it the subform as type flowed.
    Regards,
    Raju.

  • Adding Barcode to Adobe Form using Adobe LifeCycle Designer

    I am hoping someone can help me. I have created a PDF form and have added 2 3-of-9 barcodes to the form using Adobe LifeCycle Designer version 8.0. I see the barcodes when I prin tthe form from Adobe but when I run my web page to print out the form using pdf, only the default value shows on the printed form, no tthe barcode as expected? Do I need some other software?
    Thanks in advance
    D

    Hi Vasu,
    Yes you can add fonts on ADS.
    Adobe document services require access to fonts that are installed with the Font Manager Module. This module contains a number of Adobe bundled fonts installed in
    "/usr/sap/<SAPSID>/JC<xx>/j2ee/os_libs/adssap/FontManagerService/fonts/adobe".
    You can also add fonts obtained from other vendors. The types of fonts you can add are OpenType® (.otf), TrueType® (.ttf), and PostScript® Type 1 (.pfb/.pfm).
    Procedure
    To add fonts:
    1. Create a subdirectory called fonts below the
    "/usr/sap/<SAPSID>/SYS/global/AdobeDocumentServices/ FontManagerService" directory.
    Enter JC<xx> if your system is a SAP Web AS J2EE system.
    Enter DVEBMGS<xx> if your system is a SAP Web AS ABAP + J2EE system (J2EE Add-In).
    2. Create a subdirectory called customer below the fonts/ directory created in the previous step.
    3. Copy your fonts into the "/usrsap/<SAPSID>/SYS/global/AdobeDocumentServices/ FontManagerService/fonts/customer" directory.
    4. Restart the Document Services Font Manager for the changes to take effect.
    5. Also restart the application com.adobe/AdobeDocumentServices for the changes to take effect.

  • Code128 C Barcode in Adobe Forms - Minimum Characters

    Hello All, I have noticed that Code128 C barcode in Adobe forms seems to have a minimum required characters to be 38 or else, it'll add a zero at the end of the string. Is this something inherent limit or am I missing something? I truly appreciate responses. Thanks
    K

    Hi, it's me again
    Here is the answer of the SAP support:
    unfortunatelly this control character is not supported by the XML
    standard and the data in the SOAP request is delivered in XML format to
    the ADS. Therefore such character cannot be used.
    I can only suggest the following web page:
    Link: [http://www.w3.org/International/questions/qa-controls#further]
    I then asked another question:
    Is there any other possibility to generate the pdf417 barcode and use
    it inside the pdf form? For example: Is it possible, to generate the
    barcode-image before calling the ADS-function and submit the address of
    the image instead of the string for the barcode?
    answer:
    I understand that you don't want to print out the string value. But it
    works as follows: the template (which contains the empty label
    definition) and the data (which contains the value for the label) are
    sent to ADS and on ADS side will the label generated.
    Therefore it is also not possible with ADS that you create the label
    befor sending it to ADS.
    The only thing I can imagine that you create the label with an external
    program and you insert it into the template as an image. But I don't
    know if it is possible for you.
    Conclusion: There is definitely no chance to use such characters in Adobe print forms due to the XML standard which is used to process the data inside the ADS.
    In my case, i have to use SMARTFORMS technology to create the label with a pdf417 barcode containing these special characters.
    regards
    Ralf

  • Tell me how i can read barcode in smart form

    hi all,
                  pls tell me how i can read the  barcode in smart form.
               Any body give  me  some idea.
                     how i can program to read that.
        regards
          vikas saini.

    Hi
    if u mean my creating barcode format ..then in smartforms...create a character format.......in that there is a radio button ...barcode select that and select a particular barcode format.
    save and activate this character format.
    call this character format where u want the barcode .
    <c1>it_kna1-kunnr<c1>

  • How to open multiple instances of same form thru menu items

    i'm not able to open another instance of the form.....if i want to open multiple instances of same form ...what should i do???

    Hi Shenaz,
    To open multiple instances of the same form you need to set a different FormUID to each form you open.
    So lets say your FormType is MyFormXPTO. You need can set the FormUID as MyFormXPTO_1, MyFormXPTO_2, and so on.
    If you need a code samples, take a look at this post.
    Regards,
    Vítor Vieira

Maybe you are looking for