Lose functionality to upload files directly to enhanced text field InfoPath modified forms

I have a SharePoint 2013 list with enhanced rich text multiline fields. When using the default SharePoint new/edit item form, I have the option to upload images and files directly to the field.
Once I modify the form using InfoPath, I lose the functionality to upload directly to the field. Is there any way to restore this function?

Hi RSobk,
According to your description, my understanding is that the function to upload image from computer was lost after customizing the list form via InfoPath Designer.
I could reproduce this issue. It is a limitation for a browser-compatible form. As a workaround, you can use Attachments control to upload image directly.
From a Microsoft article:
You can enable linked pictures for a rich text box in a browser-compatible form template. However, embedded pictures are not supported.
More information:
http://office.microsoft.com/en-us/infopath-help/insert-a-rich-text-box-HP010080917.aspx#BM3
Some similar posts for your reference:
http://sharepoint.stackexchange.com/questions/9777/custom-infopath-form-upload-image-from-computer-dialoghttp://sharepoint.stackexchange.com/questions/24995/insert-images-from-computer-into-rich-text-box
Best Regards,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • Is there a way to upload files directly to the cloud from bridge cc?

    Is there a way to upload files directly to the cloud from bridge cc? I use bridge to organize my files. It would be a lot easier if I didn't have to drag and drop files into the cc folder, I was hoping that there might be an easier way.
    thanks,

    When you save them just make sure you save them to your Mac and not iCloud. For those that already exist, you can move them from iCloud by dragging and dropping them to somewhere else on your Mac. To see all the files in iCloud choose file > open in either pages or numbers.

  • Load multiple parts of an XML file into one dynamic Text Field

    Hi I am trying to load text from an external XML file into a dynamic text box. I have so far managed to load single parts of the XML file into a dynamic text field. I now want to be able to load different parts of the XML file (something similar to a string with appendText) into the same text Field.
    I have so far managed to achive this using the String and append text properties, but would like to use XML file to do it instead.
    Any tips please?
    Thanks

    In essence you can just do:
    TextField.text = XML.node1 + XML.node2;

  • Connecting a CSS doc to an XML file, in a dynamic text field in Flash

    Hi all,
    I am trying to connect a CSS file such that it applies it
    self to the content of an XML file, viewed inside a dynamic text
    field. So far I have managed to gather the code that "calls" the
    contents of the XML file and also the code that calls the CSS file.
    However, when I test the flash movie I get "undefined" instead of
    the actual copy.
    Attached then is the the AS code, XML file, and CSS file. I
    hope you could help me connect everything together.
    And of course, THANKS!!
    -----AC------
    Scrolling Text XML by Digital Science |
    www.digitalscience.za.org
    /////////////Load XML Data/////////////
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    header = [];
    txt = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    header
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    txt
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    gotoAndStop(11);
    } else {
    errorMsg.text = "Error loading XML";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("ewmn_content.xml");
    stop();
    import TextField.StyleSheet;
    var ss:StyleSheet = new StyleSheet();
    ss.onLoad = function() {
    txt_mc.styleSheet=this; // where yourTF is your textfield
    ss.load("jokes.css"); // where yourSS.css is your css file.
    -----XML----------
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/css" href="jokes.css"?>
    <JOKES>
    <ONE>Tirza Sapir</ONE>
    <JOKE>Founder and choreographer of the RikudNetto dance
    group, teacher and lecturer, researcher, documenter and
    choreographer within the framework of Eshkol-Wachman Movement
    Notation. She was Head of the School of the Arts of Dance at the
    Seminar Hakibbutzim College of Education, 2000–2007, where
    she established the Dance Theatre and the Practicing Teachers
    courses, and specialized training in Teaching and Treatment of
    Learning Disabilities by means of Eshkol-Wachman Movement Notation.
    She has written three books containing the movement scores of dance
    suites: Birds, Landscapes, and Hanukka Notebooks. Member of the
    Movement Notation Society, 1968–2008. Student and colleague
    of the late Professor Noa Eshkol who was the co-founder and
    inventor of Eshkol-Wachman Movement Notation.</JOKE>
    <ONE>Sharon Reshef-Armony</ONE>
    <JOKE>Head of the School for the Arts of dance at the
    Kibbutzim College of Education in Tel Aviv. Teaches EWMN,
    dance-theatre and composition. Choreographer of theatre plays and
    film. Selected works: Hunger (Tmuna Theatre 2003-09), Film - Live
    (Haifa Theatre 2007-08), Yakish &amp; Pupche (Gesher Theatre
    2007-09), Children of a lesser God (Beer Sheva Theatre 2008-09).
    M.Ed (1997) from Lesley College MA in Creative Arts in Learning.
    Doctoral student at ResCen, Middlesex University/ London.
    Dancing in Rikudnetto group since 1990.</JOKE>
    <ONE>Tally Ronen</ONE>
    <JOKE>M.Ed. at Lesley University in Integrating Arts in
    Learning.
    Educational instructor at Kibbutzim College of Education and
    teaching dance in schools and at Clore Center, Upper Galilee. Dance
    choreographer for children.
    Dancing in Rikudnetto group since 1991.</JOKE>
    <ONE>Nira Al-Dor, Ph.D</ONE>
    <JOKE>20 years of Teaching EWMN at the School of the
    Dance Arts in Kibbuzim College of Education and at the School of
    Arts in Tel Aviv. Her study was focused on the impact of learning
    EWMN on the development of coordination.
    Dancing in Rikudnetto group since 1986.</JOKE>
    <ONE>Henner Drewes</ONE>
    <JOKE>Lectures at the Kibbutzim College of Education in
    Tel Aviv on dance and notation related technology. In 2008 he
    started working as a research assistant at Salzburg University in
    the project Visualizing Dance Archives.
    He was awarded the Tanzwissenschaftwpreis NRW, Germany 2006
    for his research on 3D representation of movement and notation.
    Ph.D. (2002) at the University of Leipzig. He is the author
    of the software EW Notator, a 'word-processor' for creating EWMN
    scores.</JOKE>
    <ONE>Shlomit Ofer</ONE>
    <JOKE>M.A. at Haifa University at the Faculty of
    Education with distinction, and currently doctoral student there.
    Educational instructor and teacher of EWMN at Kibbutzim
    College of Education. Staging performances of dance theatre in the
    community.
    Dancing in Rikudnetto group since 1993.</JOKE>
    <ONE>Lilach Shalit</ONE>
    <JOKE>M.A. in Expressive Therapies with specialization
    in dance-movement therapy at Lesley University.
    Educational instructor and teacher of EWMN in the course for
    Dance-Theatre at Kibbutzim College of Education. Also teaching EWMN
    in the School for Advanced Studies of the college, course for
    Learning Disabilities, and at Orot College.
    Dance-movement therapist and team coordinator at 'Tom' school
    for learning disabilities and owner of a private clinic for
    dance-movement therapy.
    Dancing in Rikudnetto group since 1998.</JOKE>
    <ONE>Michal Manor-Amir</ONE>
    <JOKE>M.A. at the University of Leeds (Bretton Hall
    College and Israel Extention) in Arts Education specialization in
    Dance. Doctoral student at the Hebrew University of Jerusalem, in
    the Faculty of Humanities, the School of Education.
    Teaching movement in the Kibbutzim College of Education
    within preparatory courses of Dance, Dance-Theatre and within the
    Preschool course.
    A corrective teacher through movement and EWMN in elementary
    and high schools, and a national teacher-instructor at the dance
    supervisor's office in the Israeli ministry of education.
    Dancing in Rikudnetto group since 1998.</JOKE>
    <ONE>Amit Chesny-Bahari</ONE>
    <JOKE>B.Ed. at Kibbutzim College of Education.
    Teaching movement and dance to preschool and high school
    children.
    Dancing in Rikudnetto group since 2004.</JOKE>
    <ONE>Orly Yaakov</ONE>
    <JOKE>B.Ed. at Kibbutzim College of Education, and
    graduating from the special education faculty.
    Teaching EWMN and creative movement at elementary schools as
    well as special education school for children ages 6-21 with medium
    to deep retardation. Also teaching creative movement and
    preparation for ballet to preschool children.
    Dancing in Rikudnetto group since 2006.</JOKE>
    </JOKES>
    ------CSS-----
    JOKE
    COLOR: #333333;
    DISPLAY: block;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    WHITE-SPACE: normal;
    font-size: 11px;
    MARGIN-BOTTOM: 15px;
    BODYBLD
    COLOR: #990000;
    DISPLAY: block;
    FONT-SIZE: 11pt;
    FONT-WEIGHT: bold;
    MARGIN-BOTTOM: 0px
    BODYBOLDUN
    COLOR: #00CCFF;
    DISPLAY: block;
    LINE-HEIGHT: normal;
    MARGIN-BOTTOM: 10px;
    TEXT-ALIGN: left;
    font-size: 11px;
    text-decoration: underline;
    font-weight: bold;
    ONE
    COLOR: #00CCFF;
    DISPLAY: block;
    LINE-HEIGHT: normal;
    TEXT-ALIGN: left;
    font-size: 14px;
    font-weight: bold;
    white-space: normal;
    QUESTION
    COLOR: red;
    DISPLAY: block;
    FONT-FAMILY: Arial;
    FONT-SIZE: larger;
    FONT-VARIANT: normal
    TITLE
    COLOR: black;
    DISPLAY: block;
    FONT-FAMILY: 'Arial Black';
    FONT-SIZE: 14pt
    CATEGORY
    FONT-FAMILY: Arial;
    FONT-SIZE: 8pt;
    FONT-VARIANT: small-caps;
    TEXT-TRANSFORM: uppercase

    In essence you can just do:
    TextField.text = XML.node1 + XML.node2;

  • Is there a way to import data from a specific text field in a PDF form directly into a text field in a different PDF?

    I know you can import form data from an .fdf file. Is there a way to import a specific value from that .fdf file into a text field in a separate pdf form?

    So I want the FDF to export every time the user saves or closes the PDF. Then I want the import to happen every time the user opens the PDF. That being said, this all has to work with Adobe Reader. If this is possible in anyway, I'd manage this would require some time of script. Any thoughts?

  • Elements 12 Organizer not functioning correctly uploading files and viewing.

    Elements 12 Organizer does not function correctly.  It will upload new files but will not allow me to view correctly or edit.  I attempts to reconnect files.  When I attempt to do this manually it states that the files are already there.  Very frustrating and Adobe representatives will not assist me.

    Windows Media Player 12 is installed.
    Windows Media Player
    Version 12.0.9600.16384
    Operating System
    Version:
    6.3.9600
    System Locale:
    en-GB
    Service Pack:
    0.0
    User Locale:
    en-GB
    Build Lab:
    9600.winblue_gdr.131030-1505
    Geo ID:
    United Kingdom
    Type:
    Workstation
    DRM Version:
    11.0.9600.16384
    Architecture:
    x86
    Indiv Version:
    2.9.0.1
    Processors:
    8
    Video codecs are:
    Type
    Name
    Format
    Binary
    Version
    ICM
    Microsoft YUV
    UYVY
    msyuv.dll
    6.3.9600.16384
    ICM
    Intel IYUV codec
    IYUV
    iyuv_32.dll
    6.3.9600.16384
    ICM
    Cinepak Codec by Radius
    cvid
    iccvid.dll
    1.10.0.12
    ICM
    Microsoft YUV
    UYVY
    msyuv.dll
    6.3.9600.16384
    ICM
    Toshiba YUV Codec
    Y411
    tsbyuv.dll
    6.3.9600.16384
    ICM
    Microsoft YUV
    UYVY
    msyuv.dll
    6.3.9600.16384
    ICM
    Intel IYUV codec
    IYUV
    iyuv_32.dll
    6.3.9600.16384
    ICM
    Microsoft RLE
    MRLE
    msrle32.dll
    6.3.9600.16384
    ICM
    Microsoft Video 1
    MSVC
    msvidc32.dll
    6.3.9600.16384
    ICM
    proDAD Codec
    pDAD
    DMO
    Mpeg4s Decoder DMO
    mp4s, MP4S, m4s2, M4S2, MP4V, mp4v, XVID, xvid, DIVX, DX50
    mp4sdecd.dll
    6.3.9600.16384
    DMO
    WMV Screen decoder DMO
    MSS1, MSS2
    wmvsdecd.dll
    6.3.9600.16384
    DMO
    WMVideo Decoder DMO
    WMV1, WMV2, WMV3, WMVA, WVC1, WMVP, WVP2, VC1S
    wmvdecod.dll
    6.3.9600.16384
    DMO
    Mpeg43 Decoder DMO
    mp43, MP43
    mp43decd.dll
    6.3.9600.16384
    DMO
    Mpeg4 Decoder DMO
    MPG4, mpg4, mp42, MP42
    mpg4decd.dll
    6.3.9600.16384
    Windows Media Player plays .mps files without problems
    Quick Time Player v7.7.4 installed (at suggestion from adobe premiere organiser). Will not play .mps files
    Adobe Premiere 12 organiser will not play .mps files, editor will play and edit them.
    Media Player Classic not installed

  • Delta functionality for LO datasource 2LIS_06_INV for enhanced Z fields

    Hi Experts,
    We have enhanced standard data source 2LIS_06_INV by appending some Z fields. When we are doing full load values are getting populated for the entire Z field but when we are running delta request, values for some Z fields are not getting populated.I have put the code to extract the value for Z fields in user exit under include ZXRSAU01.
    If any one have faced this isuue , Please help me out .

    Ur error is a very common error
    need not panic
    this can be solved
    check whether all the v3 jobs are maintained properly or not
    check whether the datasource is in active status or not
    Pls assign me full points if answer satisfied to you
    Regards ,
    Subash Balakrishnan

  • Assigning the file path to a text field

    I assume this is simple, but I can't figure it out...
    I want to be able to print out the the file name on my form -- preferably the full path to the PDF file, e.g. N:\MyFolder\MySubfolder\MyFormName.PDF
    I have been looking at the GetAttribute command but I can't seem to find the file name and path in the XML object model.

    The filename and path are not stored in the XML.
    The command event.target.path will return the full path and file name to you. The command event.target.documentFilename will return just the filename - no Path.

  • Upload file function in a flash form

    Hi, i need to ad a function to upload files in a tipical
    contact form and receive them by mail.
    anyone knows how to do it? thanks a lot!

    Hey badboy,
    try to be good and search. Anyways as a started refer to the following links.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f
    New Web Dynpro Java Tutorials - Uploading and Downloading Files in SAP NetWeaver 7.0
    Thanks,
    GLM

  • Upload file in to file system using Apex

    Hi...
    I have tried UTL_FILE to upload file in Directory. But First i have to upload file in Table in BLOB datatype and then copy it to file system using BFILE.
    I have to store files in file system as per requirements.
    I want to upload file directly to File System. Suggest me the right way...
    Thank You in advance........
    Edited by: user639262 on Aug 28, 2008 2:11 PM

    Apex only supports upload into a table.
    If you want to upload directly to the file system you should look into the possibilities of your application server. Maybe you could find a piece of code in Java or PHP that performs an upload.
    good luck, DickDral

  • How to get InputStream of uploaded file from request?

    The situation:
    Client is uploading xml file to server.
    <form METHOD=POST ENCTYPE = "multipart/form-data" action="SendFile" accept="text/xml">
              <input type="file" name="SentFile" />
              <input type="submit" value="go"/>
    </form>Then I need to parse data from file.
    I want to use method javax.xml.parsers.DocumentBuilder.parse(InputStream is)
    But, how to get InputStream of uploaded file from request?

    You cannot get the InputStream of the uploaded file directly. The InputStream you can obtain from request.getInputStream() contains a lot of other data as well as the uploaded file. You will have to parse the data in the InputStream to find the data that belongs to the file.
    A short cut is to use the HTTP Multipart File Upload available from www.jenkov.com. It simplifies file upload and makes it easy to obtain an InputStream for only the uploaded file. It also handles upload of multiple files. It is free, open source, Apache license, so if it doesn't fit your needs, you can always read the code and see how it works. Then write your own upload servlet.

  • Uploading files from the iPad to the web

    I'm interested in uploading files from my iPad to the web. Specifically, I run a wiki to manage many documents and often upload them from my computer. This means having to email documents from my iPad to my computer. I have a dropbox account already, but it won't serve as a place to pull files from. Is there an app or a browser that can create a way to upload files directly?

    synching doesn't seem to  make a difference it doesn't copy whats on the ipad over.
    The problem is when  i go in to itunes and click on ipad then on books theres a ton of pdfs that are there that are on the ipad but i cant find when i go to ibook, i don't want to delete them off with out knowing what they are and the fact is  i dont seem t0 have a copy on my computer anymore

  • Upload file PL\SQL

    Hi,
    I'm writing a web application using PL\SQL procedure.
    I've got one problem, how can I upload file in the database blob field?
    I've found some articles (like this: http://www.acs.ilstu.edu/docs/oracle9ias/web.902/a90855/feature.htm
    ) that present this example,but its doesn't work:
    -----------------------------FILE.HTML----------------------------------------------------------
    <html>
    <head>
    <title>test upload</title>
    </head>
    <body>
    <FORM      enctype="multipart/form-data"
    action="pls/mydad/write_info"
    method="POST">
    <p>Author's Name:<INPUT type="text" name="who">
    <p>Description:<INPUT type="text" name="description"><br>
    <p>File to upload:<INPUT type="file" name="file"><br>
    <p><INPUT type="submit">
    </FORM>
    </body>
    </html>
    ----------------------------------PROC PL\SQL---------------------------------------------
    procedure write_info (
    who in varchar2,
    description in varchar2,
    file in varchar2) as
    begin
    insert into myTable values (who, description, file);
    htp.htmlopen;
    htp.headopen;
    htp.title('File Uploaded');
    htp.headclose;
    htp.bodyopen;
    htp.header(1, 'Upload Status');
    htp.print('Uploaded ' || file || ' successfully');
    htp.bodyclose;
    htp.htmlclose;
    end;
    --------------------------------------------END-----------------------------------------------
    Any ideas?

    Re: Upload file through PL\SQL Webpage

  • Upload file component in JSF 1.2

    Hi,
    I am developing an application with JSF 1.2 . I am using a custom component made with Apache Commons FileUpload 1.2.1 API which purpose is to upload files. This component work only if the form data is encoded with the “multipart/form-data” encoding instead of the usual “application x-www-form-urlencoded” encoding. From what I know JSF 1.2 doesn't handle this type of encoding. To overcome this issue, I install a servlet filter that intercepts a file upload and turns uploaded files into request attributes. The problem is that when the form data is encoded with the “multipart/form-data” encoding no characters are encoded. I have other JSF components in this form and in them I put different international characters which are lost when the form is submit because they are not encoded.
    Can somebody help me with this issue ?

    I have a filter
    import java.io.File;
    import java.io.IOException;
    import java.util.Collections;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletRequestWrapper;
    import org.apache.commons.fileupload.FileItem;
    import org.apache.commons.fileupload.FileUploadException;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    public class UploadFilter implements Filter {
    private int sizeThreshold = -1;
    private String repositoryPath;
    public void init(FilterConfig config) throws ServletException {
    repositoryPath = config.getInitParameter(
    "com.corejsf.UploadFilter.repositoryPath");
    try {
    String paramValue = config.getInitParameter(
    "com.corejsf.UploadFilter.sizeThreshold");
    if (paramValue != null)
    sizeThreshold = Integer.parseInt(paramValue);
    catch (NumberFormatException ex) {
    ServletException servletEx = new ServletException();
    servletEx.initCause(ex);
    throw servletEx;
    public void destroy() {
    public void doFilter(ServletRequest request,
    ServletResponse response, FilterChain chain)
    throws IOException, ServletException {
    if (!(request instanceof HttpServletRequest)) {
    chain.doFilter(request, response);
    return;
    HttpServletRequest httpRequest = (HttpServletRequest) request;
    boolean isMultipartContent
    = ServletFileUpload.isMultipartContent(httpRequest);
    if (!isMultipartContent) {
    chain.doFilter(request, response);
    return;
    DiskFileItemFactory factory = new DiskFileItemFactory();
    if (sizeThreshold >= 0)
    factory.setSizeThreshold(sizeThreshold);
    if (repositoryPath != null)
    factory.setRepository(new File(repositoryPath));
    ServletFileUpload upload = new ServletFileUpload(factory);
    try {
    List<FileItem> items = (List<FileItem>) upload.parseRequest(httpRequest);
    final Map<String, String[]> map = new HashMap<String, String[]>();
    for (FileItem item : items) {
    String str = item.getString();
    if (item.isFormField())
    map.put(item.getFieldName(), new String[] { str });
    else
    httpRequest.setAttribute(item.getFieldName(), item);
    chain.doFilter(new
    HttpServletRequestWrapper(httpRequest) {
    public Map<String, String[]> getParameterMap() {
    return map;
    // busywork follows ... should have been part of the wrapper
    public String[] getParameterValues(String name) {
    Map<String, String[]> map = getParameterMap();
    return (String[]) map.get(name);
    public String getParameter(String name) {
    String[] params = getParameterValues(name);
    if (params == null) return null;
    return params[0];
    public Enumeration<String> getParameterNames() {
    Map<String, String[]> map = getParameterMap();
    return Collections.enumeration(map.keySet());
    }, response);
    } catch (FileUploadException ex) {
    ServletException servletEx = new ServletException();
    servletEx.initCause(ex);
    throw servletEx;
    a render
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.UnsupportedEncodingException;
    import javax.el.ValueExpression;
    import javax.faces.FacesException;
    import javax.faces.component.EditableValueHolder;
    import javax.faces.component.UIComponent;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import javax.faces.render.Renderer;
    import javax.servlet.ServletContext;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.commons.fileupload.FileItem;
    public class UploadRenderer extends Renderer {
    public void encodeBegin(FacesContext context, UIComponent component)
    throws IOException {
    if (!component.isRendered()) return;
    ResponseWriter writer = context.getResponseWriter();
    String clientId = component.getClientId(context);
    writer.startElement("input", component);
    writer.writeAttribute("type", "file", "type");
    writer.writeAttribute("name", clientId, "clientId");
    writer.endElement("input");
    writer.flush();
    public void decode(FacesContext context, UIComponent component) {
    ExternalContext external = context.getExternalContext();
    HttpServletRequest request = (HttpServletRequest) external.getRequest();
    String clientId = component.getClientId(context);
    FileItem item = (FileItem) request.getAttribute(clientId);
    Object newValue;
    ValueExpression valueExpr = component.getValueExpression("value");
    if (valueExpr != null) {
    Class valueType = valueExpr.getType(context.getELContext());
    if (valueType == byte[].class) {
    newValue = item.get();
    else if (valueType == InputStream.class) {
    try {
    newValue = item.getInputStream();
    } catch (IOException ex) {
    throw new FacesException(ex);
    else {
    String encoding = request.getCharacterEncoding();
    if (encoding != null)
    try {
    newValue = item.getString(encoding);
    } catch (UnsupportedEncodingException ex) {
    newValue = item.getString();
    else
    newValue = item.getString();
    ((EditableValueHolder) component).setSubmittedValue(newValue);
    ((EditableValueHolder) component).setValid(true);
    Object target = component.getAttributes().get("target");
    if (target != null) {
    File file;
    if (target instanceof File)
    file = (File) target;
    else {
    ServletContext servletContext
    = (ServletContext) external.getContext();
    String realPath = servletContext.getRealPath(target.toString());
    file = new File(realPath);
    try { // ugh--write is declared with "throws Exception"
    item.write(file);
    } catch (Exception ex) {
    throw new FacesException(ex);
    and a simple tag handler it is nothing special.
    This code is taken from an example in the book Core JavaServer Faces Second Edition 2007

  • Upload files box in form on CS6

    I'm a student learning Dreamweaver and I am creating a form on a page to upload files or (attach files) but I can't find a way to create the box. I do have a server to post to if that matters. My current form code looks like this
    <form name="form1" method="post" action="">
            <p>Quote registration form
    </p>
            <table width="400" border="0" cellpadding="4">
              <tr>
                <td width="175">First name:</td>
                <td><label for="fname"></label>
                <input type="text" name="fname" id="fname" tabindex="1"></td>
              </tr>
              <tr>
                <td width="175">Last name:</td>
                <td><label for="lname"></label>
                <input type="text" name="lname" id="lname" accesskey="L" tabindex="2"></td>
              </tr>
              <tr>
                <td width="175">Business name:</td>
                <td><label for="bname"></label>
                <input type="text" name="bname" id="bname" accesskey="B" tabindex="3"></td>
              </tr>
              <tr>
                <td width="175">E-mail:</td>
                <td><span id="sprytextfield1">
                <label for="Email"></label>
                <input type="text" name="Email" id="Email" accesskey="E" tabindex="4">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Phone number:</td>
                <td><span id="sprytextfield2">
                <label for="phone"></label>
                <input type="text" name="phone" id="phone" accesskey="P" tabindex="5">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Address:</td>
                <td><label for="address"></label>
                <input type="text" name="address" id="address" accesskey="A" tabindex="6"></td>
              </tr>
              <tr>
                <td width="175">How should we contact you?</td>
                <td><label for="contact you"></label>
                  <select name="contact you" id="contact you" accesskey="C" tabindex="7">
                    <option>Phone</option>
                    <option>E-mail</option>
                    <option selected>Mail</option>
                </select></td>
              </tr>
              <tr>
                <td width="175">What do you need?</td>
                <td><span id="sprytextfield3">
                <label for="what do you need"></label>
                <input type="text" name="what do you need" id="what do you need" accesskey="W" tabindex="8">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Upload pictures:</td>
                <td> </td>
              </tr>
              <tr>
                <td width="175">Upload files</td>
                <td> </td>
              </tr>
            </table>
            <p>  </p>
          </form>
    please keep in mind I have a pretty basic knowledge of DW
    Thanks

    If your server supports PHP, this form-to-email processing script from DB masters supports attached files, plus it thwarts spam & conceals your e-mail address from robots.
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    If your server doesn't support PHP, you'll need to find an appropriate script in a programming language you can use -- asp, aspx, perl, etc...
    Nancy O.

Maybe you are looking for

  • How can I mark an email as SPAM without "opening" it?

    When I go to "the cloud" to read my email, I might see spam there. But when I click on the email message to mark it as spam or even delete it, I've "opened" the email.  I don't want to do that, right!!! So how can I mark it as spam *or* delete it wit

  • IPod Service Module has encountered a problem...

    Upgraded to XP Service Pack 3 and found that my iPod no longer shows up in iTunes and thus won't sync, however it is recoginzed by my computer. Have tried multiple fixes including uninstalling service pack 3 as well as uninstalling and reinstalling i

  • Messages getting stuck in Delivering status in AE

    Hi all, Recently we are coming across messages that go into Delivering status. These messages mostly belong to File Sender/Receiver Adapter but not confined to them. Here is the audit log of one such message: 2011-03-21 10:01:55 Success Write to file

  • Importing for Canon Rebel XT RAW images fails

    I have a rather odd problem. Both iPhoto and Aperture choke on RAW images I try to import from my Rebel Canon XT. It worked fine until a week or so ago when it suddenly broke. It is NOT the camera as iPhoto on my Powerbook can still import those imag

  • SSRS - how to get total by state

    Hi, I have a tablix that has employee info listed by state it also has there salary. I am grouped on the state and on the employee and I have totals for the salary at the bottom of the tablix. Now I need to somehow get the total salary by state. How