Is it possible with javascript to compile the data entered by the user in an easy format to excel?

I have a form in which the user enters several lines of data as well as additional information on these data.  I would like finally to export data, so I can manipulate the Excel.  This is possible because javascript (or otherwise)?  Here is an example of what I mean.

The form of a table in which the user enters each of the names of his friend, their favorite color and their age.  I want the name of the specific friend linked to their favorite color and age so when I export to excel I can see how many friends has the user whose favorite color is red.

If the form data would be as follows:

Friend1name

Friend2name

Friend3name

Friend1color

Friend2color

Friend3color

Friend1age

Friend2age

Friend3age

When I export the data as entered above, the results of each field in another column.

Anyone has any ideas for that?

It is possible with JavaScript. You can write the data to the JavaScript console and then copy & paste into Excel, or write to a file as an attachment (aka data object) and export it. Here's a sample script that writes the field data in the JavaScript console:

Table of domain names

Invoke the var = ['Friend1name', 'Friend2name', 'Friend3name', 'Friend1color', 'Friend2color', 'Friend3color', 'Friend1age', 'Friend2age', 'Friend3age'];

Browse the fields and write the field values in the console

for (var i = 0; i)< afields.length;="" i="" +="1)">

Console.println (getField(aFields[i]).valueAsString);

}

Display console

Console.Show ();

You can place this code in the mouse event to the top of a button and click the button to run it. This last line of code displays the console and you will be able to copy & paste the data.

Tags: Acrobat

Similar Questions

  • Is this possible with LR5 to export the EXIF of every photo album (or albums) to an Excel file? My goal is to analyse the focal length I use most

    Is this possible with LR5 to export the EXIF of every photo album (or albums) to an Excel file? My goal is to analyse the focal length I use most. It could be used for various other analysis also

    Therefore change one of your columns in the filter bar to display the focus distance.

  • Reader SDK: is it possible to see what text the user has selected?

    I use Adobe Reader SDK with c#, by looking at the characteristics of communication monitor.

    I can open a document in the reader and allow the user to the user the reader as select text tools, etc.

    Here's the problem: I want my application to know what text that the user has selected.  And I would like to know the name of the field that the user has selected, not only the text of the field.

    PIA of Microsoft Office went something like this:

    currentDocument.GetSelectedText ();

    Is it possible to do with IAC or javascript or plug in the Player SDK features?

    If this is not the case, can it be done with the Acrobat API?  I've looked through the two sets of documents and have not found what I needed.

    Thanks for any help!

    To write a plug-in for Adobe Reader, you will need to go through 2 separate steps.

    Step 1 - Download the SDK Adobe Acrobat (from here http://www.adobe.com/devnet/acrobat)

    and build your plugin against the Acrobat product, following the documentation to ensure that you use only the API that does not exist in the player program. The documentation tells you what version of the Adobe ACrobat program or Reader is required for the function and that the function can be called in Reader.

    Second step: apply for a certificate of reader allow your plug-in to be loaded by the player, the link is on the same web page as the link above. This step can be started until you have created your plugin, and I recommend that start you this process before you develop your plug-in like Adobe may refuse to give you the certificate in which case your development would be lost.

    Only once you have authorization form Adobe can you do your job of plug-in with the reader app.

    Once you have done these two steps there are a lot of people on this forum who can help you with specific problems you may encounter.

    If you are not sure of having the knowledge to build the plug-in, there are a lot of people that you can hire to create the solution for you.

    HTH

    Malcolm

  • JavaScript to invite the user to save in PDF format

    I make the changes with the code for the file. I want the user to be prompted to save as a file .ai first. I have that down. Now, I'm eager to have the user immediately prompted to save as pdf with only the option optimize for fast web view selected. I think it's an adobe built-in smallest file size.

    The reason for wanting the guest is because I want to save the files in 2 different places.

    Here is my code so far...

    var doc = app.activeDocument;
    // Save as .ai file  
    var fileName = doc.fullName;  
    var thisFile = new File(fileName);
    var saveFile = thisFile.saveDlg();
    doc.saveAs (saveFile);
    
    
    // Save as .pdf file
    var pdfSaveOptions = new PDFSaveOptions();  
    pdfSaveOptions.pDFXStandard=PDFXStandard.PDFXNONE;  
    pdfSaveOptions.compatibility = PDFCompatibility.ACROBAT5;  
    pdfSaveOptions.preserveEditability = false;  
      
    var pdfFile = new File(fileName);  
    doc.saveAs(pdfFile, pdfSaveOptions);
    
    
    
    

    HAVE CS4 Windows 7 64 bit

    the folder structure is already existing?

    If so, things are simple.

    If the name and the number are in the file you could draw that from the entry rather then manual doc to guests.

    (Note that there is no test to check the folders exist etc...)

    var job = prompt("Enter Job Name");
    var num = prompt("Enter Job Number");
    aiFile = "D:\\"+job+"\\"+num+"\\AI\\Schematic.ai"
    pdfFile = "D:\\"+job+"\\"+num+"\\PDF\\Schematic.pdf"
    
    var newaiFile = new File(aiFile);
    var doc = app.activeDocument;
    doc.saveAs (newaiFile);
    
    var pdfOpts = new PDFSaveOptions();
    pdfOpts.pDFXStandard=PDFXStandard.PDFXNONE;
    pdfOpts.compatibility = PDFCompatibility.ACROBAT5;
    pdfOpts.preserveEditability = false;
    var newpdfFile = new File(pdfFile);
    doc.saveAs(newpdfFile, pdfOpts);
    

    If you want the script to create the folders so it is a little more difficult.

    JavaScript will not do that, and you need another work autour.

    something like that...

    if (Folder(qfolder).exists){
    app.activeDocument.saveAs( saveName, saveOpts );
    }else{
               //alert("about to try bat");
               batpath= 'call "C:\\Adobe Scripts\\MakeDirectory.bat"';
                battemp = new File("C:\\Adobe Scripts\\tempBAT.bat");
                battemp.open("w");
                battemp.writeln(batpath + " " + qfolder);
                battemp.close();
                battemp.execute();
             //alert("Had to Create Folder, Please press OK to continue...");
                $.setTimeout = function(func, time) {
                        $.sleep(time);
                        func();
                };
             $.setTimeout(function(){ app.activeDocument.saveAs( saveName, saveOpts )},200);
             }
    }
    

    the MakeDirectory.bat is just:

    ECHO OFF
    CLS
    
    IF %1=="" GOTO BLANK
    
    SET savepath=%*
    MKDIR %savepath%
    GOTO FINISH
    
    :Blank
    ECHO No Folder provided
    GOTO FINISH
    
    :FINISH
    

    the tempBat.bat is used to call the MakeDirectory.bat with the name of the file as an argument.

  • deployment of a BPM Application large Oracle with several projects of the user interface

    Hello world
    I'm working on a large application with Oracle BPM 11.1.1.5.0.

    I use JDeveoper 11.1.1.5.0 to build the application.
    The application has many tasks user with a lot of the UI (one for each task of the user).

    My problem is, whenever I make a small change in the project, I need to deploy this, which includes a master project and five or six projects UI (for now) for tasks of the user.
    As demand grows, I'm sure that this will certainly become a problem.

    So my question is if I do this the good sense? or should there be a more effective way?

    Thanks in advance

    Published by: luke on April 17, 2012 12:16 AM

    Hi Luke
    1. as a general rule, there is NO need to have a user interface project for an individual task. As initiator, approver, reviewer, LegalApprover etc etc, you have like 10 tasks (.task files). You can have just a single project of TaskForms UI and have taskDetails.jspx generated for each of these tasks. This is appropriately.

    2. any Application workflow must have only 2 deployers. Deploy resources are for real Workflow stuff that will have the main BPEL or process, BPM, human tasks etc. Basically, everything that goes into the workflow project. And another official of the deployment is that the REST of things means that the UI TaskForms project and other project support as useful projects, WebServices, EJB projects (if you have Web services). All this will be deployed as a SINGLE EAR.

    Lets take an example JDeveloper IDE point of view.
    1. application Name: SalesOrderApp
    2 workflow project name: SalesProcess (he is a a project jdeveloper project SOA or BPM Project type and has all human tasks, bpels, process bpm, rules etc.).
    3 interface user Project: SalesTaskForms (it is a form generated automatically for the first task you choose. Then for the rest of the tasks you can use this same project, to generate jspx for all others. WORK files. VIEW documents online on how to do it. I'll see if I can compile this list of URLS for you).
    3. support the EJB projects: MyEJBProject1 (some EJB project that connects to some specific to your back-end database project)
    4. support another Service EJB project: MyExtServiceProject1 (as another project EJB that uses data from an external source)
    5. some WebService project: SalesCreditCardValidationWebService (some WebService project to be deployed as. WAR file that performs a service).

    Try to apply the Concepts of SOA for each Service your application needs. Instead of putting all the EJBs and everying in one giant project, try to split their need logically commercial/sage and geenrate separate projects so that they can maintain as it is to other projects and other applications.

    Anyway, coming back, in the example above, you should have deployment just 2: 1 is the JAR file of SCA in the Workflow and another complete of the EAR file.
    (a) for the workflow project, right-click and generate a deployment profile to deploy all the workflow and NOT on the other projects of the user interface.
    (b) for each project individual genereate a profile of deployment such as MyEJBProj1, MyEJBProj2, MyWebService1, etc etc.
    (c) for TaskForms project, generate a deployment as SalesTaskForms profile. It is a WAR file.
    (d) at the level of the Application, create a new profile of deployment of the EAR type and now assemble all the projects in this EAR, with the exception of the Workflow project.

    First of all, you deploy file JAR of SCA of the Workflow. You need to redeploy this again only when you make changes to the workflow, humantasks etc etc.
    Deploy the full blown EAR file that has all the stuff (EJB JARs, TaskForm WARs, WebService wars etc.).

    At any time, you change your code taskforms or redeploy a java, ejb, EAR file.

    You should have a POT and an EAR to deploy at the end of the day. Infact this is how it should go into UAT, and production. They may not have many pots, multiple wars deployed. The reason why we have separated Workflow SCA Jar file is, because the workflow will not change frequently. And also older versions of SOA/BPM (before 11.5 FP) have a huge disadvantage. Whenever we deploy a workflow project, it will make existing processes VITIATED, unless you deploy a different version. This isn't a problem anymore for 11.5 + FP (Feature Pack applied). Therefore, be careful when you redeploy workflow project.

    Thank you
    Ravi Jegga

  • Possible way is to restrict the user to the planning an application

    Hello Experts,

    I have a requirement as I want to restrict bit user related to the demand for labour in the planning depends on business unit and product.

    that is... The test user could not access of the user to the company as an employee depends on some operational units and related products. So is it possible to do outside the [Chronicle] manual process.

    Thanks in advance...

    Are you just wanting to restrict access to specific members to enter data to or it also includes being able to 'see' only the data based on some examples.  For example, in the type of financing plan, I have write access to the Dept 123 for all accounts of actual Net profit, I want they have read access to this Department?  In this case, I would make sure that specific effective accounts, that I make sure that the user/group has only read access.

    Thank you

    Mark

  • Export PDF with beaches by using the user interface

    Hello

    Request:

    PDF export with all or Pages in line with the concept of the user interface.

    We need user interface with the concept of dialogue or the Palette.

    So far,.

    myDlg = new Window('palette', 'XXX Export Option');
    myDlg.orientation = 'column';
    myDlg.alignment = 'left';
    //add drop-down
    myDlg.DDgroup = myDlg.add('group');
    
    var DialGroup = myDlg.DDgroup = myDlg.add('group');
    DialGroup.add("statictext", undefined, "Choose Page Nos.");
    DialGroup.orientation = 'column';
    DialGroup.alignment = 'left';
    var myRBAll = DialGroup.add('radiobutton', undefined, "All "); //1
    
    
    var myRBRange = myDlg.DDgroup.add('radiobutton', undefined, "Range");   //2
    var myList = myDlg.DDgroup.add('edittext');
    myList.minimumSize.width = 150;
    myDlg.DDgroup.orientation = 'row';
    
    myDlg.show();
    
    
    with(app.pdfExportPreferences){
    pageRange = mypageRange;
    }
    
    var myPDFFilePath = File("~/Desktop/abc.pdf")
    app.activeDocument.exportFile ( ExportFormat.pdfType, myPDFFilePath, false);
    
    
    myRBAll.addEventListener('click', function(event) {
    });
    
    myRBRange.addEventListener('click', function(event) {
        myList.enableBehavior = true;
    ////~ alert("Clicked RadioButton: " + this.text + "\nValue: " + event.target.value);
    });
    
    

    Screen Shot 2015-10-13 at 13.44.01.png

    Thanks in advance

    Siraj

    Try this,

    var doc = app.activeDocument;

    var myPDFFilePath = File("~/Desktop/abc.pdf")

    If (myRBRange.value)

    {

    app.pdfExportPreferences.pageRange = myList.text;

    }

    on the other

    {

    app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;

    }

    doc.exportFile (ExportFormat.PDF_TYPE, myPDFFilePath, false);

  • Is there a way to connect to a protected area with an instead of the user name email address?

    Hello

    I want that the users have the possibility to connect to a protected address area whatever they used to register, not the user name, they created, because it is something that they too often forget.  Is this possible?

    Thanks in advance!

    If you set as email usernames you can connect using the e-mail. It is a factor of configuration you will need to do on the forms of registration etc.

  • BlackBerry app with no icon of the user interface

    Hi ppl,

    I was digging around for him for some time. I want to have a blackberry application that should be invisible to the user. This application will log the activities of the user as call made, n/o switches etc. and send them to some dedicated url.

    I want this app to have no icon on blackberry Ribbon and this app should not be easily installable.

    I tried many things, but the I'm not able to do. Just what I always do have an icon on blackberry.

    Can you guys suggest something to this subject.

    Thank you

    I don't think Matty is here... It does not constitute a request, it can be UiApplication, it will not appear in the Ribbon if it is defined in the module system... The only thing is it will appear in the Application Switch for this, you can override acceptsForeground to return false ...

    But still, I suggest to extend the Application rather than UiApplication...

    See you soon...

  • Web page with javascript login indicates the connection in IE8 but not Firefox 9

    The web page http://epgservices.sky.com/nevermiss/ to load correctly in Internet Explorer 8 and displays the connection information, but these do not loading in Firefox version 9.0.1
    The connection is generated by Javascript that I see. Java is enabled and it is not blocked by AdBlock Plus because I have turned off to see if he made the difference, but the connection to this Web site is not displayed

    No problem here with Firefox 9.0.1 on Linux on this page.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Economy twice during an action as the same file extension possible with Photoshop without overwriting the first backup?

    Hello, first time submit a question to the Adobe communities.

    I would like to be able to record twice during an action with the same file extension; How is that possible? I tried a number of methods such as: save a JPEG as a copy, renaming jpeg in jpg format, adding a line to underscore the SMALL Word after it, etc., and it keeps overwriting my first recording. I'm still not recording "in copy" feature when saving a jpeg file. Sometimes it does, sometimes it doesn't. I think that if this box is not grayed out on my second record I would be able to add the copy at the end of my file name that would create my second jpeg.

    I need this is because when I save the little and the big jpeg for our company store, I would just create an action that saves as two different sizes and then closes the file to move to another. The site on what I download is Four51 and they take a reorganization of the files, so a single method, I tried was to save the second time into action as a png but it makes it transparent and I need a white Uni.

    Tried to go into the options and disabling transparency PNG but that only works with quick export that will not register within an action (even abroad). It is a dilemma for some time, and my only way to work around it is to create the action doesn't follow: resize to 300 px wide > save as Jpeg > end of action. I play action and hit the command option I have change my size to 100 px wide for the thumbnail, then click on control shift s to record success and right arrow to add details and then save, order q, tab, space.

    If it makes no sense to anyone, I would be grateful for your advice. The only thing I can think that I have not tried is to change my background from transparent to white and then create this action: command option I have 300 px wide > order s (jpeg) > command option I have 100 px wide > command shift s (png) > w command

    I guess the only way to change your default background to white instead of transparent is to create a new document and put in place without transparent background then go further, my new documents will have white backgrounds. Do not see under my preferences?

    Thank you

    Something like the following action could work.

    A couple of notes:

    Image adjustment is under file > Automate > Fit Image and resizes the image to fit the specified size.

    For example, if you enter 300 in the two fields, photoshop resizes the longer side at 300 and the other dimension including the size proportionally as when you use Image > Image size to maintain Proportions checked.

    Photoshop uses the copy to JPEG files if the image of your savings has one or more layers or is not 8-bit/channel, because do not support JPEGs of layers or say 16 bits/channel.

    If you have only a background layer, then photoshop uses a copy when saving a jpeg file

    Thus, during the recording of the action you probably want that one-step flatten so save the first does not include copy in the name.

    To get the action record adding copy to name, open any image, add a layer, and then record save as jpeg for copy adds the jpeg save as step

    Created the snapshot of the original image open, so the second resizing using the original instead of resizing the image already resized.

  • Need help with Javascript to get the value of standard report column

    Hi all

    Apex 3.1 version

    I have a query SQL (editable report) region where I need to do validations using a process of OnDemand and javascript. For this posting, I need to use the serial number and id of this same report line item. The function is called when the serial number is changed. I can get the serial number easily because it is a text field, however, the item id is a standard report column (which actually a text field or hidden gives me a checksum error, long story). How can I get the value of the standard report column to set the value of an element of the Application to use in my process of application as well as the serial number? Here is my code below.
    <script>
    
    function f_ValidateSerial(pThis)
    {
        
      // The row in the table
    
      var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    
        //alert('Row is '+vRow);
    
    
      // Display the serial number
        //alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
    
      
     var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
     get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
     get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value);   // Here's where I need to get the item id to set application item!!
     
     gReturn = get.get();
     
    if (gReturn)
        { 
          alert(gReturn);
        }
     
      if(gReturn)
        { 
          html_GetElement('f21_'+vRow).value = '';
        }
               
    }
    </script>

    Hello

    Ok

    Item ID is standard report column.
    If you enter this Expression HTML column

    #ITEM_ID#
    

    I guess that the substitution of column item Id is #ITEM_ID #.

    Now, you have hidden input form that is not submitted.
    Then in JavaScript

    get.add('F101_INVENTORY_ITEM_ID',+html_GetElement('item_id_'+Number(vRow)).value);
    

    Kind regards
    Jari

  • Impossible to stop HP Simplepass with IE to prompt the user to remember my Web sites

    I am running Windows Pro 8.1 on a laptop of ENVY using IExplorer v11.

    I use Simplepass (fingerprint recognition) to connect to Windows and that works very well.

    I'm diasable Simplepass saving my sites that I use LastPass, but can not disable Simplepass in Internet Explorer.

    I disabled the parameters "Connect to my sites" and 'Reminds all my sites automatically' and 'Start up my LaunchSite '.

    But Simplepass keeps prompting me to register each site.

    I don't have this problem with Chrome, but I need to use IE

    I found this solution.   Its a work around, but so far works

    HP simplepass is used connect me and that's all... LASTPASS manages connections to my Web site.

    Here is the link to soultion:

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and-software/cannot-disable-SimplePass-for-browser-sessions/m-p/3786872#M197547

  • How can I make javascript - entry via the console action/target - easier to navigate?

    Hi all

    Someone find that navigate the continuous and uninterrupted lines constituting the blocks/paragraphs of the text in the JavaScript code, entered through the console of the target/action, is of a daunting task, especially when making some amends?

    Other than the obliques, which seem to cause problems when published and displayed through some browsers - does anyone have a cross-platform solution for separating the code in lines sensible and readable for ease of navigation?

    Thanks much for any help.

    Edge 2014.1.1

    Mac OS 10.7.5

    Cross-platform IE10 upwards browsers

    I would like to make a table of the name of each item and a table for the text.

    Example:

    Enter the code to run when the composition is fully charged here

    panels of var is ['panel_1_text', 'panel_1_text_2', 'start_text', 'panel_2_text'];.

    var = [] info

    "Through Phase 3...",

    "appropriate here text."

    "appropriate here text."

    "appropriate here text."

    ];

    for (i = 0; i<>

    SYM.$(panels[i]).html (info [i]);

    }

  • Window pop-up with a message to the user using ADF and Java bean

    Hello

    I am able to download the file using the 'fileDownloadActionListener '. In case if I could not find the file to the location of the server, and then must show an error to the client using a popup.

    Can you provide links, if available.


    Kind regards
    Stalin

    See http://tompeez.wordpress.com/2011/07/14/validate-data-before-export-via-afexportcollectionactionlistener-or-affiledownloadactionlistener/ which describes a similar use case.

    Timo

Maybe you are looking for

  • Satellite P850/P855 - sound/Image when using the media shift

    Hello While I'm listening on spotify or see a movie, theres a small lag every 10 or 20 minutes.I bought this laptop 3 days ago and have not used that much. No idea how can I fix? Would that be something wrong in the material?By

  • Peripheral Bluetooth disconnects when "Bluetooth Headset operations and settings" window is closed

    So when I connect my Bluetooth headset to my laptop I have at the same time press the 'connect' button on my headset * and * open the Bluetooth Headset operations and settings window, then click on 'Connect' on there also. So my first question is: Wh

  • HOW CAN I ADD MY OWN IMAGE ON THE SCREEN OF WINDOWS 8 START

    Greetings. Let's be clear, as clear as I can be without realizing the term Microsoft applies to this new application in Windows. When you click Start in Windows 8, there is an image behind the tiles. I want my own image, which is an image from my Gal

  • Sony Rx1Rii "Preview not available for this file.

    I have a new camera, just out this week: Sony Rx1RiiMy Adobe 5.7.1 displays "Outlook not available for this file" when I downloaded my Raw + JPEG files by the reader.I contacted Adobe and I was told that I had to go to 6.I was assured that 6 Lightroo

  • formula remaning badge

    Available buffer threshold = 30 daysdefault range = weeklyby default the time windows = 1 intervaltime = windows?How to calculate the possible time?the formula is attached