Validating Emails fields in my Dialog Box

Hi all, I want to validate emails in my dialog box. My field are automatically fill by an XML and I want to validate them. I am able to validate them when the user enter a new email but if the user do not enter a new email and hit "OK", there is no validation. Any idea? Thanks!
var submitEmailTo = "[email protected]\rclient@somewherecom"
var submitEmailFrom = "[email protected]"
var patt = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/g;
var dialog1 = {
    submitEmailTo: "",
    submitEmailFrom: "",
    submitEmailMessage: "",
    initialize: function (dialog)
        dialog.load(
            "emto": submitEmailTo
        dialog.load(
            "emfr": submitEmailFrom
    commit: function (dialog)
        var results = dialog.store();
        this.submitEmailTo = results["emto"];
        this.submitEmailFrom = results["emfr"];
        this.submitEmailMessage = results["mess"];
    emto: function (dialog)
    var data = dialog.store(["emto"])
    emtoString = data["emto"]
    emtoArray = emtoString.split("\r")
    for (var i=0;i<emtoArray.length;i++)
        if (emtoArray[i].match(patt) == null)
                app.alert("Le courriel \"" + emtoArray[i] + "\"ne semble pas valide.", 1, 0, "Validating");
    description:
        name: "Job Information", // Dialog box title
        align_children: "align_row",
        width: 400,
        height: 200,
        elements: [
            type: "cluster",
            name: "Email Information",
            align_children: "align_right",
            elements: [
                type: "view",
                align_children: "align_row",
                elements: [
                    type: "static_text",
                    name: "From (CVSC): "
                    item_id: "emfr",
                    type: "edit_text",
                    alignment: "align_left",
                    width: 400,
                    height: 20
                type: "view",
                align_children: "align_row",
                elements: [
                    type: "static_text",
                    name: "To: "
                    item_id: "emto",
                    type: "edit_text",
                    multiline: true,
                    alignment: "align_left",
                    width: 400,
                    height: 30
                type: "view",
                align_children: "align_row",
                elements: [
                    type: "static_text",
                    name: "mess: "
                    item_id: "emto",
                    type: "edit_text",
                    multiline: true,
                    alignment: "align_left",
                    width: 400,
                    height: 70
                alignment: "align_right",
                type: "ok_cancel",
                ok_name: "Ok",
                cancel_name: "Cancel"
app.execDialog(dialog1)
this.info.submitEmailTo = dialog1.submitEmailTo
this.info.submitEmailCC = dialog1.submitEmailCC
this.info.submitEmailMessage = dialog1.submitEmailMessage

Actually this code is  attached to a button action. When my form is opened at first, my fields are populated and all the extra information are send to custom metadata.
The opearator here, will hit a button  and a big dialog box appear with all the job information. You see actually only the email cluster. The idea is to help the operator to  easily build an email with copy and paste. Sometime the emails fields will be filled automatically and sometime the operator will fill them.
The reason I go through a dialog box is I don't want the client to see to much information and the email is sent by a another application.
My first idea was to put a validation script on the "OK" button but it seems not possible to "cancel" this action.

Similar Messages

  • Which shortcut can I use to move the highlight in a dialog box to the first field in the dialog box?

    I am working with FrameMaker 10. There used to be a keyboard shortcut  for moving the highlight to the first field in a dialog box. Without  this command I do not know how to move the highlight to the field I want  to modify. I assume the highlight is on a random field when my script  enters the dialog box.

    In iPhoto
    You need to switch Photo Stream on from System Preferences > iCloud not from iPhoto.
    See instructions here >  iCloud - Learn how to set up iCloud on all your devices.

  • Unable to disable input field in modal dialog box

    Hi All, I have a screen typed modal dialog box with a table control.
    I want to disable field input in the table control when some conditions meet.
    I write the following code in the PBO, but it's not working. The group1 has been set.
    LOOP AT SCREEN.
           IF screen-group1 = 'DSP'.
             screen-input = 0.
             MODIFY SCREEN.
           ENDIF.
    ENDLOOP.
    Would anyone help me? Thanks in advance!

    Hi,
    Loop over table control and then modify the table control. Check the below threads for reference:
    enble / disable table control column at runtime.
    Table Control Enable / Disable Row | SCN
    Table Control&amp;nbsp; Fields Disable. | SCN
    hope this helps u,
    Regards,
    Kiran

  • Saerch help for Date field on Modal Dialog box

    Hi ,
    I have made a screen of Modal Dialog box type . I have one date field on that screen . I have given datatype datum to that field but the serch help for that field is not coming . There is no search help for that field .. Please help..
    Thanks in advance....

    hi,
    in the pop up box for that field just checjk whether the data type is date.

  • Validating Email Field

    Hi
    I am developing a form in which there is an email field which i have to enter in a textArea.
    tell me how can i check whether the entered email id is valid or not.
    Its urgent
    Thanks in advance
    Dhiraj

    In case you are using JDK version prior to 1.4 you can use following function.
    <pre>
    * Validates the structure of the Email Address. This method covers most
    * requirements of the RFC822 specification.
    * @param strEmailAddress Email Address to be validated
    * @return true if validation is successful, false otherwise
    * @see RFC822
    * @see * Online Email Validator
    public static boolean isValidEmailAddress(String strEmailAddress)
              boolean bValid = true;
              // return false if strEmailAddress is either null or empty
              if (isNullorEmpty(strEmailAddress)) {
                   return false;
              // calculate length of the email address
              int iLength = strEmailAddress.length();
              // get the first occurrence of @ char
              int iCharAtPosition = strEmailAddress.indexOf("@");
              // validation fails if @ character is not present
    if (iCharAtPosition == -1) {
         bValid = false;
              // validation fails if @ character found is in the first or last position
    else if ((iCharAtPosition == 0) || (iCharAtPosition == (iLength - 1))) {
         bValid = false;
              // validation fails if more than 1 @ character are present
    else if (strEmailAddress.indexOf("@", iCharAtPosition + 1) > -1) {
    bValid = false;
              else {
                   // traverse thru all the characters in the given email address
         for (int i = 0; i < iLength; i++) {
              // get the character at the i position
         char c = strEmailAddress.charAt(i);
         if (c == '.') {
                             // validation fails if . character found is in the first or last position
              if ((i == 0) || (i == (iLength - 1))) {
              bValid = false;
              break;
         // . character cannot come before @ character
         else if (i == (iCharAtPosition-1)) {
              bValid = false;
              break;
         // all these are invalid characters
         else if ( c > '~' || c < '!' || c == '(' || c == ')' ||
         c == '<' || c == '>' || c == '[' || c == ']' ||
         c == ',' || c == ';' || c == ':' || c == '\\' ||
         c == '"') {
                             bValid = false;
         break;
              // return the validation flag          
    return bValid;
    </pre>

  • Never recvd verification code, in PHOTOMAIL dialog box it is asking for one when trying to email pictures,never saw any codes when setting this up

    verification code, never received it when setting up contacts to email pictures, in PHOTOMAIL dialog box it is asking for one to verify my email address and said it was sent to my email, went back and checked and there wasn't anything there, where is it or what do I need to do now????

    Does the account you are using have admin rights? I found this :
    http://support.apple.com/kb/HT2397
    +In Mac OS X 10.3 Panther and later, users with administrative privileges aren't prompted to change the region the very first time a DVD-Video disc of a single region is inserted. Instead, the region of the DVD drive is automatically set to the region of the DVD disc that was inserted. Accounts that don't have administrative privileges must authenticate with an administrator account name and password, because changing the drive's region code requires administrative privileges.+
    Sounds like it might be worth a try from an admin account first.

  • Retrieve 4 inputs from one dialog box at a time

    I have a Jframe and when I click a button I want it to open a new Jdialog box. I want 4 different input fields. Two will be for strings, 1 int, 1 double. But I can't get it to open up a dialog with all of those things. Will I have to accept them all as strings then convert them to double and int? and what will the code for 4 input fields in a dialog box look like? If you need more info just ask... And I'm using Netbeans, if this makes it easier.

    You could design a custom JDialog or whip up something simpler with JOptionPane:
    import java.awt.*;
    import javax.swing.*;
    public class JOptionPaneExample {
        public static void main(String[] args) {
            JPanel p = new JPanel(new GridLayout(2, 2));
            p.add(new JLabel("name:"));
            p.add(new JTextField(10));
            p.add(new JLabel("age:"));
            p.add(new JTextField(10));
            int result = JOptionPane.showConfirmDialog(null, p, "title",
                JOptionPane.OK_CANCEL_OPTION,
                JOptionPane.PLAIN_MESSAGE);
    }

  • New to Dialog Boxes and I'm stuck

    Seems there is no way to format a field in a Dialog Box. How can a field be checked to determine if the correct type of data was entered in it, when the user moves to the next field, before data is committed?
    I am stuck on how to limit the number of characters entered into the postal code and phone fields. I want to limit the number of numeric characters that can be entered in each phonenumber field ie  3 numbers, 3numbers and 4 numbers (999 999 9999)  And postal code field ie 3 characters and 3 characters (A9A 9A9)
    Also, once the user enters the required number of characters in the phone and postal code fields, the code should tab to the next field. And yes, I read about tab_first and next_tab, but don't understand how it works. The way I see it working is that once a phone or postal code field is filled with the required number of characters, control automatically tabs to the next field.
    I am using Adobe Acrobat Professional 8
    This code was written by trail and error using examples from various sources ie Acrobat JavaScript Scripting reference - version 7.0.5, Acrobat JavaScript Scripting Guide - version 7.0, and I have very little experience in creating a dialog box and its code - forgive the mess.
    //============================================================================
    var goon=true;
    var result;
    var address;
    var city;
    var province;
    var sign;
    var postalcodea;
    var postalcodeb;
    var homephone;
    var homephoneareacode;
    var homephoneprefix;
    var homephonenumber;
    var businessphone;
    var businessphoneareacode;
    var businessphoneprefix;
    var businessphonenumber;
    address = this.getField("Text1-2-Address").value;
    city = this.getField("Text1-2-City").value;
    var provincelist = new Array();
    provincelist[1] = " ";
    provincelist[2] = "Alberta";
    provincelist[3] = "British Columbia";
    provincelist[4] = "Manitoba";
    provincelist[5] = "New Brunswick";
    provincelist[6] = "Newfoundland & Labrador";
    provincelist[7] = "Northwest Territories";
    provincelist[8] = "Nova Scotia";
    provincelist[9] = "Nunavut";
    provincelist[10] = "Ontario";
    provincelist[11] = "Prince Edward Island";
    provincelist[12] = "Québec";
    provincelist[13] = "Saskatchewan";
    provincelist[14] = "Yukon";
    var sign = new Array();
    for (var i=0; i<15; i++)
                sign[i] = "-";
                if(provincelist[i] == this.getField("Client's Full Province Name").value)
                            sign[i] = "+";
    postalcodea = "";
    postalcodeb = "";
    if(this.getField("Text1-2-Postal-Code").value != "")
                postalcodea = this.getField("Text1-2-Postal-Code").value;
                postalcodea = util.printx("A9A", postalcodea);
                postalcodeb = this.getField("Text1-2-Postal-Code").value;
                postalcodeb = postalcodeb[4]  + postalcodeb[5] + postalcodeb[6];
    homephoneareacode = "";
    homephoneprefix = "";
    homephonenumber = "";
    if(this.getField("Text1-2-Home-Phone-Number").value != "")
                homephone = util.printx("9999999999", this.getField("Text1-2-Home-Phone-Number").value);
                homephoneareacode = homephone[0] + homephone[1] + homephone[2];
                homephoneprefix = homephone[3] + homephone[4] + homephone[5];
                homephonenumber = homephone[6] + homephone[7] + homephone[8] + homephone[9];
    businessphoneareacode = "";
    businessphoneprefix = "";
    businessphonenumber = "";
    if(this.getField("Text1-2-Business-Phone-Number").value != "")
                businessphone = util.printx("9999999999", this.getField("Text1-2-Business-Phone-Number").value);
                businessphoneareacode = businessphone[0] + businessphone[1] + businessphone[2];
                businessphoneprefix = businessphone[3] + businessphone[4] + businessphone[5];
                businessphonenumber = businessphone[6] + businessphone[7] + businessphone[8] + businessphone[9];
    var dialog2 =
                initialize: function(dialog)
                             dialog.load(
                                                     stat:     "Client Address and Phone Information is required in forms you are about to link to. To save time, enter Address and Phone Information before linking to these documents.",
                                                    str1: address,
                                                    str2: city,
                                                    stra: postalcodea,
                                                    strb: postalcodeb,
                                                    str5: homephoneareacode,
                                                    str6: homephoneprefix,
                                                    str7: homephonenumber,
                                                    str8: businessphoneareacode,
                                                    str9: businessphoneprefix,
                                                    sts1: businessphonenumber,
                                                    str3:
                                                                "  ": (sign[1] + "1"),
                                                                "Alberta": (sign[2] + "2"),
                                                                "British Columbia": (sign[3] + "3"),
                                                                "Manitoba": (sign[4] + "4"),
                                                                "New Brunswick": (sign[5] + "5"),
                                                                "Newfoundland & Labrador": (sign[6] + "6"),
                                                                "Northwest Territories": (sign[7] + "7"),
                                                                "Nova Scotia": (sign[8] + "8"),
                                                                "Nunavut": (sign[9] + "9"),
                                                                "Ontario": (sign[10] + "10"),
                                                                "Prince Edward Island": (sign[11] + "11"),
                                                                "Québec": (sign[12] + "12"),
                                                                "Saskatchewan": (sign[13] + "13"),
                                                                "Yukon": (sign[14] + "14"),
                cancel: function(dialog)
                            return;
                destroy: function(dialog)
                            return;
                commit:function (dialog)
                            results = dialog.store();
                            var elements = dialog.store() ["str3"]
                            province = "";
                            for(var i in elements)
                                        if(elements[i]  > 0)
                                                    province = i;
                            return;
                            description:
                            name: "Address and Phone Information",
                            //align_children: "align_left",
                            //type: "static_text",
                            //char_height: 9,
                            //width: 350,
                            //height: 75,
                            elements:
                                                    type: "cluster",
                                                    name: "",
                                                    align_children: "align_left",
                                                    elements:
                                                                            align_children: "align_top",
                                                                            alignment: "align_fill",
                                                                            type: "view",
                                                                            width: 254,
                                                                            elements:
                                                                                                     alignment: "align_fill",
                                                                                                     bold: true,
                                                                                                     font: "default",
                                                                                                     char_height: 9,
                                                                                                     italic: true,
                                                                                                     item_id: "stat",
                                                                                                     multiline: false,
                                                                                                     type: "static_text",
                                                                                                     width: 150,
                                                                                                     height: 50,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Address: "
                                                                                                     item_id: "str1",                         
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 60,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "       City: "
                                                                                                     item_id: "str2",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Province: "
                                                                                                     item_id: "str3",
                                                                                                     type: "popup",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     type: "static_text",
                                                                                                     name: "Postal Code: "
                                                                                                     item_id: "stra",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "strb",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Home Phone Number: ("
                                                                                                     item_id: "str5",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     next_tab: 3,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str6",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "str7",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Business Phone Number: ("
                                                                                                     item_id: "str8",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str9",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "sts1",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                    alignment: "align_center",
                                                    type: "ok_cancel",
                                                    ok_name: "Continue",
                                                    cancel_name: "Cancel"
    var dialog3 =
                initialize: function (dialog)
                cancel: function(dialog)
                            goon=false;
                            return;
                destroy: function(dialog)
                            return;
    while (goon)
                result = app.execDialog(dialog2);
                if (result=="cancel")
                            goon=false;                  
                if (result=="ok")
                            this.getField("Text1-2-Address").value = results["str1"];
                            this.getField("Text1-2-City").value = results["str2"];
                            this.getField("Client's Full Province Name").value = province;
                            this.getField("Text1-2-Postal-Code").value = results["stra"] + " " + results["strb"];
                            this.getField("Text1-2-Home-Phone-Number").value = results["str5"] + results["str6"] + results["str7"];
                            this.getField("Text1-2-Business-Phone-Number").value = results["str8"] + results["str9"] + results["sts1"];
                            goon=false;

    If you know a link that has what he wants, wouldn't it be prudent just to provide that?
    I got overwhelmed trying to understand all of the different related elements of the Flash family when I was starting, so I know what that's like. Roughly (and Ned might want to correct or clarify some of this), Actionscript 3 is the programming language Flash/Flex/AIR content is based upon. Flash is a blanket term encompassing the developing environment (Flash Pro), code libraries, and runtime (Flash Player). AIR is a runtime environment built upon Flash Player, but with added functionality and cross-platform support. Flex is an extension of Flash, offering MXML components in addition to the libraries available in Flash Pro. Adobe intends for you to use Flex with Flash Builder, a separate IDE built upon Eclipse.
    I haven't used MXML yet, but my impression is that (at least in Flash Builder) it is functionally similar to WYSIWYG editing in Microsoft's Visual Studio.
    If you are developing games, you can edit entirely in Flash Pro, entirely in Flash Builder, or combine both of them. Flash Pro lets you put code on the timeline, which can make some coding much easier, but also makes it very, very easy to write messy and disorganized code. Flash Builder doesn't provide access to the timeline and is intended for class-based development. Personally, I like to combine the two, writing some timeline code in Pro and doing my class files in Builder, but I'm not the greatest developer.
    As a heads-up, the code editor in Flash Pro is absolutely terrible, and is full of bugs that have existed for many generations, because Adobe wants you to buy Flash Builder for the additional $600, but if you are a student or "unemployed", you can get FB for free from Adobe.

  • I mistakenly saved a download, and checked the "always do this for thid type of file" now I cannot open a file without saving it first, because it does not take me to that same dialog box.

    When you open a file from an email, you get a dialog box Open or Save this file. I wanted to save a particular file, so I clicked Save. The problem is, I had already clicked on "do this every time for files like this" so now it won't give me the dialog box back for when I just want to open a file, not save it. I have searched Options, to no avail.

    '''''"always do this for thid type of file"''''' means exactly what it says: '''<u>always</u>''' .
    Go to Tools > Options > Applications, locate and click on the Content Type for the item, change Action to "Always ask". This will cause a dialog to open giving you a choice of opening with an appropriate plugin for Firefox or saving the item to your hard drive. See:
    *http://support.mozilla.com/en-US/kb/Managing+file+types
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.1"
    **'''''Security update version 9.4.2 released on 2011-02-08'''''
    **Info on version 10 (Reader X)"
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Shockwave Flash 10.1 r102
    **'''''Security update version 10.2.152.26 released on 2011-02-08'''''
    *Next Generation Java Plug-in 1.6.0_23 for Mozilla browsers
    **'''''Security update version 1.6.0_24 released on 2011-02-10'''''
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Print dialog box comes up after 30 sec delay-why?

    Hi,
    I am in Ai CS4. The first file I open, when I go to print it takes just over 30 secs for the print dialog box to come up. The next time I print, no problem, pops up right away. All subsequent file print dialog boxes come up immediately. Quit Illustrator and it starts all over again. Rebuilt permissions, then rebuilt from startup disk, trashed preferences. Tried changing default printer. Nothing seems to solve this. Mac Quad-Core Intel Xeon, OSX 10.6.3
    Any ideas out there?
    Thanks
    Marcia

    Thanks, I'll give that a try. Appreciate your assistance!
    Marcia
    Marcia T Sinner
    Creative Director
    Zoological Society of Milwaukee
    10005 W. Blue Mound Rd.
    Milwaukee, WI  53226
    414.258.5020 x514
    fax 414.258.2795
    [email protected]
    Pray for Peace.
    From: Zach Zurn <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 08 Apr 2010 12:35:46 -0600
    To: Marcia Sinner <[email protected]>
    Subject: Print dialog box comes up after 30 sec delay-why?
    I know you are on a Mac, but on windows a similar problem and even a crash can
    occur when your default printer spooling service is set to manual instead of
    auto.
    Either set your default printer to a virtual printer like "Adobe PDF" or go
    into the printer settings and set spooling to automatic.
    >

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

  • Math in 'Crop Pages' dialog box fields & Arrow key shortcuts

    I believe Acrobat is the only Adobe application i've used where you cannot do math in the dialog box fields. For example: In the crop pages dialog box, if the top value is set to '.25in' and I wanted to add '3p6' to that value, I cannot type '.25in + 3p6' like I could in InDesign or Illustrator. Adobe, you spoil us by letting us take advantage of this math feature in InDesign & Illustrator. My calculator has been getting a lot of attention lately.
    Also, what happened to using the arrow keys to increment the values up and down (crop pages dialog)? I used the arrows all the time in acrobat 7. Please bring that back! Prepress departments around the world will thank you.

    Not all of the listed email recipients on my contact form are receiving the inquiries.    Muse allows me to add several email addresses separated by a semi-colon (see below from Corey Wrote) but only one of the three addresses are receiving the contact form inquiries.
    Corey@Adobe wrote:
    Forms
    We've added a new Form widget to the widget library.
    You can easily configure the form to send the form submissions to multiple email addresses, and optionally redirect users to another page after submitting the form.
    You can add and remove fields, and style the form as you would other Adobe Muse elements. You can independently style the various states of the form, and form fields to provide a compelling user experience, with visual cues for error states, empty states, and more.
    Because Form processing requires server-side support, Adobe Muse forms are configured to work when published to Adobe Business Catalyst. If you make changes to your form and publish again, Adobe Muse will make the appropriate changes to your Adobe Business Catalyst forms.
    Adobe Muse will safeguard data when redesigning your Adobe Business Catalyst forms                
    If a field with no data submitted is removed, it will be deleted from the database.
    If a field that has submitted data is removed, it will be preserved in the database, but can be deleted from the Adobe Business Catalyst admin console if desired.         

  • When I attempt to access my IRA account on line, I get a message saying that the web site requires a client certificate. The certificates listed in the drop down dialog box don't get accepted, even though one is indicated as valid and good until 10/2014.

    When I attempt to access my IRA account on line, I get a message saying that the web site requires a client certificate. The certificates listed in the drop down dialog box don't get accepted, even though one is indicated as valid and good until October 2014. I contacted the IRA account managment company and they sais it's an Apple issue. Any ideas?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

  • When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified

    When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified because it is already in use ??? What am I doing wrong?

    settings -> iTunes & App Store
    click on apple ID listed there
    select Sign Out
    sign in with the proper account
    from then on, when the store ask for your password it should be with the correct ID

  • Validation and  Error Message Dialog Box

    hi,
    I created 2 items DateFrom and DateTo.....when User enter dates into these items I need validate these dates i.e DateTo should be greater than DateFrom
    if it is not so,,,,I need to Popup a Error message in Dialog Box.........
    and this Error should not terminate the Program.
    Thanks in Advanced
    regards,
    Radhika

    Radhika,
    You need to attach PPR event to the Date To column. In the event code in controller, you can validate do the validation and accordingly throw error on the page.
    Why do you need a pop up(javascript alert) for that?
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Lead import - Primary contact point not found for sales lead contact

    Hi All, I am looking for a solutions, This is Leads import : Concurrent program: Import Sales Leads - Any clues ??? Starting child process# 1 Sales Lead Import Child #1 started at 26-Mar-2008 10:21:46 Getting the saleasforce_id for the user ... Sales

  • Low vision disability and optimizing Mac OS X

    I need to replace my notebook and I am considering buying a Mac, but I have some concerns about Mac OS X. Specifically, is it possible to make the 3 red, yellow and green bubbles and other icons in the toolbar bigger? The zoom function in "Universal

  • Where can I buy a new 5D mark ii ?

    I want another new 5D Mark ii but am leary to buy from just any store. Can someone suggest a dealer, store, or website that they know is trustworthy?

  • SAP-HR data to multi-file mapping.

    Hi, I have to generate SAP-HR data into 5 text files. There are some separate fields that would be required in these files. So, what could be the mapping scenario that i can choose. I think it's feasible with IDoc & proxy both. What scenario i can ch

  • Syntax tree of a java source file

    i am making a java IDE. i need a way to display tree which contain the name of classes, import files, and variables used in the code as nodes.just like the tree make in JCreator and JBuilder.