Draw chart only after submit button is pressed.

I have a page 2 date picker's, a submit button and a line chart. How do I prevent the line chart from being drawn until the submit button is pressed?

Hi,
You can e.g. set region conditionally by request.
Add your page branch request value and use that in region condition.
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

Similar Messages

  • Make adobe form -read only after Submit button

    Hi,
    I have an Interactive form withuser input fields.
    I am submitting it via E-mail.How do I make it read only after I click Submit ?
    I am using javscript for sending e-mail.
    rgds
    vara

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • After submit button selected dropdown entry is lost!

    Dear All,
    I have a problem as below..
    I created a static dropdown list of Webdynpro enumerated type.
    Using online scenario after I press webdynpro native submit button, the selected entry is getting lost.
    I guess this is due to the control is given to Webdynpro and the form is loaded again with default entries in Initialzation
    I want to keep/retain the selected entry even after hitting SUBMIT button.
    Please advice me how to resolve.
    Regards,
    Srinivas
    Edited by: srinivas aare on Mar 2, 2010 9:09 AM

    Hi Robert,
    Thanks for the reply.
    Submit(Webdynpro Native) is giving the control back to Webdynpro but user can still stay on the same page after hitting submit button, Ideally I should have taken the control back to the main screen to avoid this issue after submitting. But I want the user to see what information they have submitted in read only mode.
    Can you tell me what do you mean by temporary structure Do I have to maintain the same structure twice in Webdynpro context?
    Can you please explain me clearly on "save my info in a temporary structure (matching my context)"?
    Where do we maintain the structure in WebDynpro copntext or is there any other place like interface?
    And how can we influence the same binding to tell the elements on form to get values from temporary structure?
    Many tanks in advance..
    Regards,
    Srinivas

  • Mac Pro switches itself off immediately after power button is pressed on

    Hi there,
    I would like to share with you an ongoing problem of my Mac Pro (about on and off 11 month I think). Since its HD changed at the beginning of this year I've been having the problem of "switching itself off immediately after the power button is pressed on." I took it to Milton Keynes Apple Shop and apparently they couldn't replicate the problem I received it after they reset it's PRAM. Meanwhile I read the related posts and discussions about the problem and my assumption was as suggested in the scenarios of similar cause – Power Supply unit. I had a technical chat with ex-Solutions staff from Brighton, he also said it might have been caused by it.
    I really don't know what to do because, sometimes attempting 10 or over times of pressing the button I hear the chime and literally 10 or 20 seconds later it switches itself off. And it happened this Sunday morning again, 8 times I've encountered the failure. And the most confusing thing is sometimes I leave it about an hour or two and then it just works and runs fine as it has never have happened.
    By the way I left my computer on for a very long time I suspect maybe more than a month it was on sleep most of time when i am not using it. But yesterday I made the mistake of logging off and shutting it down. Now I can't turn my computer on. Highly frustrating and amazingly bizarre technical challenge.
    Mind you I am fairly capable of carrying DIY operations on it. Previously I baked my graphics card as suggested in the forum – it works fine at the moment I am waiting until it completely brakes. But this power problem really really puzzles me.
    Any opinions, how to solve this cause is highly appreciated.
    Many thanks!
    Specs:
    Mac Pro 8 core
    Xeon 5400 2nd Generation Early 2008
    10 GB RAM
    1 TB HD

    The SMC especially on the very first 2-3 months of Early 2008.
    Use to suffer from a "restart on wake from sleep" issue.
    Some one told me that is not what "inrush current issue" is but that is what I (and couple others) called it.
    Best to always have a workstation on 1500VA UPS.
    Not share the outlet or cirucit even with anything major.
    Yes it could I guess, poor phrase, but put more stress on PSU over time as a result also.
    Methods to reset SMC have varied and changed over time. Thanks to web not all the revisions and older versions are kept online though to compare to.
    Stories of people going on vacation etc for two weeks to come back to a "dead" Mac Pro started showing up in 2007.
    If it had an actual SMC button, use that to reset.
    If not, leaving it totally disconnected, and all external cables and such over-night, not for the mere 5-10 minutes.
    Unplug but then press and hold power button for 8-10 seconds. And only once. And not to be done repeatedly. That was SMC Reset #3.
    I know the 2007 8-core 3GHz had a different PSU than the smaller models.
    2008 high end was 8-core 3.2GHz 5400 (stock was 2.8GHz 4 or 8-core)
    FBDIMMs draw between 10W up to 15W each, so possible to have 8 DIMMs drawing 120W when maxed out. And heat. I always recommend Mac Pro use fan control to boost the fans a small 400 rpm to expel heat better and keep FBDIMM temps down. Heat, and temperature fluxuations stress and weaken components.
    Other than AHT and the tools that a Apple Certified center should have, not much other than to swap out parts, monitor - iStatPro or Hardware Monitor -
    And because of all this, I would setup a test system so you have a freshly formatted and installed OS and take it from there, with a better chance.
    ATI 2600XT still? or upgraded?

  • Compressor does not start the job after submit button clicked.

    Hello All,
    FCP 6.0/ Compressor 3.0.5
    I am trying to export a section of a FCP timeline sequence (set with in and out) thorugh Compressor, into a couple of video formats (DVD and a custom H.264). After I set the destination and make surte that the source file is in place, I press "Submit" button and again "submit" from pop-up window and nothing happens. No usual window with the job processing appears, like it ussually does. I restarted programs and computer and no change. Compressor quitted unexpectedly few times within the same process of initiating export from FCP. I tried test export from a different FCP project and the compressing does not start either after pressing "submit".
    I did not have this problem before. I would greatly appreiciate any suggestions.
    Best to all,
    Izabela

    Dear ToddNashville,
    Thank you so much! This was it! It was processing but did not see the process as the "ghost" icons of the new exporte files in destinations would not appear immiediately as I thought they usually do. Once they are completed or 1/2 way through they appear.
    I did not try the batchlist before. It is so clear as far as whats running and how much time left! I hope all will process fine.
    Thank you!

  • Thank you script after submit button is clicked

    Hi,
    Thank you for everybody's help. I was able to figure this one
    out. Another question I do have is how do I create a Thank you form
    after somebody clicks a submit button.
    So, visitor clicks a submit button and then he gets a Thank
    you script.
    Can anybody point me into the right direction?
    Again thanks for everybody's help.

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2 is the preferred method, since it eliminates the
    problems of method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2, then start by asking your host what
    they provide for
    form
    processing.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dreamweavernewbieny" <[email protected]>
    wrote in message
    news:e5ttnv$4pd$[email protected]..
    > Hi,
    >
    > Thank you for everybody's help. I was able to figure
    this one out. Another
    > question I do have is how do I create a Thank you form
    after somebody
    > clicks a
    > submit button.
    >
    > So, visitor clicks a submit button and then he gets a
    Thank you script.
    >
    > Can anybody point me into the right direction?
    >
    > Again thanks for everybody's help.
    >

  • Can a today's date be added in a date field when the submit button is pressed?

    I created a form with a submit button and the form is sent via email.  Can the date when the form is submitted show up in a date field with the button is pressed?
    Any help with this is much appreciated. Thanks.

    Hi,
    there is a preSubmit event for form objects you can use.
    Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
    $ = num2date(date(), "MM/DD/YYYY")

  • Can I have an action occur only after a button / click box is clicked and held for three seconds?

    Within Captivate, I am trying to simulate touching and holding a button for three seconds on a touch pad to get a second window to come up.  I have an image of the touchpad and an image of the second window.  Now I have to set up the interaction.  Is it possible for me to have an image "show" -- in this case, the second window -  only after a click box or button is held for three (or more) seconds?
    Thanks for any help!
    Ryan

    Hi TLCMediaDesign,
    That sounds very interesting and I would like to learn how to do it. I just read Common JS interface and I know how to manipulate the output at runtime using the JS console, but that is all I really know how to do...
    To understand your answer, I had to make a few assumptions.  When you say JS "post publishing", you mean going into one of the JS files that get published with the project such as standard.js and manipulating that.  Is that correct?
    My second question has to do with the event listener.  I have some experience with JS in the past and manipulating HTML elements, for example.  How do I find a particular button, or any Captivate object in the JS?  HTML elements always have IDs and classes...
    Thanks for any help..

  • New to Flash, create a flash form which is emailed using CGI script when submit button is pressed

    I'm trying to build a form in flash that is emailed using CGI
    script. I'm just lost and confused and I just can't seem to figure
    this out.
    This is the CGI coding for HTML and I just need to convert it
    to use in CS3:
    <form action="
    http://www.hostmonster.com/monstermail"
    enctype="multipart/form-data" method="POST">
    Name: <input type="text" name="Name"><br>
    Email: <input type="text" name="mailfrom"><br>
    Phone: <input type="text" name="Phone"><br>
    Service: <input type="text" name="Service"><br>
    <input type="hidden" name="sendtoemail"
    value="[email protected]"><br>
    <input type="submit" value="Send Email">
    </form>
    This is a link to what I'm working on:
    http://www.alternativesolutionsforyou.com/contact.htm

    OK, sorry....no more errors when I test the movie but when I
    test it live....nothing happens???? Here's the link again:
    http://www.alternativesolutionsforyou.com/contact.htm
    Code as it is:
    lv=new LoadVars();
    lv.Name=name.text;
    lv.mailfrom=email.text;
    lv.Phone=phone.text;
    lv.Service=service.text;
    lv.sendtoemail="[email protected]"
    yourSubmitButton.onPress=function(){
    lv.sendAndLoad("
    http://www.hostmonster.com/monstermail",lv,"POST");
    lv.onData=function(){
    // data successfully sent
    // this will execute if your cgi script returns something
    after executing
    I haven't adjusted what happens after you his the submit
    button yet.....just trying to get the email working.

  • After 6 buttons are pressed jump to a new frame

    I have made a spot the differece game as you may have seen in
    another post. I have all the invisble buttons on one frame. When
    the button is pressed it reveals a correct answer, that button also
    then becomes inactive so you can not turn the answer off.
    I have 6 buttons in total btn1 - btn6
    How do I write the code so that after all the buttons have
    been pressed it jumps to a finsihing frame.
    I am also working flash 7 mx2004
    someone suggested the below but I'm sure how it works
    Create a root variable, _root.buttons_pressed = 0;
    Then, in each button onDown actionscript,
    _root.buttons_pressed++;
    Finally, you'll want to reset the counter when you enter the
    new frame,
    again setting _root.buttons_pressed = 0;
    Thanks in advance.
    Foo
    Text

    Hi foowoo,
    I may be wrong but aren't variables accessible throughout a
    timeline?
    If so then my suggestion would be to set up a variable in the
    first frame and, like suggested, have it increment with each button
    pressed (that is then disabled so it doesn't count up again) in the
    frame where the game is. If my theory is right then there's no need
    to reference _root. as it is all in the same timeline, just call
    the variable something like gameCounter and use that.
    Then I'd have a If gameCounter == 6 function which then does
    the resetting of the variable to 0 and sends the user to the
    finishing frame.
    Cheers
    kol

  • Updating form after a button is pressed

    If I have a simple form with a button and a progress bar and then I create an object of this 'GUI' class and instantiate the form, then the user presses the button how can I update the progress bar from 0 to 100%? In other words, in my actionPerformed(ActionEvent e) method how can I then use the previously instantiated object of the 'GUI' class to update the form?

    More information....
    I create an object to instantiate the form. Now if I update the progress bar with this object everything works great.
    I also have an object of the same type that is global that I set equal to this original object that instantiates the form. If I update the progress bar with this object (which should be the same) then the progress bar does not update until after the progress bar is at 100%?!?
    Does any of this make any sense?

  • Submit button broken

    I have created a PDF form in LiveCycle with a button to submit to a ColdFusion URL. I tested & it worked. CF processed the PDF, emailed me the results through CF, and displayed the PDF data. Great! (that was Friday)
    Then...Monday came & the form doesn't work anymore
    I made a few layout changes only, no changes to form fields or buttons, and the Submit button doesn't work anymore. I have verified the URL & button settings. Now, nothing happens when I hit the Submit. (pdf: http://137.229.22.51/uaf/fsweb/learntoskate_testform.pdf  - the result page is currently just a dump of all the fields in the pdf for testing)
    I have Acrobat X Pro, LiveCycle Designer ES2, and ColdFusion 8.
    Ideas? Help!
    Thanks,
    Nicki

    What I did was open the form directly in Acrobat 9 Pro, outside of a web browser. After the submit button was pressed, the response was returned after about 10 seconds and Acrobat converted it to PDF. I have not tried inside of a web browser or with Reader.
    I just did another test and it worked the same way. So it seems to me that it's not a problem with the form, but with your configuration. Can you check the server logs to see if it's seeing the form submission?

  • Submit Button in web linked form

    I have created a form with a submit button and have inserted the form as a link on my website, Ithe form upload perfectly but the submit button when pressed creates the error "operation not permitted". I do not need this data to be tracked in a spreadsheet, but I want to make it easy for the person to complete and send back without having to do a save as and attach manually to an email.  When I test the form from my desk top it works perfectly, outlook opens up with the recipients email address and the completed form is attached as a complete PDF, why is it not working when I insert it as a link.  Any help would be much appreciated.  I am using Adobe Acrobat X Pro 10.  Thank you

    Hi Chintan,
    Basically, I have tried to search in the forum within this two days... But I could not find the step by step how to do it. Anyway, I will try to search again. Really appreciate if you don't mind give me the link of it.
    Hi Otto,
    I have created the WD application. Unfortunately, the requirement is online processing form which is attached in the SAP transaction. So, when user open document number of one transaction, the form will be displayed and user can fill the information in this form. Then after that user will click SAVE button to submit data to SAP.
    Any advise?
    Thanks,
    Nonik

  • Multiple Submit buttons on one form

    I'm developing an application that will have 4 buttons at the bottom of the form to do various things with the form information. One of the buttons will link to a separate web page for confirmation of the action. I tried to set a global variable and place an onclick event for the button which assigns a specific value for that variable. I then placed a <jsp:forward tag in my code that would be included if the global variable was the specific value which the button changes it to. I"m not sure if I'm being clear here. There is the forms page with the 4 buttons. It possesses all of this code. So the global variable is declared at the top. The variable is set if the 'Delete' button is clicked. And further down there is an if statement used to include the <jsp:forward tag when the 'Delete button has been pressed and this form is again being drawn up.
    What I describe doesn't work. The global variable I guess is reset when this form is drawn up a second time after the 'Delete' submit button is pressed. I''m not married to the way that I'm solving this problem at this point so I'll take any suggestions. But basically I want the Web Forms fields to be sent to this delete jsp so that I can confirm the command to delete the indicated record from the database. The three other buttons on this form are 'Add/Update', 'Rename', and 'Cancel'. The Add/Update and Rename buttons should also be submit buttons but they should link back to the same page as they are located on. The cancel button is to return the user to the index page. I have this working using a document.location.href command in the onclick event for that button.
    Brian

    Hi Brain. If I'm following your thoughts, you may want to consider replacing the four sumbit buttons with four radio control buttons and one submit button.
    I would suggest that you set your form action via a radio control button then, thru the form action, pass the form to a Servlet or JSP that contains some logic.
    <!doctype html public "-//w3c//dtd html 3.2 final//en">
    <html>
    <head>
    </head>
    <body>
    <!-- set your action here to go against a Servlet or JSP.  The
         Servlet or the JSP will contain the logic to Delete, Add/Update, Rename or Cancel
         based on the formAction value.
    -->
    <form action='ServletOrJSPNameHere' method='post'>
    <br> <input type='radio' name='formAction' value='Delete'>Delete
    <br> <input type='radio' name='formAction' value='Add/Update'>Add/Update
    <br> <input type='radio' name='formAction' value='Rename'>Rename
    <br> <input type='radio' name='formAction' value='Cancel'>Cancel
    <br> <input type='submit' value='submit'>
    <form>
    </body>
    </html>
    // this code would go into your Servlet, JSP, or worker class
    String formAction = request.getParamger("formAction");
    // test for null value  
    if ( formAction == null ) { 
         // reload the page with a message to pick a radio button
    else if ( formAction.equals("Delete") {
       doTheDeleteProcessing();
    else if ( formAction.equals("Add/Update") { 
       doTheAdd/UpdateProcessing();
    else if ( formAction.equals("Rename") {
       doTheRenameProcessing();
    else {
       doTheCancelProcessing();
    }I hope this helps.

  • How to use many submit buttons in an one html form

    I'm doing a simple program to insert, edit, delete data from a web page to an database
    but the problem is that in an html form , you are allowed to put only 1 submit button.
    I heard that you can take the action of many buttons, for a one form using java script
    if anyone have a better idea or else have this simple java script, please help me
    Thank you very much

    Give the buttons an unique name.
    In the servlet just check if the button is pressed or not by determining if HttpServletRequest#getParameter() doesn't return null for the button name.There are a couple of "gotchas" when using this technique of dispatching with certain html controls. Most of them browser related.
    If you are using <input type="image" name="myButton"> as a submit button, be aware that Internet Explorer will submit the parameters "myButton.x" and "myButton.y" giving the x,y co-ordinates of where you clicked on the button. And won't submit any other value. So calling request.getParameter("myButton") would return null. You have to test for request.getParameter("myButton.x");
    If you are using <input type="button" name="myButton"> with Internet Explorer all of the buttons are deemed "successful". So calling request.getParameter("myButton") will never return null.
    At least thats the way it works in IE6. And thats what I'm stuck with at work right now, so thats what gets used. It may be fixed in later versions, but I don't have any info on that.
    Cheers,
    evnafets

Maybe you are looking for

  • Use Find My iPhone w/ Just a Serial Number

    I recently upgraded to an iPhone 4s from a 4.  After a few weeks, I removed my old phone (iPhone 4) from the Find My iPhone web page application.  About a week ago, I took out the old phone to charge it, and it mysteriously dissappeared.  All I have

  • Replacing Internal DVD Drive with HDD in Mac Mini?

    Has anyone tried replacing the internal DVD drive with a hard drive, giving you TWO internal hard drives? I think you need a cable to match up the SATA connectors. Then you could use a USB external enclosure for the DVD. Thanks.

  • Should I keep the battery in the machine or not?

    I've heard some people say that when you're not using your laptop's battery (ie. you're on AC) you should take it out. This supposedly stops it from "wearing out" too quickly or something in that direction. Is there any truth to this?

  • [b]desc table_name gets ORA-03113: end-of-file on communication channel[/b]

    My installation running on Windows 2000 Oracle9i. When issue desc table_name i get ORA-03113: end-of-file on communication channel. I have set processes = 300 in parameter file.

  • Dreamweaver CS4 critical installation error

    I have upgraded to a new PC (running windows 8.1) and when I run the Dreamweaver CS4 installer I get "Critical errors were found in setup".  I don't have any other CS4 products on my PC. What should I do?