Tutorial Announcement .:: Form Field Tooltip ::.

Hello everyone...
Herein this tutorial i`ll show you how to add a great JavaScript tooltip to your forms, this option will help you to explian to your website visitors which data they should fillout the form fileds with, because you might applied for many online forms with unknown data or missunderstanding what you should write correctly in some form fields.
The Configuration and how to Include files:
First, you need to include the js files and css files as in the Live demo and Define tooltip text.
to include files switch to Code view in Dreamweaver cs3 and add this lines between the  tags.
:: Go to tutorials ::
:: Online Demo ::

Hi Carlene
but the Update Record, to change the user's information will not work.
to achieve that go to the users area and create a new page named "update_information.php" or what ever you prefer.
apply the basic update form wizard to the page by selecting > server behavior > adobe developer toolbox > forms > update record form wizard
1- select the required fields like: database name | table name "where the users information stored in".
2- select which fields you want the user to update "User name | Password | Email address etc...
3- in the primary field value equal to "URL Parameter" the "tbl_id" change it to be "SESSION VALE" & in the value textbox add this value -- kt_login_id
click the next button to continue
in the validation rules select the desired fields you wish to become required.
Click the Finish button to end the wizard.
now you have a user update information page restricted only to registered users in your website.
don`t forgot to apply the "restrict access to page" over the page to make sure it`s protected.
you can read more about this issue by visiting my full tutorial about:
:: Building Membership System ::
Best Regards
Waleed Barakat
Developer-Online Creator and programmer
http://www.developer-online.com

Similar Messages

  • Acrobat form field that allows Reader user to browse and insert a picture into a predefined area

    Is there a way to do insert a form field into an AcroForm that allow Reader users to browse and insert a picture into that form field?
    I know that LiveCycle can do this, but I need to do this using an AcroForm. Or maybe there's a third-party plug-in that can be used in an AcroForm to do this?

    Jay,
    The new version of Reader, which was announced today (see AcrobatUsers.com), will now allow you to use the field.buttonImportIcon method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.737.html
    For a bit more information, see: http://forums.adobe.com/thread/743823
    Here's the minimum code that can be used in the Mouse Up event of a button that's configured with a layout that's something other than "Label only":
    // Mouse Up script for a button
    event.target.buttonImportIcon();
    Since this isn't backwards compatible with Reader, you'll probably want to add additional code to test what version is being used and alert the user if it's pre-11. You should also check the return value to see if anything went wrong. The hard part is getting everyone to upgrade, but this and a number of other features should make it worth it.

  • Adding form fields breaks tag structure

    I have been teaching workshops at my university on creating accessible PDF forms from MS Word. I am very familiar with PDF accessibility. For the most part, the process of field recognition, marking up tables, writing tooltips, manipulating the tag tree, etc., all goes smoothly. I have noticed something that is creating a lot more work for our people, however.
    After adding forms to the tagged PDF using recognition and the Tools > Forms > Add New Field tool, we adjust the field tab order and add tooltips. Once all of that is in place and we are ready to fine tune, we click the Tools > Accessibility > Add Form Fields to Tags button. Adding Form Fields to Tags does not work consistently if you edit the tag structure manually while in the Forms creation process. You can do some tag remediation prior to entering the Forms tool, but if you edit the tag structure while in Forms, the Adding Form Fields to Tags often does nothing -- this is certainly a bug in Acrobat X but it is not hard to work around.
    The larger problem is that after we click Add Form Fields to Tags button, the tag structure reveals itself to be very much distorted and extreme amounts of tag structure remediation is required. Here are three screen shots that illustrate the point.
    This first image shows the on-screen appearance.
    Below is the expanded tags tree, prior to adding fields to the tag structure:
    The tag structure is clean and elegant. If I were to publish this, no remediation would be necessary.
    And here is the tag structure after adding form fields:
    What has happened is Acrobat has grabbed recognized form fields and other elements in the document and has jammed them into the tag structure. Other things are affected as well. For example, headings in the page have extra, redundant textruns in them.
    This has radically negatively affected the tag structure, requiring the author to do lots of remediation.
    Any recommendations? solutions? similar experiences?
    It seems obvious to me that this is a flaw in Acrobat that needs to be addressed, if accessibility is a goal. Or perhaps I'm doing something wrong??

    Hi Daver1111,
    Nope. No answer and nothing from Adobe.
    I know something is going really really wrong, too: We have a product called CommonLook. It's an enterprise-level PDF accessibility remediation tool. It works well in fixing most structural problems in PDF through a relatively easy to use interface--you just drag textruns and elements around. It also has some tools that automate cleanup for accessibility.
    I have no problem using this tool 99% of the time, but when I use it on forms I have made in Acrobat, the CommonLook plugin hangs when I try to save the PDF. It identifies a "structural error" in the PDF and crashes, leaving the PDF unchanged.
    You can change the PDF in Acrobat by spending time moving around and creating new elements and deleting extra textruns and such, but, wow, what a royal pain in the *** that is!
    Since no one is from Adobe is responding, I'm going to file a bug report.
    Cheers,
    ken

  • How to store forms fields into the session ?

    Hi All,
    I have to store forms fields into the session.
    I have four forms (htm forms) in four jsps and there are total 25 fields.
    I am inserting all the fields into the database at once while user submit the last form.
    I want to use session to store forms fields.
    So please anybody tell me how to do that.
    Is the following code correct to store the forms fields into
    the sesstion........
    // creating a session
    HttpSession session=request.getSession(true);
    // retrieving form fields
    String name=request.getParameter("customer_name");
    String business=request.getParameter("business");
    String address=request.getParameter("address");
    and so on....
    // store form fields into the session
    session.setAttribute("name",name);
    session.setAttribute("business",business);
    session.setAttribute("address",address);
    and so on....
    and later on get the value as:
    session.getAttribute("name");
    session.getAttribute("business");
    session.getAttribute("address");
    and so on....
    OR
    is there another way to store form fields into the session.
    Please guide and reply with coding.....
    Please answer and help.
    Thanks
    Amitindia

    I don't mean to be an *** but I have no desire to help someone so unwilling to think >>and do. Go through some of these tutorial, do the examples in each and you will be far >>better equipped to ask questions:
    http://www.google.co.za/search?hl=en&q=%2Bjsp+%2Bjavabean+%2Btutorial&b >>tnG=Google+Search&meta=
    I was just asking that if I use the following
    <jsp:useBean id="cart" scope="session" class="session.Carts" />
    <jsp:setProperty name="cart" property="address" value="myaddress" />
    </jsp:useBean>then will I be able to acheive my aim as I have to store form fields into the session and later retreive while user submit the last form.
    Please read my question that I have posted.
    Am I using the right way................or which is the best way to store form fields into the session and later retrieve them.
    please reply
    Thanks
    Amitindia

  • Flexible content lengths in form fields - how?

    Hi everyone,
    I am new at this Designer tool and need help regarding flexible contents inside form fields.
    1. Inside my pattern-form there are fields for customer/product-contents which VARY their size.
    --> Example: If field #a gets a size of 20 lines instead of 5, field #b (below #a) MUST move/relocate downwards.
    (It is not acceptable to offer a maximum sized field only = I need flexible frames!)
    2. Ideal would be: If form #a becomes too big, the form should be able to push field #b to the following page.
    Can someone explain me the steps how to do produce a form which contains the requirements above? Many thanks in advance!
    Matt

    Hi Matt,
    this issue should be resolved by placing the fields in question inside a sub-form. Subforms can either be Positioned (where the fields cannot grow) or Flowed (where the fields can grow).
    To do this you can Ctrl+select all the fields in the hierarchy view and right-click --> Wrap in Subform.
    This will alter the hierarchy structure; you will see the fields under your new subform.
    Next, go to the Object's tab (once you have selected the subform) and change the property to 'Flowed' (the alternative is Positioned). Once you have changed it to Flowed, you have the option of flowing it either Top to bottom or Western Text (from left to right). This choice must be based on your requirement.
    I won't lie - the Flowed/Positioned subform option can be tricky, the 'Margins'settings can mess with the rest of your layout. If this subform thing throws off your layout too much, you can also place Positioned subforms within it - just remember those subforms will not grow. Testing will reveal what suits you best.
    It is very important to remember to tick 'Allow Page Breaks within Contents' - this allows the subform to flow over onto the next page if needed. Also, remember to look at your Field's properties (such as 'Allow Multiple Lines', etc).
    I hope this has helped. Perhaps look for a tutorial on this matter on the Adobe site - you'll probably need a reference to look back on if you get stuck.
    Zoe

  • List all form fields with JS?

    I imagine this is a pretty easy one, but does anyone know what the script would be to list all form fields in the console?  Specifically, at the moment, I only need it for buttons, but I imagine it would be useful for any fields as well.

    Take a look at the "Required Fields" tool at this site:
    http://www.pdfscripting.com/public/65.cfm
    Its a toolbar button that lists all fields that are required. It could easily be changed to filter for any field parameter, or none.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • 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.

Maybe you are looking for