Ask the user to insert an attachment

hello
I am French, I'm doing poorly in English.
I would like to create a fillable form for the user to complete its data. it is an application form for a job. this poses no problem, but I created a picture box so the user can attach a photo attached. I can not find the function to request it to the user. is it possible and how to implement it?
thank you.
bonjour,
je suis français, je me débrouille mal en anglais.
je voudrais créer un formulaire remplissable pour que l'utilisateur complète ses données. il s'agit d'une fiche de candidature pour trouver un emploi. cela ne pose pas de problème, mais j'ai crée une case photo pour que l'utilisateur puisse attacher sa photo en piece jointe. je n'arrive pas à trouver la fonction pour demander cela à l'utilisateur. cela est-il possible, et comment le mettre en oeuvre ?
merci

Did you use Acrobat or LiveCycle Designer to create the form? With Acrobat, you can use a button to display an image, ubt unfortunately, it does not work with Reader. You can use an image field with a form you create with LiveCycle Designer and it will work with Reader. For some more information, see: http://forums.adobe.com/thread/829622?tstart=0
If you Reader-enable the form, a user can attach an image file using the "Attach a File as a Comment" tool, but the image is not displayed on the form, and the user would have to be instructed to use this tool.

Similar Messages

  • Create a dynamic stamp that ask the user to choose the icon to show

    I need to develop a interactive stamp.  The user should be able to enter text and a graphic that shows in the stamp.  I have been able to make this work when the stamp file is open but it would not work if I only have open the document in which I'm going to place the stamp.
    var cAsk = "Enter Exhibit Number" ;
    var cTitle = "Exhibit Number:  ";
    if(event.source.forReal && (event.source.stampName == "#eNVzyyEc8k0TPW34bdjlxB"))
      var cMsg = app.response(cAsk, cTitle);
      event.value = cMsg;
      event.source.source.info.exhibit = cMsg;
      var a = this.getField("Sign");
      a.buttonImportIcon()
    The user enters the exhibit number and then should be able to browse for an icon to be shown in the button "SIGN".  As I said, this works if I have the stamp pdf file open.  However, when I close it, it does not ask the user to select an icon.  It only ask the user for the exhibit number.  Any ideas why this is happening and how I can make this work?  Even if I have to open the stamp pdf file in the background to make it work.
    Thanks!

    You have to first configure a text field so it can be used for file selection. You do this on the Options tab of the field properties dialog. In order to select the corresponding check box, make sure only the "Scroll long text" option is selected.
    You then can set up a button that has the following JavaScript attached to the Mouse Up event:
    // Mouse Up script for button
    getField("upload_text_field").browseForFileToSubmit();
    Replace "upload_text_field" with the actual name of the file selection text field.

  • Can you ask the user to select a point?

    Is there a way in a javasript to ask the user to select a point and then get that information back as an X and Y value?
    Eric

    One way, if you have cs4, is have the user drop a color sampler. Then you could do something like this
    app.activeDocument.colorSamplers[0].position;// get the position
    app.activeDocument.colorSamplers[0].remove()// remove the sample

  • Is it possible to let the SecurityManager ask the user for permissions?

    Hi there!
    I would like to write an applet which should realize single-sigon via JAAS and for jaas I need some access to the underlaying os which is permitted by the security manager.
    I dont want to buy a certificate or to go through all our (700) Computers and install my self-made certificates and change the policy file.
    So is there a way to let java ask the user if it trusts the applet (may with remeber this desision) to e.g. let it access features needed for jaas.
    This way can be direct (via api call) or not (applet signed via free long valid (at least 5 years) certificate), however the only important thing is that I get access to the system.
    Any ideas, I would be happy about (nearly g) everything ;-)
    Thanks a lot, lg Clemens

    However thanks a lot for help g
    Found the answer myself: Simply sign the applet with an self-made certificate, the next time the browser is restartet there will be a promt for acceptimg the certificate.
    Cool!

  • How can i ask the user only once using Vectors?

    What i am trying to do is get an index of a vector.
    I know that i have to use the elementAt(int), but what i want to do is
    make it so only one screen pops up instead of all 4 of them.
    I just want to ask his custID and from there look up the users information from the Vector. I cant get rid of the variables in the public Employee (see Employee Class) or else i will not be able to get the other information (delete a JOptionPane and you will see what i am talking about). Dont worry about the int int the elementAt part. I figured that out already.
    public class Employee {
    // class constants
    // Data fields
    private String custName;
    private String custAddress;
    private double rate;
    private int custID;
    private double steve;
    public Employee(int id, String name, String adress, double ra) {
    custName = name;
    custAddress = adress;
    rate = ra;
    custID = id;
    public String toString() {
    return "Customer ID: "+ custID + "Customer Name : " + custName +
    "Customer Adrress" + custAddress + "rate: $" + rate ;
    public int getBalls(){
    return custID;
    public String getBallsy(){
    return custAddress;
    public double getRate(){
    return rate;
    the other one...
    package bars;
    import javax.swing.JOptionPane;
    import javax.swing.*;
    import java.util.*;
    public class EmployeeApp {
    //methods
    private static int readInt (String prompt){
    String numStr = JOptionPane.showInputDialog(prompt);
    return Integer.parseInt(numStr);
    private static double readDouble (String prompt){
    String numStr = JOptionPane.showInputDialog(prompt);
    return Double.parseDouble(numStr);
    public static void main (String[] args){
    //read and store the payroll data in an employee object
    Vector programmers = new Vector();
    for (int i = 0; i < 1; i++) {
    Employee programmer =
    new Employee(
    readInt("Enter Customer ID: "),
    JOptionPane.showInputDialog("Name: " ),
    JOptionPane.showInputDialog("Address: "),
    readDouble ("Enter hourly rate: ")
    int steve = programmer.getBalls();
    int bob = steve;
    programmers.add(programmer);
    System.out.println("here: " + steve);
    System.out.println(programmers.toString());

    A vector probably isn't your best bet. Try a Map, a TreeMap if you want them in order, otherwise a HashMap. Use new Integer(customerId).
    Map custMap = new HashMap(20);
    custId = readInt("Enter customer ID");
    custIdI = new Integet(custId);
    Employee emp;
    if(custMap.contains(custIdI)) {
        emp = (Employess)custMap.get(custIdI);
        ... old employess
       } else {
        emp = new Employee(....);
        custMap.put(custIdI, emp);
       }If you use a vector you'll have to search it with a look of your own for a matching id.

  • Detecting when the user is inserting a USB token

    Dear Forum,
    From a Java GUI application I'm trying to detect when a USB token (CrypToken from Marx) is inserted.
    When I run the program below with the USB token inserted it works fine. If I start the program and then inserts the USB token I keep getting a ProviderException.
    Any help is greatly appreciated.
    Kind regards,
    Morten Bruun
    The exception I get:
    java.security.ProviderException: Initialization failed
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:186)
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:76)
         at tryout.TestInsertToken.getProvider(TestInsertToken.java:38)
         at tryout.TestInsertToken.actionPerformed(TestInsertToken.java:47)
         at javax.swing.Timer.fireActionPerformed(Unknown Source)
         at javax.swing.Timer$DoPostEvent.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.ProviderException: slotListIndex is 0 but token only has 0slots
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:171)
         ... 12 moreMy test program looks like this:
    package tryout;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.security.Provider;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import javax.swing.Timer;
    public class TestInsertToken extends JFrame implements ActionListener {
         private Timer timer;
         private JLabel label;
         TestInsertToken() {
              this.setLayout(new FlowLayout());
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              label = new JLabel("Insert token");
              this.add(label);
              timer = new Timer(1000, this);
              timer.start();
              this.setSize(300, 200);
              this.setVisible(true);
         private Provider getProvider() {
              try {
                   return new sun.security.pkcs11.SunPKCS11("pkcs11.cfg");
              } catch (Exception e) {
                   System.out.println("Got exception: " + e.getMessage());
                   e.printStackTrace();
                   return null;
         public void actionPerformed(ActionEvent e) {
              Provider provider = getProvider();
              if(provider != null) {
                   this.label.setText("USB token detected: " + provider.getName());
                   this.timer.stop();
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new TestInsertToken();
    }Edited by: Hr.Bruun on Nov 10, 2008 2:13 PM

    Thanks for replying, Andy!
    I know that if I point my gateway at 2013, I should be fine.  You mentioned that in this article: 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f622ff81-0d97-44d3-9051-f22c381fe188/exchange-2010-and-um-on-exchange-2013?forum=exchangesvrunifiedmessaging
    "Once the SIP connection is pointed to 2013, it will handle both the 2013 and 2010 Mailboxes in the Dial Plan" which I found and which was helpful.
    But, in the TechNet walkthrough:
    http://technet.microsoft.com/en-us/library/dn169226(v=exchg.150).aspx 
    And the checklist too:
    http://technet.microsoft.com/en-us/library/dn169228(v=exchg.150).aspx
    It's having us move the UM enabled users before we repoint the IP gateway, which is one of the final steps. Since we're just in pilot mode right now, we'd prefer to not re-point that just yet.  Do you expect it shouldn't work?  Is TechNet wrong or
    am I misreading it or missing something else?

  • Create Email/Submit button that asks the user what email address to submit to

    Is it possible to have an Email/Submit button that will ask for the users to imput the email address in which to submit to?

    My own opinion is that you are going to tick off more people than you realize. I think you can handle this in one of a few better ways:
    1) Institute an interface/web service where the HR system can send you people that are terminated. If the person has sensitive company data or anything on your site it would be in their best interest to remove their access.
    2) Force password resets every x days. To reset a password, your page can send the link to their email. That way they have to establish they still work there to reset it.
    3) Along the lines of #2, just make them verify their account every x days. If they don't do it within a week timespan, lock their account until they can prove they work there.
    I mean unless you're dealing with top secret information, if someone gets a few extra days of your service its not a big deal. You have to balance the user experience with the reality that someone may get your service for free for a bit.
    I can still get into My Oracle Support with my old email address. I obviously would not dare to put in a ticket, but I can view bug notes, knowledge base..etc. So it happens.

  • Reading from a file. How to ask the user for file name at run time????

    I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.InputMismatchException;
    import java.util.Scanner;
    public class FileRead {
        public static void main(String args[]) {
            Scanner scan = null;
            File file = new File("Results.txt");
            String number;
            try {
                scan = new Scanner(file);
                while (scan.hasNext()){
                number = scan.next();
                System.out.println(number);}
            catch (FileNotFoundException ex1){
                System.out.println("No such file");
            catch (IllegalStateException ex2){
                System.out.println("Did you close the read by mistake");
            catch (InputMismatchException ex){
                System.out.println("File structure incorrect");
            finally{
                scan.close();}
    }Any hints would be greatly appreciated. Thank you in advance

    I have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
    When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
    This code compiles but at run time it comes up with this error
    run-single:
    java.lang.NoClassDefFoundError: NamedFile
    Exception in thread "main"
    Java Result: 1
    BUILD SUCCESSFUL (total time: 3 seconds)
    import java.util.Scanner;
    import java.io.*;
    class NamedFileInput
      public static void main (String[] args) throws IOException
        int num, square;   
        // this Scanner is used to read what the user enters
        Scanner user = new Scanner( System.in );
        String  fileName;
        System.out.print("File Name: ");
        fileName = user.nextLine().trim();
        File file = new File( fileName );     // create a File object
        // this Scanner is used to read from the file
        Scanner scan = new Scanner( file );     
        while( scan.hasNextInt() )   // is there more data to process?
          num = scan.nextInt();
          square = num * num ;     
          System.out.println("The square of " + num + " is " + square);
    }his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!!

  • How to get data from the user for an Insert Trigger ?

    Hi all and thanks in advance, I need to get some values from the user for a child table when a row inserted into the parent table, is that possible to use ampersand inside an "Insert Trigger" to let the user for inserting some values ?
    Edited by: user9942078 on 17-Dec-2008 16:35

    In a different words,
    When a virus attacked your body your blood cells instantly goes into operation. Just like that -> your trigger activated as a result of your DB operation on objects. So, here also you have no option to manually intervene anything.
    Hmm... Looks like some science fiction movies ultimately pays some price... ;)
    So, trigger basically fires implicitly as a result of any database operation on objects or even on user.
    So, that has to be automatic. And, when you are using & it will ask for some input value - which cannot be done in case of triggers.
    For details please refer the oracle docs.
    Regards.
    Satyaki De.

  • Is there a way for the responder to insert a photo or image into the form?

    I'm trying to create a form with a field in it that would allow the user to insert a thumbnail photo or image into the response. Is this possible at all?

    Yes, you can add an "Attachment" field, here is a video overview: http://acrobatusers.com/tutorials/how-to-add-attachments-to-a-formscentral-form
    And here is a tutorial: http://forums.adobe.com/docs/DOC-2656
    Thanks,
    Josh

  • Problem Downloading a File To The User's PC

    My application is based on the 10.1.2 app server and Oracle Portlets.
    I need to download a file to the user's PC. When the file gets sent to the user I need to have a dialog box open up that asks the user where they want to save the file.
    What I did was to set the Content-Disposition equal to
    "attachment; filename=C:\exportFile.txt"
    and the Content-Type equal to "application/x-download"
    When I do this I receive the error:
    ERROR: Failed to handle HTTP Request
    java.io.UnsupportedEncodingException: Media Type of a TextResponseWrapper must start with "text/"
    Has anyone successfully done this in the Portal environment before? Any ideas on a possible solution?
    Thanks

    Try using:
    tell application "Finder"
    set path_2 to quoted form of POSIX path of (folder of (path to me) as alias)
    end tell
    tell application "System Events"
    do shell script "curl 'ftp://user:password@server//www/htdocs/current/l.txt' -o " & path_2 & "l.txt"
    end tell
    (41158)

  • How to get the user input while server is waiting for client's message

    I have a server/client program (using sockets)
    I used a thread to let a server always waiting for client's request, but how should I found that
    there is no message pass to server from client.
    public void run(){
    while (true){
    Socket server = serverP.accept();
    ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
    inMessage = (Message)inFromClient.readObject();
    System.out.println("Deadlock may occurred, please enter your command: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();
    The server is waiting for the inMessage that is passed from multiple clients. But if the server
    received no message after some time, it will assume something is wrong (eg, there is a
    deadlock), then it will ask the user to input the command to execute the method.
    If I put
    "System.out.println("Do you want to take Snapshot: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();"
    inside the while loop, it will keep asking user to enter the input when every time the client
    connect to the server. But I want to ask the user to enter the command only when the server
    can't get the response from clients.
    How should I do?
    Please help.

    Your statement:
    Socket server = serverP.accept();
    it will block until Server receive connect request from client.
    So, what u can do is, create a seperate Thread which check if server is idle (no client connect to it) for a certain time.
    public class xxxxx extends Thread {
    public void run(){
       (new WatcherThread()).start()
       while (true){
       Socket server = serverP.accept();
       WatcherThread.acceptFlag();  
       ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
       inMessage = (Message)inFromClient.readObject();
       Do something with client request ...
       I suggest you to create a WorkerThread for
       each client request.
       For example:
       new (WorkerThread(inMessage)).start();
       This way, your server thread will immediately serve
       the next client request ASAP.
    public class WatcherThread extends Thread {
       private static accept = false;
       public static void acceptFlag() {
            flag = true;
       public void run() {
           while(true) {
               try { sleep(10000); } catch (Exception ex) { }
               if (!accept) { // never accepted after 10000 msecs
                  ... do your System.in here ...
               flag=false;          
    }The idea is, your server notify WatcherThread if a client connect. WathcerThread runs at seperate thread. It waits for 10000 msecs and check if Server ever gets connect request from server. If it doesn't then you can do your System.in, otherwise, it will wait for 10000 again..
    FYI, next time, please use [ code ] and [ / code ] to format your code. It discourage me to read plain whole-left-aligned code like yours.
    See: http://forum.java.sun.com/features.jsp#Formatting
    rgds,
    Alex

  • How to test the user is an EP User

    Hi Experts,
             I am developing a WebDynpro application which is to be run in a browser and also in EP.  If this application runs in a browser it has to ask the user id and password and navigate to the home page of my application. For this I have set  Authentication as "true" in Application Propertis and is prompting for user id and password and is navigating to the home page. If this application has to run in EP It should not prompt for user id and password,  It should fetch the user info from EP user list and validate the user and send the control to predefined page based on user role.
              I have also uploaded this to EP and is not prompting for user id and password as it meets my requirement ,  but the is navigating to the Home page which not required for me.
          For this requirement to meet I have to test the user whether he/she is from portal or Webdynpro.
          can any body suggest me how to meet this requirement...
    Thanks in Advance,
    Murthy.

    You have said you have an application which runs both in a J2EE App Server and also may run in a portal.
    Your problem is that if running in the Portal the application sends/redirects/navigates the user to the homepage which is not required.
    Why dont you try testing which environment your WebDynpro Application is running in by using:
    if (WDPortalUtils.isRunningInPortal()) {
      // Do not naviate to homepage but send user the control to perdefined page on user role
    }  else {
      // Perform Authentication.
      // After prompt send to home page as user is running in app. from Standalone J2EE Server}
    To get user information you can use methods as the others have described above or if you need to you can  also get at the HttpRequest object as follows:
       HttpServletRequest request =     ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter())
                        .getHttpServletRequest();
    To get user information  also check out what each of these User objects offers as they may offer a method to get user information which may help you get what you want.
    IWDClientUser wdUser = WDClientUser.getLoggedInClientUser();
    IUser user = wdUser.getSAPUser();

  • How will I block/restrict the user to change the payment term in FBL5N?

    Hi All,
    How will I block/restrict the user to change the payment term in FBL5N????
    I have tried on following objects:
    F_BKPF_BLA
    F_BKPF_BUK
    F_BKPF_GSB
    F_BKPF_KOA
    F_IT_ALV
    F_KNA1_BED
    F_KNA1_BUK
    F_LFA1_BUK
    S_ALV_LAYO
    But, not succeeded.
    =>Actually user runs FBL5N, double click on a record then click on Change icon.
    =>Change Payment Term.
    Please reply ASAP. Point will be awarded.
    With Best Regards
    Dharmendra

    Hi Dharmendra,
    Please set an authorization trace in ST01 and then ask the user to execute the transaction and the steps on the same application server as the o ne on which the trace has been set (valid in case we are talking about mutiple application servers for same <SID>). After this is done switch off the trace,list it and fill all the authorization objects. That might give you the perfect idea.
    Regards.
    Ruchit.

  • How to access the User Reports using 'Administrator' login in OBIEE 10g

    Is there any way to access the reports saved in Users/'My folders' using the Administrator Login?

    Hi User,
    Create a new shared folder.
    Provide access to all the users.
    Now, ask the user who created the report in 'My Folders' to save the report in this new shared folder.
    And, Delete those reports in 'My Folders'.
    Now, as the report is saved in New shared folder you can access - this one.
    Else--- Ask the user who created the report in my folder to make sure that it is available to all users. (Permissions - Permission should need to be provided for Administrator group)
    Thank you.

Maybe you are looking for

  • HT4623 how can i get my contact back from my old iPhone to the new iphone

    my iphone broke i buy a new one and i dont know how to get my contacs back and picture / videos

  • HP StorageWor​ks 20 Modular Smart Array Support / 335921-B1 storage

    hey Friends... i have a storage - HP StorageWorks 20 Modular Smart Array Support / 335921-B1 storage and i have changed the storage connection with other Server..but my problem is driver....when i check device manager it seems HP U320/sata bulk 1 SCS

  • Help! Setting colors

    hi, we have just sent newspapers for printing and they called back that there's a problem with colors - so, the newspaper is in two colors: black/white and blue - we set the blue as a pantone CMYK 2718 PC and now they told me they can't use this CMYK

  • My iPod wont synch, but it does download apps

    My iPod touch and it wont sink with my pc. It did before but now it wont. Ive tried different cords but get the same result. It still downloads apps from wi-fi but not nothing from iTunes.

  • Position of Submit Button - Report Portlet

    Hello erveryone! I have used the search, but apparently there is no solution for my problem. I have published a report as portlet. Under "Additional user parametres" (i use the german version, there it is "Zusaetzliche Benutzerparameter") i give "par