Javascript FORM works standalone not in a region?!

Running Appex ver2
I've got an java applet on a page and is looking at using javascript to get/set parameters on the applet.
I can get the applet instantiated and the editlive javascript library exists on the server and may be/is loaded see below
<head>
<script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
<script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
/*Global JS Variables*/
var htmldb_Img_Dir = "/i/";
//-->
</script>
<link rel="stylesheet" href="/i/css/core.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/i/themes/theme_10/theme_V2.css" type="text/css" />
<script src="/i/ris/editlivejava.js" type="text/javascript"></script>
</head>
The following code snippet works on a htmlpage by itself but as a region nothing happens when pressing the button to transfer content to the applet via javascript.
Is there special consideration when using FORM tag on an appex page?
Anything else I should know about ?
Thanks for any hints
Pete
<FORM name = exampleForm>
<P>EditLive! for Java contents will be loaded from here</P>
<!--Create a textarea to load the applet contents from-->
<P>
<TEXTAREA name="bodyContents" cols="40" rows="10"><p>Content to be loaded</p></TEXTAREA>
</P>
<P>Click this button to set applet contents</P>
<P>
<INPUT type="button" name="button1" value="Set Contents"
onClick="editlivejava1.SetBody(escape(document.exampleForm.bodyContents.value));" >
</P>
<!--Create an instance of EditLive! for Java-->
<SCRIPT language="JavaScript">
<!--
var editlivejava1;
editlivejava1 = new EditLiveJava("eljava",450 , 275);
editlivejava1.setDownloadDirectory("http://10.200.1.120:7779/html/");
editlivejava1.setLocalDeployment(false);
editlivejava1.setConfigurationFile("http://10.200.1.120:7779/html/el_guiconfig.xml");
editlivejava1.show();
-->
</SCRIPT>
</FORM></td>

Running in firefox - looking at javascript console
Error: document.exampleForm has no properties
Source File: http://<server>:7779/pls/htmldb/f?p=103:6:17930796456766245736::
Line: 1
Anyone knows what this is means?
TIA
Pete

Similar Messages

  • Forms: working and not working. A serendipity question?

    Designed a 4 pp form monthly report.
    (Extended features in Adobe Reader are already applied)
    Eight persons will fill it in order to sent to specific clients who only will read it
    But only two say it works. And told that sometimes the information could no be saved...
    Doing this in Pc and Mac.
    At the same time other people (in our office and some friends) said it worked...
    How to detect the problem?
    They updated Acrobat Reader version 8.
    Does the end user need to hace Reader 8?
    Is necessary to save the form in some way before sending it to the end user?
    (Some body in this forum proposed as a solution to print as PDF. What does it mean?)
    Perhaps do they need Reader extensions?
    Of course, they want to come back to MWord, losing the time invested in the form... and losing the advantages offered by Acrobat.
    Thank you.

    First step should be to compare the environments of the users, starting with:
    - Operting System (Windows/Mac), and version (XP,Vista, Windows 7, etc.)
    - Reader version (also making sure they're actually using Adobe Reader, and not some 3rd-party application, like Preview on Mac)

  • Newsletter sign up form works in Firefox but not IE??

    Hi, I have a website I am designing using dreamweaver CS3 and I added a newsletter sign up form using a 3rd party code. The form on the website looks perfectly fine in Firefox but the form fields are not present in IE. Does anyone know why this may be happening? The site is www.physioworks4me.com and I apologise in advance for my coding as I am just learning and not very good at this yet. I took the code that was supplied for the sign up form, opened up a brand new 'plain' html doc in dreamweaver, pasted the code and tried it. It seemed to work fine in both IE and FF....but when I use my template for the webpage I made, it will not work. I am using a XHTML page, could this be a problem with the javascript used for the sign up form? Thanks in advance for your help...

    The first suggestion you'll receive from most here is to clean up your code
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.physioworks4me.com%2F&charset=%28detect +automatically%29&doctype=Inline&group=0
    Also, you may have quicker results changing to a HTML Transitional doctype.

  • Javascript after button click not working

    The problem is on button submit I wanted a javascript prompt which does not work in the portal.
    The code is like this
    privatevoidbtnSubmit_Click(objectsender, System.EventArgs e)
    Page.RegisterClientScriptBlock("alert","<script language='javascript'>alert('Thank you! Your form was successfully submitted.');</script>");
    Could you explain this.
    Thanks

    Hi guys,
    try the following code.
    page_load code
    ===============
    YourButtonName.Attributes.Add("onClick", "JsFnName()");
    Javascript code in .aspx
    ========================
    <script language="javascript">
    function JsFnName()
    alert('Thanks you your form was succesfully submitteid');
    </script>

  • In dev server my payment advice form f110_prenum_chc  is not working

    hi,
    friends i need urgent help.
    1) i have copied f110_avis_in frm 000 client to 200 client with form name
       z_prenum_dup.
    2) i have copied f110_prenum_chc frm 000 client to 200 client form name
      zf110_prenum_chc1.
    3) then i modified my both forms in 200 saved assigned TRs and
    transported frm DEV server to PRD server(client 700).
    4)in dev server 200 client my both forms are working
      but in prd server 700 client my form cheque z_prenum_dup is
      working but payment advice form zf110_prenum_chc1 is
    not working.
    5) but i can see my both forms r their in 700 prd server in se71 t.code.
    6) if i run f-58 tr.code and by switching on debug mode i can see my
       cheque form but not payment advice form.
    7) if i run in 200 client i can see my both forms.
    can any body plz help me out of this issue.

    Dear,
       I will be able to put some points, if you can give me some more idea about ur problem,
    1, Does system giving any error..?
    2, Can you see a preview..?
      As I understood, it must not have any problem in transportation.
      You can also check with Respective functional consultant whether he has done with required customization in NACE..?
      One more thing you can do is,
      open a program RSNAST00 and put break point at "  PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode", here you can check at runtime ( While in debugging mode) the value of field TNAPR-FONAM, this value must be your SmartForm.  If it is not the case then, there is problem with NACE settings and contact your functional counterpart.
    Hope it's helpful .......Enjoy.
    Regards,
    Chetan

  • Acrobat 9 Form works via email but not uploaded to website

    Hi all. I need to be able to have people go to a url, fill out a form and then e-mail it to the company. The e-mailing part works perfectly if I e-mail the form to myself but when it's uploaded to the company's website nothing happens. Is it possible to have it filled out on the website and e-mailed or do I have tobuild a conventional online form to do this? The company already has an attractive form which we'd prefer to use but I'm thinking I need to build a regular html form instead. Could someone please confirm or (hopefully) deny this conclusion? If it IS possible to make the pdf work on a website I'd appreciate any and all clues as to how to do so. Thanks!

    If the people are filling out the forms with Reader, unless you set up form in Acrobat to Confer Rights on Reader they won't be able to do wnything with the form and print it. It can't be saved nor can it be meailed and be filled out.
    Follow these steps:
    Open Acrobat
    Open form
    Go to advanced menu
    Choose extend Features in Reader (as described in Acobat 9.x for Mac).
    Once menu choice is open choose what you want to allow.
    Make sure you form is perfect because once you confer rights your no longer allowed to edit the form.
    you will have go back and may an unrights protected copy; before you can edit the form .
    (Please note information is given by an Experienced User of Acrobat. I am not an employee of Adobe.)

  • Designer 7.0  form working with Reader 7.0.5 but not Reader 7.0.8

    Hello everyone,
    I was wondering if anyone has had a problem with a formed created using Designer 7.0 that was working with Reader 7.0.5 but no longer functions with Reader 7.0.8?
    The form consists of a numeric textbox N1 and 2 checkboxes C1[0] and C1[1].
    All code is done using FormCalc.
    Here is the situation: if the number in the numeric box is blank or not greater then zero, then neither check box can be checked. Both check boxes can not be checked at the same time. If the value in the numeric box is greater then zero, the checkboxes may or may not be checked (again both can not be checked at the same time).
    N1 has code the following code in its exit event:
    if (($.isNull) or ($.rawValue le 0)) then
    C1[0].rawValue = 0 //if not positive value, checkboxes must be blank
    C1[1].rawValue = 0
    endif
    C1[0] has the following code in its click and exit event
    if (C1[0].rawValue == 1) then
    C1[1].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    $.rawValue = 0 //uncheck if N1 is not positive
    endif
    C1[1] has the following code in its click and exit event
    if (C1[1].rawValue == 1) then
    C1[0].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    C1[1].rawValue = 0 //uncheck if N1 is not positive
    endif
    The above code worked exactly as described when the form was used in Reader 7.0.5.
    Under Reader 7.0.8 the following happens:
    if N1 is blank or less then or equal to zero, both checkboxes can be checked at the same time (this should not happen at all) but neither can be unchecked
    if N1 is positive the code (and checkboxes) function as described.
    I am not sure if this is a Designer issue or a Professional/Reader issue, so I am posting this here as well as in the other 2 spots.
    Any help is greatly appreciated,
    Ben

    Chris,
    Thank you for the sample you provided. First, I must apologize for not mentioning that there was additional code in the Click event. I thought I had removed it from my form, but apparently I had not.
    I have compare the sample you provided to my form. I noticed several differences between them. First was that you used Designer 7.1 to create your sample, whereas I used Designer 7.0. I do not believe that this will have an impact, although it is possible. Also, in your sample, then click and exit events both need to contain the same "check" code. Your sample has one IF statement in the click event and one IF statement in the exit event. To match my form code, the Click and Exit events together need to contain both IF statements. My form originally contained the code in the Change event also.
    i.e. C1[0] has the following code in both its Click, Exit and Change events
    if (C1[0].rawValue == 1) then
    C1[1].rawValue = 0 //C1[0] and C1[1] can not both be checked
    endif
    if ((N1.isNull) or (N1.rawValue le 0)) then
    $.rawValue = 0 //uncheck if N1 is not positive
    endif
    and similarly for C1[1].
    Based off your sample, I did some more digging and found that the problem is caused by the Change event for the checkboxes. I have removed the code from the Change event and now the form works as desired.
    So, if the Change event has NO code, and if the Click and Exit events for the checkboxes have both IF statements the overall behavior (as specified earlier) is identical (and what I am looking for) for both Reader 7.0.5 and 7.0.8.
    Now, if I add the IF statements to the Change event (without removing them from Click and Exit), the behavior in Reader 7.0.5 does not change (works as specified). In Reader 7.0.8, the checkboxes can not be unchecked if N1 is blank.
    So my questions now become:
    1) What has actually changed between Reader 7.0.5 and 7.0.8 (i.e. more detailed description than the generic release notes)?
    2) Which one actually exhibits the correct behavior?
    3) If this is a change to the event model, is this documented anywhere?
    Thanks again,
    Ben

  • Infopath form load rule not working in browser forms but works on Client

    Hi
    I am working on an Infopath form and there are rules on form load. The form load checks for a value in a list, if the username() matches the one in the list, then the form would change its view.
    It works when I open it on client, but on the browser it fails.
    Have anyone encountered such an issue.

    Check below:
    http://stackoverflow.com/questions/16222681/infopath-rule-is-not-running-when-checking-sharepoint-list-field-value
    Ensure that "Include data for the active form only" was checked (I had to separate this field into another data connection because that box could not be checked for another field I was using), and
    Ensure that in the rule I was selecting from the "dataFields" folder under the data connection instead of "queryFields"
    http://sharepoint.stackexchange.com/questions/28554/infopath-form-load-rules-not-working
    if I edit the Infopath form on Infopath 2007, it seems that the rules for the load form will be visible if created.
    This look like a bug. Here are the steps below that will lead you to the bug:
    Step 1: Open the infopath form in Infopath 2010 and create 6 rules for Form Load and Save it as a file.
    Step 2: Open that infopath form that you created in Step 1 in InfoPath 2010 and go to the
    Form Load section. You will only see the first 5 rules. The 6th rules that you created for Step 1 will just "vanish". Now, close that infopath form.
    Step 3: Open that infopath form that you created in step 1 in InfoPath 2007 and select Tools > Form Option. In the
    Open and Save category, click the Rules button and add a new rule in it and save it.
    Step 4: Open that infopath form that you modify as describe in Step 3 in InfoPath 2010. That 6th rule will be visible.
    Therefore, there might be a bug in InfoPath 2010 that restrict Rules to a max of 5 in Form Load and thus if anyone open that form in SharePoint, only the first 5 rules will be executed.
    If this helped you resolve your issue, please mark it Answered

  • Forms work on my Mac but not on my PC? "Operation is not permitted"

    I created a form but it tells the user "operation is not permitted" when the submit button is pressed and also doesn't allow the user to access the any of the field to type their information in.
    It is very frustrating for me as I need the form to work so I can upload it to the clients website and get paid. It is particularly frustrating when it works on my Macbook Pro but wont work on my PC or the millions of PC out there.
    This is how I made the PDF. And I also made using the same process a test, blank page PDF with 1 text field and 1 submit button and nothing else.
    1. Mad the form in Illustrator
    2. Exported it as PDF
    3. Made the form fields
    4. Made the Submit button
    5. Enabled usage rights for Adobe Reader
    6. Saved file
    7. Uploaded the file
    8. Works on Mac and not on PC
    Can someone please help. I have spent numerous hours and searches on it, It's driving me crazy.
    Anyone from Adobe care to help? Probably not.

    Looks like there is something wrong with my PC.
    The PDF form worked fine on the clients computer. It seems like the only place it wouldn't work is on my PC. So I am assuming it's a problem with my computer.
    Don't know what it could be though, I have the latest version of reader and it's a new computer.
    From one problem to another...story of my life...:)
    At least it's working at clients end.
    Thanks for trying to help MarkATS

  • Is it still the case that the Muse CC Forms widget will not work properly unless you have Business Catalyst?

    I am looking into options for our next office website redesign.  We will definitely need a forms function.  I downloaded the Muse CC free trial and went through all of the tutorials.  The video on the forms (Contact Form) stated that the forms widget would not work or would not work properly if you do not have Business Catalyst.  I'm hoping that has changed since the video was created.
    Is this still true that you need to purchase the Business Catalyst product for Muse CC form widgets to work correcty??? 

    Piruki have you tried utilizing the Previous version option within the Creative Cloud Desktop application?  You can find additional details under the install Previous version section of CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

  • Contact form response message not working

    So i am trying to move the location of my response message after the send button has been hit by the user. It comes up at the top of the screen but I want it to appear in a div just below. I read that using javascript should work. Here's what ive put:
    PHP:
    <?php
    if ($_POST){
    if (!filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)){
    $message="Please provide a correct email address";} else {
      $fname = strip_tags($_POST['fname']);
      $sname = strip_tags($_POST['sname']);
      $telephone = strip_tags($_POST['tel']);
      $email = $_POST['email'];
      $comments = strip_tags($_POST['comments']);
      $to = '[email protected]';
      $subject = 'Contact form submitted.';
      $body = $fname. "\n". $sname. "\n". $comments;
      $headers = 'From: ' .$email;
      if (mail($to, $subject, $body, $headers)) {
      echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
      $message = 'Sorry an error occurred. Please try again later.';
    ?>
    <?php echo "<p style='color:red'>$message</p>"; ?>
    Form:
    <div class="contact_form">
    <table class="table">
      <tbody>
    <form id="contactForm" action="" method="post">
        <tr>
          <th scope="row">First Name:</th>
          <td><textarea name="fname"  cols="100" rows="3" id="fname"></textarea></td>
        </tr>
        <tr>
          <th scope="row">Surname:</th>
          <td><textarea name="sname" cols="100" rows="3" id="sname"></textarea></td>
        </tr>
        <tr>
          <th scope="row">Email Address:</th>
          <td><textarea name="email" cols="100" rows="3" id="email"></textarea></td>
        </tr>
        <tr>
          <th scope="row">Telephone Number:</th>
          <td><textarea name="tel" cols="100" rows="3" id="tel"></textarea></td>
        </tr>
        <tr>
          <th scope="row">Comments:</th>
          <td><textarea name="comments" cols="100" rows="10" id="comments"></textarea></td>
        </tr>
        <tr>
          <th scope="row"></th>
          <td height="40px"><input type="submit"></td>
        </tr>
        <tr>
        </form>
        </tr>
      </tbody>
    </table>
    Javascript:
    <script type="text/javascript" src="morris_construction/jquery-1.11.2.min.js"></script>
    <script>
         $("#contactForm").submit(function(event)
             /* stop form from submitting normally */
             event.preventDefault();
             /* get some values from elements on the page: */
             var $form = $( this ),
                 $submit = $form.find( 'button[type="submit"]' ),
                 fname_value = $form.find( 'input[name="fname"]' ).val(),
      sname_value = $form.find( 'input[name="sname"]' ).val(),
      tel_value = $form.find( 'input[name="tel"]' ).val(),
                 email_value = $form.find( 'input[name="email"]' ).val(),
                 comments_value = $form.find( 'textarea[name="comments"]' ).val(),
                 url = $form.attr('action');
             /* Send the data using post */
             var posting = $.post( url, {
                               fname: fname_value,
        sname: sname_value,
        tel: tel_value,
                               email: email_value,
                               comments: comments_value
             posting.done(function( data )
                 /* Put the results in a div */
                 $( "#contactResponse" ).html(data);
                 /* Change the button text. */
                 $submit.text('Sent, Thank you');
                 /* Disable the button. */
                 $submit.attr("disabled", true);
    </script>
    </div><!-- end of contact form -->

    No javascript needed or desired for this solution.
    Instead of
    echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
    echo 'Sorry an error occurred. Please try again later.';
    make them variables, like this:
    $message = 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
    $message = 'Sorry an error occurred. Please try again later.';
    Then, in the location where you want the message to appear. . .
    <?php echo $message ?>

  • 2 sweepstakes I have played for months are not allowing me to submit my form Microsoft Office IW/Sour Patch IW.Says on the bottom left javascripts form "0" this just started today. Internet Expl let's me play but my games are on Firefox. Plz advise.

    played both after midnight last night (sour patch kids IW & microsoft office instant win). microsoft office just does nothing when I hit enter & sour patch let's me fill in my email & password then does nothing when I hit enter. I have played both for months. on the bottom left corner as I keep hitting enter it indicates "javascript forms zero & something else. it goes away when I stop hitting enter. I then exited firefox and went to the explorer and then facebook and both games let me in. Please help as all my games and sweeps are listed on firefox. thank you.

    Just an update... A rep contacted me and we did a screen share. They were convinced that I wasn't full of <insert proper word here>. They promised to get back to me in a few days, and now? A few months later? Nothing.
    Still no files. Still no correction... Still no nothing from Adobe.
    The person I spoke to was kind, saying he'd make sure I got CC for free for a while...
    Still though, no follow up.
    Adobe, are you going to correct this or just let your customer suffer at your mistakes?

  • Phone version: Contact form "Send" button not working

    The "Send" button on the contact form works when used through a laptop browser, but doesn't work in a cell phone browser.  I've tried it with an iPhone 6 and Samsung Dart.  Any help is appreciated.
    Phone:
    http://www.landcordesign.com/phone/index.html
    Desktop / Laptop:
    http://www.landcordesign.com/index.html
    Thanks for the help,
    Jack

    Sanjit,
    I uploaded the file to box.com (Adobe Muse - Box).  Let me know what I need to do to fix the problem.
    Thanks,
    Jack

  • Unchecking Required Field from Form Field is not working

    I am trying to un-check a field to a disable the required field function and it will not let me uncheck the box, its ghosted out. Upon filling out the form as-is > I enter text in the field as it requires and even after entering information it gives me an error and says its not filled out??!!!! I spent a lot of time on this form and do not have the time to recreate it just to risk getting the same result....

    Hi
    Did you rename the email field to Last Name? That's the only entry which will not let you uncheck this option.

  • Contact form on mobile not working

    The contact form works great on the desktop, but then if you make a mobile version (or as muse calls is, phone) once the site is published, you can't click inside the contact form in order to submit anything.  Can someone please help, or perhaps direct me to a contact form solution that works?
    To check out what I'm talking about, pull our your phone and bring up the page I'm working on:
    www.fortworth148.org
    If you navigate to the contact us section, you will find the trouble.
    Thanks in advance for any feedback.

    Hi,
    it is because the menu is overlapping the Webform, check this screenshot
    Do let me know if you have any question.

Maybe you are looking for

  • Populating apex item checkbox in report row based on database value

    Hi All I am looking for help setting an apex item checkbox to 'checked' depending on a record exisiting in a database and I would appreciate a little guidance. At the moment I have a report which looks a bit like this SELECT licence_user_identifier,

  • Optical Drive No Longer Recognized-- Yosemite, Mac

    Like a fool, I updated to Yosemite. Now my external optical drive is no longer recognized and I can't burn a CD in iTunes. Please help! How can I get my computer to recognize my optical drive and burn a disc? I have a Mac Air.

  • PO header condtion value

    Hi Gurus How to fetch the value from PO header condtion for layout purpose? & How to fetch the value from subtotals (ex: Asseable value) value from header condtions tab? Thanks with anticipation Raju

  • SQL Loader: Total number of record read

    Hello, When we use SQL loader to load a data file, the total number of records read is output to the SQL Loader log. Is there a way to output this number to an oracle table? Regards

  • G/L in sales order

    Dear all,              I am creating Sales Order with refrence of contract and contract with refrence of relalease Order and i assigned WBSE to the assignment tab.                                  When creating sales order it is giving incomplition L