Scheme, with data and submit

Hello guys,.

I would like to help here.

I have designed a form with a defined schema, an example of XML data file and now it is pre fill a DropDownList control with data from XML (say 50 points). But when I send the form in XML format, presents the complete list of 50 items as well as selected.

Is it possible to show only the selected item?

To be more precise, how can I choose the fields that I need to be submitted?

Thank you

Hi Diego,.

Here is the link to a sample form and the XML data.

https://Acrobat.com/#d=jC13e8CLueyxcEU7LWM84A

https://Acrobat.com/#d=BFnSDSzIVY65BgDSf3KN0Q

The form is pre-loaded XML. You can find in the drop docReady event how it works. In the button submit I am remove the nodes of the XML that I'm disguising, so that it only exports the value present in the field. I guess you can also do it by removing the script from the docReady event, but not sure you can give it a try.

Thank you.

Sidonie.

Tags: Adobe LiveCycle

Similar Questions

  • Make XY graph from the string with date and time data

    1 all sorry for my English.

    I have files with data. In this array of strings, I have 2 columns with date and time. I want to show these data to the XY Chart with time and date on some of the DBL and X on Y.

    I tried to do it by myself, but cannot add to time on X axis.

    Hi olderon,

    you date string is something like "30.01.2014" but looking for "%d//%m %y. Spot the problem?

  • Working with date and time of the request for help from acrobat JavaScript...

    This coming from

    Working with date and time in Acrobat JavaScript (part 1 of 3)

    The following code adds five days to the current date, and then prints the new date in the console window.

    Get the date and time

    var rightNow = new Date();

    Get the value of millisecond

    Article date

    var msRightNow = rightNow.getTime ();

    Calculate in milliseconds, of 5 days

    5 days x 24 hours/day x 60 min / h x 60 s / min x 1000 ms/s

    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Do the calculation of var CFAbsoluteTime = msRightNow + challenge;

    Create a new Date from the calculated value

    var theNewDate = new Date (finalTime);

    In the actual work on a form code, you'll want to place the

    the object of a field value. But since this is test code, we will

    Print the result to the Console window (great for debugging)

    Console.println ("5 days from now is:" + theNewDate.toString ());

    The foregoing is the exact code (cut and paste)

    The error I get here is;

    ReferenceError: theNewDate is not defined

    1:Console:exec

    undefined

    To get the "undefined" question a lot... it seems to me, learn to distinguish the undefined 'of type' undefined 'variable' and undefined 'value '.

    in this case 'theNewDate' seems to be defined as a variable equal to the current date plus 5 days... BUT I am now "educated" enough to 'see' Why am I getting the error...


    Any thoughts... Any who...

    You need to highlight all the text that you want to run.

    You have not set the rightNow variable before you can apply a method to the variable.

    You can just add a new variable as msRightNow name. Why not use rightNow.

    Executes the code that you provided with a new departure of Acrobat, I get the following error messages:

    rightNow.getTime is not a function

    1:Console:exec

    TypeError: rightNow.getTime is not a function

    1:Console:exec

    undefined

    What you are showing probably works because your previous attempts have left behind them a variable "rightNow" and as long as you do not have the object of time date change too much, you will not notice the error.

    Cleaning of your code:

    get the number of milliseconds of the date object.

    rightNow var = (new Date()) .getTime ();

    define 5 days in milliseconds;
    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Add 5 days to the value of this moment and assign the result to the last time;
    var CFAbsoluteTime = rightNow + challenge;

    convert finalTime value in a date object.
    var theNewDate = new Date (finalTime);

    display the result;
    Console.println ("5 days from now is:" + theNewDate.toString ());

    Have you tried the code that I provided, it is another way to add days to the date object.

  • I recently updated my iPhone to iOS 9.3 6s and now my data and wifi are in place. Now I can't open the apps and send messages with data and barely on the wifi. I've tried everything, and it still does not work.

    I updated my iPhone to iOS 9.3 6s today and now my data and wifi are in place. Whenever I try to open an app or send text messages with data it does not at all. And with wifi, it just works. I tried just like turn roaming off and off and other lte but nothing seems to work at all. Can someone please?

    I have this same problem too, it really gets me upset

  • How can I save my browser history, with dates and times included?

    I need save my history of the browser with the date and hours included. I tried to do the backup, but it saves to a JSON file and I do not know how to open that. Copy and paste into Notepad do not record the dates and times.

    Firefox is not a way to export the history to a text file. JSON in the bookmarkbackups folder backups store only bookmarks and not history.

  • Passport problems of blackBerry with date and time on the passport of Blackberry

    Hello!
    I have problems with my passport for Blackberry.
    For the couple in a day time, it changes itself. So my hub doesn't work, I get no new messages, I can't send messages! The last time I did correct settings did not help. If everything is correct or hub or messages do not work. I tried to make different adjustments, tried to restart the hub, tried to restart the phone. but it does not work. I really need your help because I can't use my phone and nobody can connect with me.
    I didn't drop the phone. I know that these problems are related to the date and time because since the first problem with hub and messages has occurred, I saw that the date and time were bad, changed to correct and everything went well. I don't understand why he doesn't now. Can you tell me what to do?
    OS 10.3.2.2836
    1 January, I received this phone and it worked allright until some of the OS updates, can't tell which exactly because I have auto update.

    For those who have the same problem: I deleted the contact of my mother on the phone. I deleted the messages displayed as January 27, then I added my mother to local contacts and new messages started coming

  • Facing problem with date and time.

    * - Original title - BIOS

    Mr President.

    I have Compaq CQ2100IL Desktop pc for awhile I was faced with the problem of the date and time, so I posted this question to Microsoft, so they gave me a solution change my CMOS battery, so I did it, but despite this I get this error again then I tried and got answer to update my BIOS , I tried to find a version update on the HP site but did not find, so please help me in this matter.

    Hi Vikas,

    You can contact HP here: http://h10025.www1.hp.com/ewfrf/wc/contacthp?cc=us&dlc=en&lc=en&os=4062&product=3890751&sw_lang=

    Warning in the BIOS: BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Let us know if you need assistance with any windows problem. We will be happy to help you.

  • retriving records with date and time stamps

    I need to get all records that have been updated between 08:36:06 and 08:36:09 12/15/2009

    I use this application it gives me the numbers on the right (I think) because this condition GURMAIL_CPLN_CODE = 'UGAP', I want something more
    using the stamp date and time with dates
    12/15/2009 08:36:06 AM
    12/15/2009 08:36:07 AM
    12/15/2009 08:36:08 AM
    12/15/2009 08:36:09 AM
    select * from GURMAIL
    where 
    PERMAIL_CPLN_CODE = 'UGAP'
    AND TO_CHAR(PERMAIL_ACTIVITY_DATE,'MM/DD/YYYYHH24:MI:SS AM') >= '12/15/2009 08:36%'
    Thank you

    face-> Office (while exclaiming in despair "¿Dang, now how could I miss that?")

    Yes, Max, you're right, thanks for being there!
    When I never learn never to post a reply, unless I ran the code me first? ;)
    In any case: bed here now, ciao!

  • Copy the table with data and constraints

    Hi all

    I need to create a stored procedure that creates a table and copy a table with its data and constraints. We use it for backups. Y at - it all stored procedures out there who can do it, im pretty new to this and I need to create a stored procedure that can achieve this.

    any help will be much appreciated

    Thank you
    K

    Hello

    The procedure that you created is invalid

    Recompile it, and then type

    show error
    

    Rectivy the error until the procedure becomes valid.

    Concerning
    Anurag

  • How to activate the historical record with date and time in EBS

    All,

    I created a custom form in 11.5.10 instance. The table on this form has all those which columns in it, and it is filled in the table of database as well as the date and time. But, when I go to the EBS and open the form and click on "Historical Record" it just shows the date of creation/update, but not this time.

    Can someone please give me an idea how to display time as well in the history of record?

    -VRDida

    The Important thingbis the type of data in the forms. If only one date, the part of hour is missing. If the Datetime, the timepart is there. Have you tried to check the values during execution by using the feature review?

  • Problem with date and time

    HP Elite m9498d, Windows Vista 32-bit. Battery change, but the time and date again goes back to January 2002?

    Then, it might be a problem with the BIOS itself. Try to update the BIOS which for sure should solve the problem.

  • Feature of table rows with data and instances

    My form is as follows:

    I have several boxes superimposed on an image. Each box will have several actions related to it (more on that in a moment).

    I have a Table that will be in some data depending on which checkboxes are checked and unchecked.

    Several things are are as follows:

    A table is set up with the following headings and the respective lines - vial #(txt), rental (txt), area (txt), amount (dropdown), price (dropdown), cost (calculated - eval(amount * price)).

    When a check box is selected, follow the following actions:

    location and area are filled with the values of text [Condition: when FR0 box is checked;]  [Result: the value of location to be text, the value of the amount to be text, set vocus on amount]

    When a check box is disabled, follow the following actions:

    all fields are set to null.

    NOTE: this works very well with the first box.

    Now, the issue:

    When the following check box is selected, what should happen is the following: a new instance of the lines should appear, location and size should be automatically filled in same way as above and focus should be set on the amount.

    What happens is the following: a new instance is created, the focus is set on the amount, but the 2 fields are not met as in the example above.

    Next: The other checkbox is not selected, the following should happen: the last instance should disappear and all the cell values in last instance must be null.

    What happens is this: the last instance will carry but all the raising on original line (text only) are also set to null.

    Now, I know this Setup is just a problem with how I have my Table setting and subforms. So here's the configuration of the form (also note images):

    Row1 undergoes a subform Values_subsection. Type: use all subforms in the order / Binding: repeat section for each data element

    Row1 has: allow page with content breaks / Binding: repeat rows for each data element

    So where I'm going wrong?

    Img1.PNGImg2.PNGImg3.PNG

    Img4.PNGimg5.PNGImg6.PNGImg7.PNGImg8.PNG

    Thanks for all the help and suggestions in advance

    Shai

    Hi Shai,

    I think that what you're trying to do is not supported by the manufacturer of the action.  But can be done with your own scripts, I added a script object that contains a custom script that will do what you want, I call it "Script" (see image below).  Select this object, then "all events" under display in the script editor (ctrl-shift-f5) to see what I did. "

    This means that each event box change needs the following JavaScript code;

    Script.Change (this.rawValue, 'EN 1', 100);

    The first parameter is the value of the box (1 for selected, 2 for non selected), the second the location and the third the amount).

    The funtion of change in the Script object looks like

    function change (newValue, location, amount)

    {

    If (newValue is '1')

    {

    var newRow is Patient_info. Table1._data.addInstance (1);

    If (xfa.host.version< 8)="">

    XFA. Form.Recalculate (1);

    }

    newRow.loc.rawValue = location;

    newRow.amt.rawValue = amount;

    xfa.host.setFocus (newRow.amt);

    }

    on the other

    {

    var lines = Patient_info. Table1.resolveNodes ('Data [*]');

    for (var i = 0; i)< rows.length;="">

    {

    var line = rows.item (i);

    If (row.loc.rawValue is location)

    {

    Patient_info. Table1._data.removeInstance (Row.index);

    break;

    }

    }

    }

    }

    You should see a similarity with this generator of action produced.

    I only did the first row of boxes (the first four), but here's my version of the form that I modified to check the code above worked.

    https://workspaces.Acrobat.com/?d=7j8MuoO37xAttiE8Q0N69Q

    You may need to reselect the face image although it was not included in the form you have downloaded.

    Hope this helps

    Bruce

  • Dates and MS SQL

    Hi - I'm having a difficult time with dates and MS SQL that I just updated our database from access and it made my head.

    The problem I have is when I entered a date like 10/05/2006 it is displayed as 10/05/2006 and then if I update the record it switches back on 05/10/2006 and a vice-versa.

    In my text field the code is:
    value = "#DateFormat(lastcalled, 'dd/mm/yyyy') #

    When I submit to db code is:
    lastcalled = #CreateODBCDateTime (lastcalled) #.

    If I remove the dateFormat I don't get the problem but the date is not displayed correctly.

    I'm sure it's something small that I'm missing...

    Kind regards

    Jared.

    Bravo for the explanation - I fixed it based on what you said.

    The problem is that I did not know that I had to separate the date and then re - create it again and it would be fitting for the db that I never had to do that when I was with access.

    I thought you were proposing "a" solution rather than 'the' solution.

    Thanks for your help and your patience!

    See you soon,.

    Jared.

  • Print with photos and / or burn them on CD - the legend, I entered my PHOTO folders for each photo.

    I have Vista.  I want to be able to print the line of legend with my photos.  I love OLD pictures with date and various info on back.  I want to keep this info with the picture.
    I would like to be able to print it if you wish, or burn it to a CD.

    I have Vista.  I want to be able to print the line of legend with my photos.  I love OLD pictures with date and various info on back.  I want to keep this info with the picture.
    I would like to be able to print it if you wish, or burn it to a CD.

    ===========================
    Not an option with Photo Gallery.

    The free Picasa software has several options
    to add text to pictures.

    (FWIW... it is always a good idea to create
    a system before you install restore point
    software or updates)

    Picasa
    http://Picasa.Google.com/

    After you download and install Picasa...
    Open the program and double left click
    an image to open the editing functions.

    To add text to the front of the photo...
    choose... Simple retouching / text button...

    More info...

    How to add text to your Photos using
    Google Picasa 3
    http://www.ehow.com/how_4599330_text-photos-using-Googles-Picasa.html

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Identify the tables with data or not

    Hello

    I want to find the tables with data and containing not data without checking each table. Is there a possible way?

    Like this?

    select
      table_name,
        to_number(
          extractvalue(
            xmltype(
     dbms_xmlgen.getxml('select count(*) c from '||table_name))
            ,'/ROWSET/ROW/C')) count
      from user_tables;
    

    Or may be

    select
      table_name,
       CASE WHEN
           to_number(
              extractvalue(
                xmltype(
         dbms_xmlgen.getxml('select count(*) c from '||table_name))
                ,'/ROWSET/ROW/C'))>0 THEN 'Table Has Data'
        ELSE 'Table is Empty'
        END
      from user_tables;
    

Maybe you are looking for