Code works on new form not on older form

Hi
I am trying to change an existing form (add some code). I tested the code in a new form I create on my computer but when I do the same on a form supplied and created on a different computer the code won't work
What I see is that the form properties of a new form on my computer give Version 9.xxx  and on the form that was created on the other computer the Version is listed as 8.xx
Anyone know how I can convert the Version 8.xx file to a Version 9.xx? 
Or someone know how to set a EnclosedOption group from optional to required in Version 8? In version 9 I use  Gender.validate.nullTest="error" or Gender.validate.nullTest="disabled" but this doesn't work on the old Version 8.xx PDF File.
Help greatly appreciated!
regards
Meir

Jenn Hi
Two more questions if i may.
In the Dynamic version that you sent me we ended up with the entire ExclusionGroup with a large red box around it where in the static each option used to have the Red instead. And it seems to be a very thick red box.
1) Is there anyway to control the width of the Red Box?
2)I switched the version that you sent me back to "Static" and then in the verification options added "color fields" and this gives us the functionality that we originally wanted. 
The challenge with this solution is that the "page # of ##" on the master page doesn't render.
Any suggestions would be appreciated.
Regards
Meir R.

Similar Messages

  • Updated Acrobat and now Javascript calculations not working in new forms.

    I had created forms for my work that allowed me to calculate back dates from a given date to instruct the form users when components of a project were due. Below is the script I used- I am NOT a programmer and this was taken from another forum. It has worked successfully for 2 years in both Acrobat 9 & 10 and in various forms I have made.
    var strStart = this.getField("0VendorArtApproved-2wk").value;
    if(strStart.length)
      var dateStart = util.scand("mmm d, yyyy",strStart);
      var oneDay = 24 * 60 * 60 * 1000;
      var dueMillis = dateStart.getTime() - 21 * oneDay;
      var dueDate = new Date(dueMillis);
      event.value = util.printd("mmm d, yyyy",dueDate);
    else
      event.value = "NA";
    "0VendorArtApproved-2wk" is the field the previous date was taken from- this and the amount of days "- 21" changes from field to field. This form has 3 levels that it calulates dates from- which starts with a single initial date entered into a text box by the user. This allowed the user to see when different elements of a project were due. Sorry if this seems basic to all the Javascript masters but I am really very clueless on prgramming speak and only know what I have read from forums.
    The last version of the form that worked successfully was in Oct 13', I went to create a new form and copied these formula boxes to a new form and now half of them do no work.
    I have rechecked my formulas and formatting and cannot find and issue. They are exactly the same. One works and one does not. The only thing I can see different from the 2 forms is that I am certain there were 1 or 2 updates to the Acrobat software itself that could possibly have caused an issue.
    So I have 2 documents- 1 created in October 13' that works and one created today Jan 14' that does not work. They have the same formulas.
    Anyone aware of changes to Acrobat or errors in my formula that could have caused this? I am in version 10.1.9

    Applied this fix. There was an error in the NEW document. I redid the formulas in the NEW document and that did not work. Still had the same problem. 
    SO I went back and redid the formulas in the fields in the OLD document to the revision I needed and that worked. All I was trying to do was tweak the number of days between one element and the next in this area and there were a bunch of other revisions to the form so I figured it was easier to start fresh.  I will just make all the revisions to the OLD document- which will be a lot of work, but at least my formulas are working. Not an ideal fix but something must have been glitchy in the new document and I now have a workable form.
    I believe some kind of odd interaction happened when I copy and pasted the fields from document to another.
    Thank you so much for your help! I am days away from maternity leave so I had to get this figured out fast!

  • Code working on Windows but not in Unix

    Hello,
    I try to test a https connection. My method is to accept all kind of certificat.
    Under Windows this code works well and return true when Itest the https connection but under Unix it returns false.
    Why if I accept all certificat , that does not work?
    Thank for any light.
          * Test the web connection
          * @param keystorePath
          * @return the result TRUE|FALSE
         public boolean testWebConnection(String keystorePath) {
              boolean result = false;
              try {
                   String urlname = "https://" + serverConfig.getLocalHostName() + ":8443/";
                   URL url = new URL(urlname);
                   SSLContext sc = SSLContext.getInstance("SSL");
                   System.setProperty("javax.net.ssl.trustStore", keystorePath);
                   sc.init(null, null, new java.security.SecureRandom());
                   // sc.init(null, trustAllCerts, new java.security.SecureRandom());
                   HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
                   HttpsURLConnection con = (HttpsURLConnection) new URL(urlname).openConnection();
                   con.setHostnameVerifier(DO_NOT_VERIFY);
                   if (!con.getHeaderFields().isEmpty()) {
                        con.disconnect();
                        description = LanguageText.getHTTPSConnectionSuccessMessageLabel();
                        return true;
                   } else {
                        description = LanguageText.getHTTPSConnectionFailMessageLabel();
                        System.setProperty("java.protocol.handler.pkgs", "javax.net.ssl");
                                            url = new URL("http://" + serverConfig.getLocalHostName() + ":8080");
                        URLConnection conn = url.openConnection();
                        if (!conn.getHeaderFields().isEmpty()) {
                             description = description + "\n" + LanguageText.getHTTPConnectionSuccessMessageLabel();
                             result = true;
                        } else{
                             description = description + "\n" + LanguageText.getHTTPConnectionFailMessageLabel();
              } catch (MalformedURLException mue) {
                   Logger.logException("The url is not valid", mue);
              } catch (java.net.ConnectException ce) {
                   description = description + LanguageText.getHTTPNotConnectMessageLabel();
                   Logger.logException("Cannot connect", ce);
              } catch (IOException ie) {
                   Logger.logException("The url is not valid", ie);
              } catch (NoSuchAlgorithmException nsae) {
                   Logger.logException("Problem with the algorithm", nsae);
              } catch (KeyManagementException kme) {
                   Logger.logException("Problem with the key management", kme);
              return result;
          * Method to not verify the hostname
         private static final HostnameVerifier DO_NOT_VERIFY = new HostnameVerifier() {
              public boolean verify(String hostname, SSLSession session) {
                   return true;
         };

    1) Are you absolutely sure that the keystorePath variable contains the correct path to
    your truststore on the unix machine?
    2) Does the truststore contain the certificate of the server you are trying to connect to?
    3) Im guessing that your commented-out line using the trustAllCerts refers to a blank
    or promiscuous TrustManager implementation that does not check your truststore. Does the server
    work on the unix machine using the trustAllCerts? If it does, then that means there is something
    wrong with your truststore (possibly one of the two above mentioned items).

  • How can i change the code in when new form instance trigger using JDAPI

    Hi all,
    Can anyone tell me how can i use JDAPI to modify the when-new-form-instance trigger in all my forms,coz we have around 500 FMB's ,if this is possible by using jdapi it will be better for us..
    Thanks in advance..
    Najeeb

    Hi Najeeb,
    The code I've given you should cover the basic steps - you will need to have a basic knowledge of Java if you want to use the JDAPI, there's no way around that unless you go and buy one of the off-the-shelf products for this kind of thing (I think there's one called orcltoolbox..?)
    I've written an application that does all kinds of things to Forms specific to our needs, so it's a bit tricky to just pull out the code you need, but again, the basics will be:
    String formName="C:\some_dir\some_form.fmb";
    FormModule mForm=FormModule.open(formName);
    Trigger myWNFITrig=Trigger.find(mForm,"WHEN-NEW-FORM-INSTANCE");
    String myText=myWNFITrig.getTriggerText();
    And there you have your trigger text, to do with what you please. You could put this code in the main() method of one class if you want to keep things really simple - but see how you get on, if you have any more specific questions, do come back.
    Eric - that's a very good point about using Regular Expressions. I haven't used them in my JDAPI app because I wanted to keep all my .fmbs 6i-compatible for the short-term, and a posting I saw somewhere recommended sticking to Java 1.3. Which rules out the regex facility, which only appeared in Java 1.4. Now, though, I think I needn't have worried - it surely shouldn't matter which version of Java I use to make the changes to the .fmbs. My stupid!
    James

  • Code works in DW8 but not DW CS3

    Why would the following code work in Dreamweaver 8 but not in
    Dreamweaver CS3?
    Expires in
    <select name="mnuExpires" id="mnuExpires">
    <option value="0"
    >0</option>
    <option value="30" <% if true then
    response.write("selected") %>
    >30</option>
    <option value="60"
    >60</option>
    <option value="90"
    >90</option>
    <option value="120"
    >120</option>
    </select> days.
    Dreamweaver CS3 shuts down after throwing an error: "Adobe
    Dreamweaver CS3 has encountered a problem and needs to close. We
    are sorry for the inconvenience." Event ID 1000 appears in the
    Application Events Log.

    Brad Boyink wrote:
    > Dreamweaver CS3 shuts down after throwing an error:
    "Adobe Dreamweaver CS3 has
    > encountered a problem and needs to close. We are sorry
    for the inconvenience."
    > Event ID 1000 appears in the Application Events Log.
    http://www.adobe.com/go/kb402776
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • CSS code works in dreamweaver but not in browsers

    I've scaled this code down to the very basics in attempts to find where my error is and I can not figure out what is going wrong here. The code works fine in the dreamweaver CS5 preview, but will not display in browsers properly.
    My first 2 classes are working fine, but my 3rd will not work in the browsers. I have posted this page here http://www.vaporapparel.com/color.html
    The class for the beginning paragraph works fine, the class for the headers works fine, but my 3rd class for the sub-text does not take effect outside of dreamweaver preview. Below the sub-text on this page I posted a screenshot of my css sheet. If you can help me out, please do... It is greatly appreciated
    Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Vapor Apparel</title>
    <link href="color.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div align="center">
        <table width="600">
            <tr>
          <td colspan="6">
                    <p class="color">Due to display variation across monitors, we have associated all Vapor Apparel colors with the closest associated Pantone value based on the solid coated Pantone library. Please note that these Pantone values are merely close approximations of the actual Vapor Apparel color. If exactness of color is an issue, please contact your Vapor Apparel distributor for fabric swatches.
                    </p>
                </td>
            </tr>
              <tr>
              <td width="100" class="ph3">Basic-t</td>
              <td width="100"> </td>
              <td width="100"> </td>
              <td colspan="3" width="300" class="ph3">Micro Performance</td>
              </tr>
            <tr>
                  <td width="120" class="pantones">Blizzard Blue<br />
                       November White<br />
                    Alpine Spruce<br />
                    Pacific Blue<br />
                    Safety Orange<br />
                    Safety Yellow<br />
                    Terra Mesa<br />
                    Steel<br />
                    Hydro<br />
                    Sand<br />
                    Red
                </td>
                  <td width="20"> </td>
                  <td width="160" class="pantones">
                    278C<br />
                    2C<br />
                    5793C<br />
                    534C<br />
                    811C<br />
                    809C<br />
                    1535C<br />
                    7C<br />
                    549C<br />
                    400C<br />
                    187C
                </td>
                  <td width="120"> </td>
                 <td width="20"> </td>
                <td width="160"> </td>
              </tr>
            <tr>
                <td colspan="6"><img src="Screen shot 2011-04-15 at 3.33.27 PM.png" width="595" height="499" />     
          </table>
    </div>
    </body>
    </html>

    You're missing a closing bracket in your .color CSS.
    .color {.....
    text-align: center;
    .colortitles {
    font-family: Verdana, Geneva, sans-serif;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • JMF code working under linux but not windows XP

    Hello everyone,
    I'm currently working on a nice cross-platform project involving sound producing. I decided to take a look at JMF and test it a bit to know if its features can suit me. I tried to make it works under windows, using a very simple sample of code. The system seems to play the sound as some console output detects the start and the end, but all i hear is a very short noise ( 1/2second ) like a "CLIK" and nothing else. I tested the code under linux, using the same computer and it works just fine, playing the same wave nicely and entirely.
    some info:
    -i used the cross platform JMF, no performance pack ( i tried it , but still no result )
    -the code just opens a file dialog and plays the selected file
    -the selected file was always a very simple .wav
    -i did not use system classpath variables because i don't like it, i rather use local classpath ( which works fine too, no doubt about it )
    -i tested this little soft on 2 other computer using windows XP, and still got the same result.
    Please, have you got an idea about what's going on ?
    Thanks a lot for any answer!
    Maxime - Paris . France
    Code Sample:
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import javax.media.*;
    import javax.swing.JDialog;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class JMFSound extends Object implements ControllerListener {
         File soundFile;
         JDialog playingDialog;
         public static void main (String[] args) {
              JFileChooser chooser = new JFileChooser();
              chooser.showOpenDialog(null);
              File f = chooser.getSelectedFile();
              try {
                   JMFSound s = new JMFSound (f);
              } catch (Exception e) {
                   e.printStackTrace();
         public JMFSound (File f) throws NoPlayerException, CannotRealizeException,     MalformedURLException, IOException {
              soundFile = f;
              // prepare a dialog to display while playing
              JOptionPane pane = new JOptionPane ("Playing " + f.getName(), JOptionPane.PLAIN_MESSAGE);
              playingDialog = pane.createDialog (null, "JMF Sound");
    playingDialog.pack();
              // get a player
              MediaLocator mediaLocator = new MediaLocator(soundFile.toURL());
              Player player =     Manager.createRealizedPlayer (mediaLocator);
    player.addControllerListener (this);
    player.prefetch();
    player.start();
    playingDialog.setVisible(true);
         // ControllerListener implementation
         public void controllerUpdate (ControllerEvent e) {
    System.out.println (e.getClass().getName());
         if (e instanceof EndOfMediaEvent) {
                   playingDialog.setVisible(false);
                   System.exit (0);
    Message was edited by:
    Monsieur_Max

    Hello everyone,
    I'm currently working on a nice cross-platform project involving sound producing. I decided to take a look at JMF and test it a bit to know if its features can suit me. I tried to make it works under windows, using a very simple sample of code. The system seems to play the sound as some console output detects the start and the end, but all i hear is a very short noise ( 1/2second ) like a "CLIK" and nothing else. I tested the code under linux, using the same computer and it works just fine, playing the same wave nicely and entirely.
    some info:
    -i used the cross platform JMF, no performance pack ( i tried it , but still no result )
    -the code just opens a file dialog and plays the selected file
    -the selected file was always a very simple .wav
    -i did not use system classpath variables because i don't like it, i rather use local classpath ( which works fine too, no doubt about it )
    -i tested this little soft on 2 other computer using windows XP, and still got the same result.
    Please, have you got an idea about what's going on ?
    Thanks a lot for any answer!
    Maxime - Paris . France
    Code Sample:
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import javax.media.*;
    import javax.swing.JDialog;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class JMFSound extends Object implements ControllerListener {
         File soundFile;
         JDialog playingDialog;
         public static void main (String[] args) {
              JFileChooser chooser = new JFileChooser();
              chooser.showOpenDialog(null);
              File f = chooser.getSelectedFile();
              try {
                   JMFSound s = new JMFSound (f);
              } catch (Exception e) {
                   e.printStackTrace();
         public JMFSound (File f) throws NoPlayerException, CannotRealizeException,     MalformedURLException, IOException {
              soundFile = f;
              // prepare a dialog to display while playing
              JOptionPane pane = new JOptionPane ("Playing " + f.getName(), JOptionPane.PLAIN_MESSAGE);
              playingDialog = pane.createDialog (null, "JMF Sound");
    playingDialog.pack();
              // get a player
              MediaLocator mediaLocator = new MediaLocator(soundFile.toURL());
              Player player =     Manager.createRealizedPlayer (mediaLocator);
    player.addControllerListener (this);
    player.prefetch();
    player.start();
    playingDialog.setVisible(true);
         // ControllerListener implementation
         public void controllerUpdate (ControllerEvent e) {
    System.out.println (e.getClass().getName());
         if (e instanceof EndOfMediaEvent) {
                   playingDialog.setVisible(false);
                   System.exit (0);
    Message was edited by:
    Monsieur_Max

  • ITunes not working and new downloads not happening

    Hello,
    A few weeks ago, I performed system upgrade which included the new iTunes, Quicktime, and Security update. Afterwards, iTunes quit working; I got a message saying "could not open application because it does not exist" (maybe not exactly what it said). I tried removing iTunes, removing iTunes helper, restarting....here is where further problems started, because now my computer won't restart, shut down, or turn off unless I do it by holding down the power button. So I held down the power button to restart and now I can't open or empty the trash, the "about this mac" screen won't open, system preferences won't open, no downloads whatsoever will run or attach, and of course iTunes still won't work.
    My music folder is still there with all my music, so I feel ok there / I'm just looking for any helpful advice on anything i can do...or if I should just go see a pro.
    Any help is greatly appreciated.
    Thanks

    Paul hello,
    Welcome to the Apple Discussions as you are not running a MAC your question would be best served in the special
    iTunes for windows forum. Click here
    repost your question there Paul ... copy and paste.
    good luck ... TP

  • Code Works in Flash 7 not Flash 8

    I am working on updating an interactive tutorial with
    navigation buttons. When a person moves back to a certain frame the
    code below removes the buttons (movie clips). It works in Flash 7
    with AS 1, but freezes up in Flash 8 AS 2. Any suggestions

    Should I declare the variable before?
    Like the following:
    var totalNumberButtons = 25;

  • Ipad2 and mobile me not working- Brand new - Mail Not Appearing at all

    Not been able to sync mobile me contacts - Mail does not show up on the account screen andgeerally floating around in limbo.  Been on the phone with support for 2 hours and at the genius bar - What's going on Apple??
    Why can I not sync my Ipad 2 that I opened last night with mobile me???

    It's a possible workaround for a problem I was having, you clearly don't have mobileme, and so probably didn't try the fix I suggested. . .
    I hope this helps someone. I'm sure it will.
    What free / cheap alternative allows fool proof screen sharing and remote login, syncs my bookmarks, addressbook, & mail accross 2 laptops, 2 towers and my phone? offering online viewing for each as well offering off site backup for personal data / and remote hosting of files with public download access (for clients).
    All in one simple package....
    I'm curious as my account is up for renewal in a month...
    Thanks

  • Urgent! form with webutil works with IAS but not with the 9iDS

    I'm configuring a standalone PC on which i can run forms as if they were running with an IAS. Now we have a form which uses webutil. This form runs fine in our IAS-environment, but fails on the standalone PC.
    On the standalone machine I'm using 9ids (9.0.2) to run this form. When the form is started I'm getting an error: FRM-40734 Internal error PL/SQL error occurred. This is caused by calls to the webutil-routines client_win_api_environment.get_windows_username and client_win_api_environment.get_computer_name
    (When I comment out these calls, the form doesn't return an error)
    Below I've included the messages on the Java Console. I can't see anything wrong:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator\Oracle Jar Cache
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/webutil.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/jacob.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/hsd65java/hst65.jar from JAR cache
    connectMode=HTTP, native.
    Versie van Forms-applet is: 902110
    2004-jan-28 11:51:50.906 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUI[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUL[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.625 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-jan-28 11:51:51.640 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.640 WUT[loadSettings()] local properties file loaded
    2004-jan-28 11:51:51.640 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.640 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.656 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    I hope anyone can help me with this problem. I0m getting a bit desperate.....

    I've tried your suggestion and the newly created form works on both environments (the standalone PC with the iDS and the "normal" evironment with an IAS). Then I added another button to this newly created form with the code "message(client_win_api_environment.Get_Windows_username);"
    This also works in the new form. Then I added some debugging code to the webutil.pll and discovered that when I use the above code in the new form everything is ok, but when I use the call client_win_api_environment.Get_Windows_username the following exception is raised in the gew_windows_username-procedure: CLIENT_WIN_API.NOT_AVAILABLE
    I've compared the newly created form with the original from and can't discover major differences between the two forms. Do you have another idea where to look?
    I noticed I forgot to mention both forms are created with oracle designer.

  • Code works in html not in jsp y

    the bello code works in html but not in jsp y
    <img src="images/logo.gif">this code is well running in html
    when i saved it as .jsp
    it doesn't works ie the image is not displaying y. could u help me

    I tried it works fine in both cases you just check out your src path.

  • 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502

    After migrationg my form from 6i to 10g I am getting the 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502 err msg. the field is a date field and should be automatically populated with sysdate- 365. but when i open the form to run it is not populated automatically. i have to enter the date manually. the code in the NEW-FORM-INSTANCE trigger is as follows:
    declare
    record_id RecordGroup;
    error_cd number;
    begin
    -- Set the main window properties
    set_window_property(forms_mdi_window, window_state, maximize);
    -- Menu Security
    set_menu_items;
    select sysdate - 365
    into :start_date
    from dual;
    end;
    I check the property palate for the start_date field and it looks ok. the form is working fine in windows but the above message is comming out while running the form in Unix.
    Any help will be greatly apreciated.

    First thing, try qualifying the start_date with the block name
    declare
    record_id RecordGroup;
    error_cd number;
    begin
    -- Set the main window properties
    set_window_property(forms_mdi_window, window_state, maximize);
    -- Menu Security
    set_menu_items;
    select sysdate - 365
    into :block.start_date
    from dual;
    end;

  • Submit button doesn't work after moving form to another parent container

    I'm re-arranging the page using jquery. When I moved a div or table containing a form to another div, the submit button doesn't work anymore. Using the emulation mode under the Inspect Element feature of IE, the same code works for IE9 but not under IE10
    and up.
    Any ideas?
     

    I will steal the answer that George gave to a similar question, because it turns out it is applicable here as well:
    George Johnson  on Feb 23, 2012 11:17 AM 
    When you distribute a form, it replaces the email address that you've set up in a submit button with the email address you have specified in "Edit > Preferences > Identity > Email Address". So before you initiate the Distribute Form process, change the email address there to the one you want to use.
    It is a ridiculous solution, because it means I have to make the identity of my personal copy of Acrobat the email address of someone else or some other department when I make the form, but whatever -- at least the form sends now.

  • Java calendar works in IE but not in Firefox

    This Java code works in IE but not in Firefox - any ideas - tks
    <pre><nowiki><TABLE bgColor=#ffffff border=1 cellPadding=0 cellSpacing=3 id=calendar style="DISPLAY: none; POSITION: absolute; Z-INDEX: 4; left: 28px; top: 365px">
    <TBODY>
    <TR>
    <TD colSpan=7 vAlign=center> <!-- Month combo box -->
    <SELECT id=month onchange=newCalendar()>
    <SCRIPT language=JavaScript>
    // Output months into the document.
    // Select current month.
    for (var intLoop = 0; intLoop < months.length; intLoop++)
    document.write("<OPTION " + (today.month == intLoop ? "Selected" : "") + ">" + months[intLoop]);
    </SCRIPT>
    </SELECT>
    <!-- Year combo box -->
    <SELECT id=year onchange=newCalendar()>
    <SCRIPT language=JavaScript>
    // Output years into the document.
    // Select current year.
    for (var intLoop = 1900; intLoop < 2028; intLoop++)
    document.write("<OPTION " + (today.year == intLoop ? "Selected" : "") + ">" + intLoop);
    </SCRIPT>
    </SELECT>
    </TD>
    </TR>
    <TR class=days> <!-- Generate column for each day. -->
    <SCRIPT language=JavaScript>
    // Output days.
    for (var intLoop = 0; intLoop < days.length; intLoop++)
    document.write("<TD>" + days[intLoop] + "</TD>");
    </SCRIPT>
    </TR>
    <TBODY class=dates id=dayList onclick="getDate('')" vAlign=center> <!-- Generate grid for individual days. -->
    <SCRIPT language=JavaScript>
    for (var intWeeks = 0; intWeeks < 6; intWeeks++)
    document.write("<TR>");
    for (var intDays = 0; intDays < days.length; intDays++)
    document.write("<TD></TD>");
    document.write("</TR>");
    </SCRIPT>
    <!-- Generate today day. --></TBODY> <TBODY>
    <TR>
    <TD class=today colSpan=5 id=todayday onclick=getTodayDay()></TD>
    <TD align=right colSpan=2><A href="javascript:HideCalendar();"><SPAN style="COLOR: black; FONT-SIZE: 10px"><B>Hide</B></SPAN></A></TD>
    </TR>
    </TBODY>
    </TABLE></nowiki></pre>

    Document.all doesn't work in Firefox, you need to use document.getElementById().<br />
    See https://developer.mozilla.org/En/DOM/document.getElementById
    <pre><nowiki> var parseYear = parseInt(document.all.year [document.all.year.selectedIndex].text);
    var newCal = new Date(parseYear , document.all.month.selectedIndex, 1);
    </nowiki></pre>

Maybe you are looking for

  • Error in post process event handler

    We should write a post process event handler that updates the manager field. So, I used the following code to update the manager field when a user gets created: Code: public EventResult execute(long processId, long eventId, Orchestration orchestratio

  • Why can't I get swipe the page to work?

    I have my MAC pro for few months and are continually adjusting to its many features.  I recently discovered the swiping the page feature.  I have tried all of the "finger" options & none of them have worked.  The page feels like it wants to move, but

  • XMLSequence: inconsistent datatypes?

    Hello, I can't get data from XMLsequence into a CLOB using getClobVal(). With the code below I get this error: The following error has occurred: ORA-06550: line 7, column 17: [the getClobVal() statement] PL/SQL: ORA-00932: inconsistent datatypes: exp

  • Unable to access google or amazon ...

    I teach in an FE college where we have a suite of G5s currently running 10.4.5, and we have found Internet access to be painfully slow in general, and next to impossible for two sites in particular: google.co.uk and amazon.co.uk. We are accessing the

  • Dreamweaver CS6 (non-cloud) won't "put" files

    Recently updated Dreamweaver off Adobe site, from CS4 to CS6, Windows 8.1. Read many of this same complaint. My "About Dreamweaver" screen says CS6, version 12.0 Build 5861. I am connected to my remote server and it appears to "put" but doesn't. Need