Dasboard widget - disappears on form.submit()

Hi all,
I have a problem with a dashboard widget I'm developing.
My html looks (in extremely simplified form ) like this:
(body)
(div id="front")
(/div)
(div id="back")
(/div)
(div id="myform" style="visibility:hidden;")
(form action="http://myhost.com/myscript.php" name="f" onsubmit="return validate_form()" method="get")
(input type="text" id="telno" value="" size="7" maxlength="7" /)
(/form)
(/div)
(/body)
In my main.js, I then populate the input field (verified that it works) and do:
document.getElementById("myform").children.namedItem("f").submit();
Which works.
The problem is that once submit() has been run, the widget disappears.
By pressing the Alt key and hovering the mouse where the widget was, it's apparent that the widget is still there, just invisible.
I'd appreciate any hints as to why this happens, and even more how to solve it
Regards,
Þór
Edit: sorry about the parens... code doesn't show otherwise...
Message was edited by: Þór

I have exactly the same problem! Is there a solution to this?
I need to use a form in my widget so I can send out an email using a PHP file on a webserver.
Cheers
Tim

Similar Messages

  • Form submit button

    form submit button works on businesscatalyst and in preview, but it is not visible though interactiv on my and my clients server... what use is a perfect tool like Muse if not working correct on all servers? My client is waiting... who can help with this problem?

    Hi,
    If you are experiencing issue on third party host, did you try this troubleshooting guide
    Troubleshooting Muse Form Widgets Used on Third... | Adobe Community
    Do let me know if you have any question.

  • MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    No, it wasn't addressed to you but rather the OP - sorry for the confusion.
    I try where possible to point out that without asking a sensible and clear question, posters are unlikely to get sensible and clear answers. A lot of time is wasted on this forum trying to get people to ask questions properly.
    Cheers
    Ben

  • Reset Form Submit State

    Is it possible to reset the form submit state? I have a page with many input components, some of which are set to "Auto-Submit on Change". When submitting, a new window is opened with the report results.
    I need the user to go back to the original input page and change some of the original input fields. However, when doing so the page is submitted by just changing one of the Auto-Submit input components. I would like to be able to reset the form submit state (or the hyperlink submit state), so that the page is not auto-submitted when changing input fields.
    Thanks,
    Dan

        public void prerender() {
            dropDown1.setOnChange("");
        }

  • Issue with Form submit

    Hi,
    Currently i have a BSP application (page with flow logic) working. Where it has 5 input fields (numc) and based on the quatity entered (On click of SUBMIT button)the calculations are done and final amount is displayed in same screen.
    Requirement: I need to remove the Submit button and enable the Form submit once the user enters value in any of 5 input fields and comes out of that field.
    Currently i tried using JavaScript but with no success.
    i tried attaching onblur event to my input field tag and the function associated with onblur event will do window.form.submit();
    But i'm getting Error in Explorer as "'window.form' is null or not an object"
    In Mozilla as "window.form has no properties"
    I'm not able to post my code.. pls tell me how to do that
    Please guide..
    Thanks in Advance,

    here is a simple sample application:
    page attribute:
    mess type string
    layout
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form id="myform" >
          <htmlb:inputField id    = "IP1"
                            value = "<%= mess %>" />
    < script for="IP1" event=on blur type="text/ j avascript">
              document. myform .submit();
           < /script>
                <br>
           <%= mess %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    oninput processing
    data: ip type ref to cl_htmlb_inputfield .
    ip ?= cl_htmlb_manager=>get_data( request = request
                                               name    = 'inputField'
                                               id      = 'IP1' ).
    if not ip is initial .
      mess = ip->value .
    endif .
    Edited by: Durairaj Athavan Raja on Mar 18, 2008 3:54 PM

  • ID CS6 Form Submit not working in Adobe Reader

    Hardware = Mac 8Core OSX 10.7.5 | Software = InDesign CS6 vs 8.01
    I'm having ongoing frustrations with the ID Cs6 Forms. The interactive form Submit button works on my machine's Adobe Acrobat Pro, but not on machines using Adobe Reader (I've given up on it working in Apple Preview). It has worked on one other mac machine, again it was Adobe Acrobat pro 9.1.1. Any advice will be appreciated. Thanks in advance: Justin

    You need to enable that in Acrobat Pro.
    Bob

  • Widget disappears from section page in portrait mode.

    Thank you for your help.
    I have a section page (iii) at the begginning of a book with a gallery of 12 photos. I have titled it and written a caption for each photo. Yet, when I switch to portrait mode the widget disappears. There is no image on the side. I have a title on the page in a text field, but I have no text in the main body text field (I'm using the the "Foreward" section template).
    What's happening? I've downloaded two books about iBooks Author today but have yet to find a clue as to what I am doing wrong.
    Thanks again.
    Scott
    iBooks Author 1.1
    OS 10.7.4

    Just an extra tip: Make sure when you insert a widget in LANDSCAPE mode that you find the little Blue Bullseye circle and place it's cursor where you want to anchor it in the text, that way, it will be in the correct place when you go to PORTRAIT.

  • I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    I created a book in iBooks Author using the Photo Book template. When I rotate to portrait orientation, the photo or widget disappears and a table of contents appears with only the interactive media showing.

    Thanx for the prompt response, KT. I have indeed seen that thread, only just after I posted the question.
    I have spent hours on the phone with what I now know is a call center in Texas on this question.
    I think Apple could be a little more "hands on" with iBooks Author users, and it should also be pointed out that landscape photos will not display in portrait mode.
    In my case, I used gallery widgets to display vertical photos, since they look better in portrait mode.
    But instead of simply rotating, the page disappears and a TOC of interactive media appears. The gallery behaves as expected when tapped. This is not what I expected, but since the gallery works, I can live with it.
    Right now I have "tickets" telling me to "fix" this "problem or to disable portrait mode.
    I don't want to disable portrait mode.
    Will Apple accept the books if I tell them this is not an "error?"

  • Acrobat 9: Error when PDF form submit with file attachment

    Hi all,
    Hope you can provide some help with my PDF form submit issue. I am getting this error "There is no PDDoc associated with this CosDoc." in Acrobat 9 (Reader and Pro) when I try to submit a PDF form with a file attachment field (the file is specified). The same PDF form works fine in Acrobat 7 or 8 (Reader and Pro) with file attachment.
    If no file attachment is specified (user did not select a file) then the PDF form submits fine in acrobat 9. The form data submission format is in FDF. Same problem if I change to XFDF.
    There are no differences in the problem if the PDF form is created in Acrobat 7 or Acrobat 9, the same submit issue exists in Acrobat 9 but not in the older Acrobat versions.
    Is this a known issue and are there any workarounds/solutions?
    Thanks.

    Sounds like a bug to me. Please report it: http://www.adobe.com/support/feature.html
    George

  • How do I a form submit without losing page parametes on other portlets?

    I have a page with several portlets. How can I make one of the portlets do a form submit without losing page parameters in other portlets?
    If I do a submit only the controls in the form I have submitted are passed which means I loose parameters that where passed earlier.
    I looked at the code the portal uses for the next button and I see that it does a POST with the action being the complete current URL with existing parameters. When I do this I cannot access the form variables in my dynamic page.

    There are 3 steps to the balancing act of image weight (file size) vs image quality
    1) image dimensions (on screen height x width measured in pixels is all that counts). Smaller dimensions = smaller file size.
    2) compressed file type (JPEG for photos, PNG or GIF for everything else). Choose the right file type for your image.
    3) quality of the final compressed image - visually comparing the final image for "acceptableness" (less artifacts) vs final file size
    There are plenty of tutorials online
    http://inobscuro.com/tutorials/read/35/
    http://sixrevisions.com/web_design/comprehensive-guide-saving-images-for-web/

  • Javascript form.submit() fails when imbeded in table

    Before updating this worked fine, but now version 3.6.12 is failing to respond to javascript form.submit() inside a html select option control!
    Operating system is Windows 7
    The problem seems to be, because the form is imbeded inside a table.
    Internet Explorer is still working ok, so looks like Firefox is now going to take second fiddle until / unless this is solved!
    Yes, I know the easy way would be to remove the table! But then I have to use some other way of displaying data on the page!

    Yeah, but it worked fine untill the last update!
    I also have trouble with other javascript things, for example fckeditor no longer works in firefox.
    I have been avoiding Internet explorer, but now it looks like I will be forced to use it, because it is still working with the things that I use on a regular basis...

  • Java Script: Form Submit issue.

    Is there a way where I can submit two forms ?
    Thats is submit 2nd form only when the first form is submitted.
    I tried this it works.
    function formSubmit(){
    document.form1.submit(); //Submit First Form
    alert(); //This will stall the execution thus form2 will not be submitted till I click on OK
    document.form2.submit();
    }But If I dont put an alert in between, only the second form is submitted.
    If I put a delay of say 3 seconds in between then it will throw a SOCKET CLOSED error in the action event triggered due to first form submit.
    Well Basically when the Alert pop's up the parent page "STALLS" and thus the form2 does not submit till I click on OK, Is there a way I can stall the browser/Parent JSP page using JAVA SCRIPT ??

    Relax people... Ok I will move my querries else where :) ..
    But whats wrong if somebody can provide me an answer ? I am sure most of you know java script , if you dont know then don't answer simple as that.
    You do know that Sun did not create JavaScript, right? So the Sun forum sites may not be the best place to look for a JavaScript forum " {code} 
    You mean to say if something is not from sun I am not supposed to ask a question on that, I agree that this is JAVA Programming forum.
    Peace,.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • My share widget disappear

    hi! My share widget disappear from the Notifications as well. I can't find where to turn it on? What to do?

    Oops.. I have iOS 6.1.3

  • Increase in SPAM web form submissions

    Hi,
    I'm noticing a trend of increased SPAM web form submissions across most  of our BC sites. This has got particularly bad in the past week or so. All SPAM submissions follow a very similar theme. The text is complete 'gobbledygook' basically! The forms being used don't have any description fields where long descriptions or links can be entered so I struggle to see why this is happening.
    What I want to know is:
    - is this something other BC partners are noticing, particularly recently
    - are your SPAM submissions similar to what I have shown below
    - what can we do to reduce these other than using CAPTCHA on all forms?
    - we exclusively use BC but I would be interested to know if the BC platform is particularly bad for SPAM submissions or is this something all sites are suffering from nowadays?
    - any other light you could shed on this issue or advice you could impart would be much appreciated
    Real submission example:
    First name: tjlavseb
    Surname: tjlavseb
    Email: [email protected]
    Date: hgnhQMmssGynJLb
    Time: 11am
    House Name: LHkJxazHGUYClEZJQd
    Street address: nvOaQumEsbBGsA
    Postcode: lJEODtxlXj

    Hi there,
    We are experiencing a high volume of spam since changing our web forms on our newly redesigned site. The objective of the site design was to make it quick and easy for clients to get a quick quote thus asking for only a few fields to be completed. Adding a captcha form would actually detract from the purpose of the form.
    We have implemented the honey pot field which seems to have made little to no difference in volume (this seems to be the case for this fix across many other users of BC). The problem is with our spam is quite unusual whereby we are not getting any specific info from them really making it hard to detect if it is spam or real. See example;
    Have you seen this type before? 
    Your Name
    David
    Email Address
    [email protected]
    Case Number
    4257685
    Company
    casterick
    Date
    18-Apr-2013
    Location
    Victoria
    Type
    Meeting
    Your Requirements

  • Outlook pops out on form submit

    I am making a form on Dreamweaver CC and I want to integrate that form in a Muse website and when I click submit, a window from Outlook pops out to send an e-mail to the recieptient e-mail.
    I already read here but I don't know if I can integrate a PHP script with Adobe Muse files on my server. Would they enter in conflict or that's fine?
    This is the code of the form:
    <form action="mailto:[email protected]" method="get" enctype="text/plain" name="form1">
    <p>
      <label for="textfield"><strong>Name:</strong></label>
      <input type="text" name="textfield" id="textfield">
      <label for="email"><strong>Email:</strong></label>
    <input type="email" name="email" id="email">
    </p>
    <p>
      <label for="textfield2"><strong><br>
        PICK-UP<br>
        <br>
        Location:</strong></label>
      <input type="text" name="textfield2" id="textfield2">
      <label for="date"><strong>Date:</strong></label>
      <input type="date" name="date" id="date">
      <label for="time"><strong>Time:</strong></label>
      <input type="time" name="time" id="time">
    </p>
    <p>
      <label for="textfield3"><strong><br>
        DROP-OFF<br>
        <br>
        Location:</strong></label>
      <input type="text" name="textfield3" id="textfield3">
      <label for="date2"><strong>Date:</strong></label>
      <input type="date" name="date2" id="date2">
      <label for="time2"><strong>Time:</strong></label>
      <input type="time" name="time2" id="time2">
    </p>
    <p>
      <label for="textfield4"><strong><br>
        Type of Car:</strong></label>
      <input type="text" name="textfield4" id="textfield4">
    </p>
    <p>
      <label for="textarea"><strong><br>
        Notes/Extras:</strong> <em>(i.e.: GPS, Baby Seat, etc...)</em><br>
      </label>
      <textarea name="textarea" id="textarea" cols="45" rows="5"></textarea>
    </p>
    <p> </p>
    <p>
      <input name="submit" type="submit" id="submit" formaction="Submit Form" formmethod="GET" value="Send">
    </p>
    </form>
    Waiting an answer.
    Best wishes,
    Miguel

    Mailto: links on form submit are not reliable for several reasons.
    Most web mail users do not have Outlook or similar e-mail clients installed on their system. When they click your submit button, nothing will happen.
    Mailto: links do not hide your e-mail address from harvesters and spam bots. 
    Your form is not secure from spam bots and hackers.
    AFAIK, Muse does not support server-side scripting.  But that shouldn't preclude you from using a contact form with a separate form-to-email processing script.  You point your HTML form to the script using the action attribute.
    <form action="your_script.php"
    Which script depends on your server.  Ask your hosting provider if they have scripts you can use.  If they don't, find out which server-side languages your hosting plan supports -- php, asp.net, coldfusion, perl, etc...
    This will narrow your search form appropriate scripts you can use.
    Nancy O.

Maybe you are looking for