Form Field customised

Hi
I am just wondering if there is any way that i could change the background colour of all fields in a form?
Also when you select a jump menu can you define the width of it like you can with the text fields?
Thanks

Yes, you can do this using css, see this tutorial - http://freeyourdesign.com/css/css-custom-search-field-or-textfield/
see also - http://www.netwaver.com/23/24-html-form-elements-customization-techniques/
A jump menus width can be increased using the style attribute, see - http://www.codeave.com/CSS/code.asp?u_log=4030
PZ

Similar Messages

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Assigning a form field to a variable in XSL in rtf template

    Hi,
    I have this code:
    <?xdoxslt:set_variable($_XDOCTX, 'x', 0)?>
    <?if:_-Basic._Total_Jobs_=''?>0<?end if?>
    <?xdoxslt:set_variable($_XDOCTX, 'x', -Basic_._Total_Jobs_ )?>
    <?xdoxslt:get_variable($_XDOCTX, 'x')?>
    This code is supposed to be initialising a variable and a form field if it's null, and
    then assigning the form field value to the variable. But I am not getting
    any value from the get_variable function.
    Any ideas?
    Thanks,
    - Jenny

    I figured it out. The bind variable substitution works as designed. It was just my head that wasn't working right.

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Using javascript to save a pdf to a different directory and generating a new filename based on form fields in the document.

    I have built the following script in an attempt to create a submit button that will automatically save the document in a different directory on my computer. It will also use the form field data "customer" and "date" to generate the filename. I printed out the variable myPath and it looks like it printed the correct string. I keep getting the following error:
    TypeError: redeclaration of const path
    any help would be much appreciated.
    var customer = this.getField("Customer").value;
    var date = this.getField("Date").value;
    var path = "C:/Users/awilliams/My Documents/Test/"
      var reg = date.match(/(\d+)\/(\d+)\/(\d+)/);
    var myPath= "C:/Users/awilliams/My Documents/Test/" + customer + "_" + reg[1] + "." + reg[2] + "." +
    reg[3] + ".pdf";
    this.saveAs(myPath);

    "path" is a keyword within a PDF you should not use keywords as a name for any other object as a general rule.
    Have you checked the PDF Reference to see how to create a file path name within a PDF,  3.10.1 File Specification Strings page 118?
    Did you carefully read the Acrobat JavaScript Reference for the saveAs method?
    The notes following the description:
    Note: This method can only be executed during a batch or console event. See Privileged versus non-privileged context for details. The event object contains a discussion of JavaScript events.
    (Adobe Reader S): This method is available in Adobe Reader for documents that have Save usage rights.
    How to Save a PDF with Acrobat JavaScript

  • Acrobat XI Windows 7 - unable to (copy and) paste form fields to a different pdf.

    To maintain a consistent appearance and function in the forms I create for various departments, I copy a few form fields  (text, checkboxes) from an unrelated Acrobat PDF. Then I paste those fields into a different PDF document that I am making fillable.
    I do this because Acrobat does not allow setting a default for certain attributes when creating form fields, i.e. an unchecked scroll option, a default font other than Helvetica (in Acrobat 8, 9, and X). Plus it is time-saving to copy and paste fields that are the same in another PDF, like name, address, phone. etc.
    We just updated to Acrobat XI and Windows 7 and now I cannot paste copied fields onto a different PDF.
    Using "replace pages" is not applicable as I am pasting to an entirely different form and copying form fields with the settings I use. 
    Is this a glitch or is something new that was not in Acrobat 8, 9, and X?
    Also, question regarding this forum entry -  http://forums.adobe.com/message/5638333#5638333 - which is somewhat different from my current question.
    The PDF creator could not paste copied fields on other pages of the same PDF. Was this ever resolved so that copy and paste worked as it has for the last 3 versions of Acrobat?
    Thanks!
    Joanie

    Gilad:  You're right: when the fields are different, such as a checkbox and a text field, and you try to title them the same, Acrobat gives you a message. I received no messages, the field names are not the same or I missed one and Acrobat is no longer messaging about it.
    My question is different. Acrobat XI will not let me paste any field copied from a different PDF.  I've been doing that for 5 years in three different versions.  Maybe Acrobat XI has a new process for that, which I could not find in Acrobat help. Maybe it's because all forms now have extended rights automatically in Acrobat XI and there is another method to copy common fields to other PDFs.
    Any thoughts about the new Acrobat XI? It's different in many good ways, but different.
    Thanks for your ideas.

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • Setting tab order to form fields contained within a table, Indesign CS6

    I have created a form in ID CS6, and have put all the tabs in order so that people can easily navigate it when filling it in. However, all of the form fields that are contained within tables are not in order, and I can't find any way of putting them in order without changing them in acrobat after I have made the interactive PDF. This means that every time my client makes changes to the form I have to manually put all the fields in order again, which is time consuming. Is anyone able to help?

    This tab order dialogue box is nearly useless if you have a complex form with hundreds of form fields as there is no way to interact with the document when the dialogue is open and clicking on an entry in the list does not highlight the respective field. Furthermore, if you have arrays of radio buttons, or check boxes acting like radio buttons, ie all with the same form field name, there's no way to know which order they should be arranged in since they can't be selected or identified while this dialogue is open!
    That is immensely frustrating to say the least.
    It's quite ridiculous that Adobe hasn't fixed this bug in years and this user interface is shockingly bad.

  • Expanding Text to fit expanding form field

    I am new to using LiveCycle Designer and have embedded some text fields in paragraphs which are dynamic and adjust but now I am having a hard time getting the text within the paragraph to adjust to the form field. Is there a way I can do this? Sorry if this is a simple question.

    what you need is flooting field in the running text. You can use as many flooting fields as you need in text. Focus in that direction.

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • Changing text size in form field (rich text formatting enabled)

    Hi all,
    I'm hoping someone can help me out here. I've created an interactive PDF with form fields with "Rich Text Formatting" enabled.
    My client has filled in the fields and would like to make the text bigger. When right-click, there are only options to change the text style (bold, italics etc) but nothing to change the text size. I'm not keen on disabling and then re-enabling the "Rich Text Formatting" options as the text have been formatted (bold, italics, superscript, subscript etc) and approved, and this will remove all the existing formatting.
    Can anyone help?
    Acrobat 9.4.6
    Mac 10.6.8
    Cheers,
    Tricia

    Thanks so much!! Really appreciated!
    Strangely enough, I found the Form Field Text Properties dialogue box by randomly choosing "Hyperlink" in the right-click options. Who would have thought!

  • Problem with Buttons/Form Fields in Acrobat PDF when created in InDesign CS4

    So I have been working for quite some time on an interactive form for an internal client at my job. It has two major components, one is the side bar navigation, which I created using buttons in InDesign which link to bookmarks in the document. The second aspect is that I also created "check boxes" accoring to this video: http://www.adobe.com/designcenter/cs4/articles/lrvid4434_ds.html
    I have two major issues:
    1. Whenever I try to convert my boxes to form fields in Acrobat it will not recognize them unless I save out 4 pages at a time (rather than the whole document).
    2. I then have to combine the document and get multiple sets of bookmarks, and some bookamrks are corrupted (not working properly). Even when I try to convert the whole document some of the buttons are corrupted.
    UGH tired of this project, I am really bastardizing the whole thing to get it done, but want to figure out the problem as this is an ongoing document that we will be using over and over again in future years.
    I am attaching the pdf file--this is a pieced together one (saved out 4 pages at a time) (which I did do some fixes to to get buttons to go to proper locations) and the original indesign file (partial file due to size).
    PLEASE OH PLEASE HELP ME!

    Acrobat's Form Wizard is good but not perfect when creating form data from a PDF. I have never encountered Acrobat not able to finish the process of creating all form fields, but have encountered very slugish performance afterwards when there was a lot of forms, buttons, and other elements within the pages. And I would say, from your attached PDF, it is pretty heavy with content. I am going to suggest an idea, but I have not tested this to see if it would work.
    In InDesign, create a layer for your navigation tabs, and a layer for your text with the check boxes. Create two PDFs from ID, one PDF with just your-nav tabs, the second with just your text with check boxes. In Acrobat, perform the Form Wizard on the second PDF and see if this will finish, the idea here is to reduce the cllutter for the Form Wizard to finish. If it does, you can merge the first PDF as a layer with the second to have a completed document. Again, I have not tested this theory.

  • Can I add a text form field in Photoshop that can be edited in Acrobat reader?

    I design coffee labels with Photoshop then send them off to the printers. The printers then open up a PDF and put in the best before date before printing. At the moment I have to add the text form fields using Acrobat Pro after i've saved the photoshop document as a Photoshop PDF. The problem is if I want to edit the labels at a later date, I have to re-add the text form fields with Acroabat again. 
    Can I add a text form field in Photoshop that can be edited in Acrobat reader? Is it better to use another program for this task?
    Thanks in advance
    Ian

    As A1's Calculate script, under "Simplified field notation", enter:
    A * 0.8
    The same goes for B1 and B, resp.

  • Creating an animation in a form field

    http://www.krop.com/ (best viewed
    through FF)
    Type in the gigantic search box and you’ll see an
    “animation” in the background. (little diagonal yellow
    bars sliding across background)
    How do you make this happen? I just want to make it work on a
    single page before I proceed further. I don't think I need a step
    by step (at least not yet :) I just need to know how this is being
    done so I can create my own version. I've googled for this. But I
    think I'm not using the correct terms, so google is giving me
    squat. At first I thought it was some kind of interactive, animated
    .gif. Now I'm just not sure... I even went so far as to create the
    gif, now it just sits on the webpage..
    NOTE: I downloaded the site into Dw using WA Site Import.
    When I go to preview index.html. It doesn't show me that cool
    little animation when I type in the search box...
    Thanks so much in advance for your help.
    Cheers,
    -Jon

    Could you pls explain what you are trying to do? You can store
    links in the form field directly. If you want to make them links
    then use href.

  • Editing Form Fields inside Acrobat? (after using LiveCycle Designer)

    Adobe Acrobat 9 Pro Extended ==  Acrobat
    LiveCycle Designer ES 8.2 == LiveCycle Designer
    =========================================
    Say I downloaded a new PDF from the interwebs.
    I want to add some forms fields so I go to Forms ==> Add or Edit Fields... (inside Acrobat)
    Now Acrobat will detect possible places where to add the form fields. I make changes etc. Then I am  satisfied with my form fields.
    Now say I want to remove a particular object from the PDF, lets take an image as an example.
    So I fire up  LiveCycle Designer; File ==> New ==> Import a PDF document ==>  Create an Interactive Form with a Flowable Layout.
    I remove that pesky little object.
    In LiveCycle Designer, I save the file as PDF.
    I open up Acrobat. I realize I need to make some more changes to some of the Form  Fields.
    But now instead of "Add or Edit Fields..." option I get "Edit Form in  Designer..."
    I hate the GUI of LiveCycle Designer --- I had rather edit the form  fields from inside Acrobat, as it is easy and fast to change multiple  form fields in a few clicks.

    Thank you Niall for the above response; Your response gave me an idea which allowed me to remove that line by zooming in to 200%
    You know Acrobat detects Form Fields for you.
    But many times it makes mistakes, for example in the screenshot below it made the boxes that came with the PDF as text fields instead of check boxes.
    The thing is rather than me delete the (form) fields it detected, and start over by making new check boxes, I will not be able to place my new check box in exact locations as Acrobat has done.
    When I imported the fields that Acrobat made into LC (by saving the PDF in Acrobat and then opening it with LC) I get option to change the Object Type from Text Field to Check Box when I right click the object.
    Is there a similar way to change the Object Type from Text Field to Check Box inside Acrobat? Any suggestions?
    ===========
    I would really like to do it inside Acrobat because then if I have to make some minor changes to some field properties, all my hard work which I did by filling the fields gets deleted, as I am forced to use LC. The text I add to the fields don't get deleted when I edit the field properties inside Acrobat. I don't know why LC decides to delete all the text which is filled out in the form fields even though the PDF is saved in Acrobat before being imported into LC?
    Here is the above PDF file with the text boxes:
    http://www.mediafire.com/?lnn32jm5am5
    Again thanks for all your guidance so far.

Maybe you are looking for

  • Dynamic sales order no. in Delivery item output Subject line

    Hi Friends I  need to send delivery output LQCA item level, by mail and E mail subject should contain sales order no and product description. The method is to write: & XXXX-YYYY& / &LIPS-ARKTX&  (XXXX is the table name containing sales order and YYYY

  • Unable to open the padlock in the account sistem

    hi everyone I'm new n the forum and italian (so apologized my bad english :)) I have a problem, during an attemp to install a programm (guitar pro demo) I was unable to finish the intallation process (it wouldn't go on, and also it doesn't answer me

  • Classification in Material Master

    Hi All, I have to create two characteristics A and B for maintaining in the classification view of the material master. Some of the sample values for these parameters are as given below. for A -  1) -6-4/6-4/8 2) 0,27kg/m2 3) 7X10 4) 8x5,9 5) 16O-8 6

  • My music on my iPod 5 keeps freezing.

    Sometimes, it will lag and then go back to normal. And sometimes, it will just freeze and completely shut down. I've tried restarting my ipod and restoring it from a backup but it still does that. Any solutions?

  • CS4 Crashes when copying effects

    Every once in a while, AE CS4 crashes when I attempt to copy one or more effects from a composition. It's unpredictable, it works fine 10-20 times, then crashes. It happens whether I use the keyboard shortcut or the edit menu. It's happened 15 times