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.
>

Similar Messages

  • Prompt "Thank you" message after submit

    Hi folks,
    I would like to prompt the user with the "Thank you for submitting your information to us" message after the form has been submitted appropriately to the server.
    1. I don't have PostSubmit event, how can I do it without
    2. I also want to make sure that the form processing in the server-side was OK, how can I send back to the form some flag that say it that the server did it's job good or not.
    Actually I want to do it as a transaction.
    Any idea?
    Thank you,
    Yair Nevet

    You can return a reply from the server after it recieves the submission (no different than a web page). Typically you will send it back as soon as the data is recieved on the server, that way the user can move on if there are any problems with processing. You can wait until after the transaction runs but if there are any issues with the transaction (think hanging or system not  responding) then the user gets no feedback at all. Most people will send back a message indicating that the server recieved the transmission and will use a different means of communication for exception handling (think email).
    Just my 2 cents worth.
    Paul

  • How can you get your submit buttons to be a single click instead of the default double click?  (The

    How can you get your submit buttons on the quiz template to be a single click instead of the default double click?  (The option to choose double click or not is not showing in properties for this).

    Hmmm... Submit button doesn't need a double click at all. Maybe you are talking about the two-step process? When you click on Submit, the feedback appears with the message to click anywhere or press Y. Is that what you are talking about? If you are talking about a real double-click, something must be wrong in your file. And which version are you using?
    http://blog.lilybiri.com/question-question-slides-in-captivate
    Lilybiri

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

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

  • Redirecting survey users to thank you page after finish

    Hi All,
         I'm trying to redirect users to a custom page from ma survey using the code below:
    var inputcCtrls = document.getElementsByTagName("input");for(var m=0; m<inputcCtrls.length; m++) {       if(inputcCtrls[m].type=='button'&&inputcCtrls[m].value=='Finish') {    console.log(inputcCtrls[m].value, inputcCtrls[m].type)       inputcCtrls[m].onclick = function () { window.location = "/sites/surveys/Pages/ThankYou.aspx" };   }}
    But my survey never gets completed.
    What would be the best way to do it?
    Cheers

    Hi,
    According to your post, my understanding is that you wanted to redirect the users to a thank you page after finishing.
    You can use the SharePoint Designer to achieve it.
    Create a new page named as “Thankyou.aspx” page under the Site Pages.
    Open the site in SharePoint Designer 2013, click Lists and Libraries, go to "Forms" section. Create a New Form by clicking on "New Item Form"
    Give it a Name,  choose form type as "New Item Form" and enable "Set as default form for the selected type" and click on "Ok" to create the new form.
    Edit the New form we've just created. Open the "New.aspx" page with
    Advanced Mode in SharePoint Designer.
    Search for the savebutton1,savebutton2, delete all two “Finish” buttons.
    Insert SharePoint Form Action button from "Insert Menu >> SharePoint >> Form Action Button"
    Select the Form Actions "Commit" and "Navigate to Page" .
    Select the “Navigate to page” action, click “settings” to set the target page ,and click "OK".
    Rename the Form Action as Finish.
    Save and close the page.
    You can also refer to the following article, although it is for SharePoint 2010, it also fits for SharePoint 2013.
    http://www.verious.com/tutorial/share-point-survey-redirect-to-thank-you-page-on-finish/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Display success message in same page when submit button is clicked

    I have a jsp page, where i use a form to submit data into my database.when submit button is clicked, i am able to display "Data entered Successfully" in a different page. But i want to display the message in the same jsp page.
    what do i do?
    PS :- i have tried a javascript message box, but that is not working properly. I need this solved urgently.
    Thanks

    Hi Deeptha,
    What is APEX version your using and is it your select list with submit option ?
    Regards,
    Ajay Periwal

  • How do you insert a submit button into your form?

    How do you insert a submit button into a form?

    Hi,
    The submit button is included automatically. If you are distributing your form as HTML you can use the Test tab to preview your form. If you are distributing your form as PDF, you would need to generate the PDF to see the submit button.
    Regards,
    Brian

  • Have a window pop up after email submit button is clicked

    Is there a way to have a pop up occur after a user has pressed the email submit button? I need to have a reminder pop up as the form is submitted. Thank you in advance!

    Have you gotten an answer to this question yet?
    Here's what I did:
    I created a regular button with the following script on the "click event"
    EmailSubmitButton.execEvent("click");
    Then created another button (EmailSubmitButton)with the Control Type set to Submit; Submit to url should be: mailto:[email protected]; and Submit as PDF (if you want the actual form to come back to you) or XML (if you just want the data).
    Then I added a script under the EmailSubmitButton's PreSave Event, which states:
    app.alert("Your Form Has Been Submitted.");
    I distribute my form using the Adobe 8 Wizard and it works great.
    I would like to add a script that closes the form after submission. The script I found is
    app.execMenuItem("Close");
    This script is placed on the next line following the above app.alert message under the EmailSubmitButton. It works fine if you send the form manually via email, but Adobe has an error message when I try to distribute it.
    If anyone can help me with this issue. I would really appreciate it.
    Thanks,
    Jen

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

  • How to disable a submit button on click using javascript

    Hi,
    We have built custom pages for mobile device (PDT) using OAF.
    The application is running on mobile IE 6.12 browser. In mobile platform, the cursor style is not changing to hour glass upon clicking.
    Due to this, user is able to click the same button multiple times before the operation is complete and it is getting submitted multiple time. But the same is working fine in Desktop browsers.
    We have tried with ((OABodyBean)body).setBlockOnEverySubmit(true); But the API documentation states that
    "Sets If set to true, user input will be blocked after EVERY submit (not just PPR submits). This attribute is not supported on the following agent types: pda, phone, voice."
    Hence, I am trying with javascript to disable the submit button after the first click. The issue is, even in the desktop browser
    I am not able to get the button disabled after first click. Please help me.
    I have tried the following statments in PR. But none of them seems to be working.
    //Try 1: directly using id
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("document.getElementById('UpdateBN').disabled=true;document.getElementById('UpdateBN').submit()");
    //Try 2:
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("javascript:this.disabled=true;this.form.submit();");
    //Try 3:
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("this.disabled=true;this.form.submit();");
    //Try 4: using a function
    static final String JS_MULTI_CLICK = "<Script LANGUAGE=\"JavaScript\"> "
    +" function DisabSub(btn)"
    + "{"
    + "btn.disabled = true;"
    + "}"
    +" </Script>" ;
    OARawTextBean rawMultiClick = (OARawTextBean)webBean.findIndexedChildRecursive("JSMultiClick");
    rawMultiClick.setText(JS_MULTI_CLICK);
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("javascript: var obj =disable(this);return DisabSub(obj);");
    Can any one please help.
    Thanks in advance.
    Regards
    Saravanan

    Hi,
    Create two submit buttons A and B adjacent to each other.
    On page Load ,make A as rendered false and disabled true and B as rendered true. using SPEL.
    now on click of button B make button A as rendered true and Button B as rendered false through SPEL.
    In this way on button click the button will become disabled without the use of any javascript.
    Try it if it helps you...
    Thanks,
    Gaurav

  • 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

  • LifeCycle 8 Database update script for submit button

    I have a form that has numerous text fields for user inputs. I put a button on the form. This form is also populated with a SQL query when opened.
    When the user clicks the submit button, I need to capture the info entered in these fields, get one of the field value from the query when opened, and update a database record.
    How is that script done? Any sample scripts?
    Thanks in advance.

    I have a form that has numerous text fields for user inputs. I put a button on the form. This form is also populated with a SQL query when opened.
    When the user clicks the submit button, I need to capture the info entered in these fields, get one of the field value from the query when opened, and update a database record.
    How is that script done? Any sample scripts?
    Thanks in advance.

  • Shortcut on Quiz Submit button make "click" not work! CP8 - HELP

    Can someone help me out here?
    Okay, I have a few quiz questions. If I have not shortcut on the submit button, it works just fine. If I put "Enter" on the submit button, I cannot click it. Yes, Allow Mouse Clicks is checked.
    I would like my users to be able to press enter or click.
    Running cp8 on win 8.1. Tried in preview mode, as well as published in IE and Chrome.
    Feels like I'm losing my mind! I have also tried with accessibility enabled and not. Not that it should make a difference, but I tried it.
    Thanks for any insight gang,
    Lori

    Looks like I have fallen victim to the transparent button again.  When I switch the quiz buttons to text or image, the shortcuts on them work just fine. Then they are transparent I have issues.  The nice thing about transparent is that you can color them. Because you can't use smartshapes as actual quiz buttons (submit, etc) at least not that I'm aware of, I have had to place a smart shape on the masterslide and overlay a text button with "make transparent" selected on top to make my buttons look AND behave correctly. Adobe is now aware of the issue.
    -- Lori

  • How can I get the container of a button after the button is clicked?

    I have two components:
    public class A extends JPanel implements ActionListener {
        public A() {
        public void actionPerformed(ActionEvent e) {
            String command = e.getActionCommand();
            // here need to know the instance of B to execute it's process()
            // but I can only know the button jb in B via the following code:
            JButton myjb = (JButton)(e.getSource());
    public class B extends JPanel {
        public ContainerInfoInput(ActionListener al) {
            JButton jb = new JButton("OK");
            jb.setActionCommand("B.ok");
            jb.addActionListener(al);
        public process() {
    public class Main {
        A a = new A();
        B b = new B(a);
    }How can I get the instance of B in which the button is clicked?
    Thank you

    I think it's a defect of the listener mechanism. Under the present circumstance, I must do it like the following:
    I must use another class M as a bridge:
    class A {
        public A() { }   
        public processA (String info ){}
    class B{
        public B(ActionListener al) {       
            JButton jb = new JButton("OK");       
            jb.setActionCommand("B.ok");      
            jb.addActionListener(al);  
       public String processB () {    }
    class M implements ActionListener  {
        public M() {
            A a = new A();
            B b = new B(this);
        public void actionPerformed(ActionEvent e) {
            String command = e.getActionCommand();
            if(command.equals("B.ok")) {
                String information =b.processB();
                a.processA(information);
    }Why not just use A to listen B and obtain instance of B through the ActionEvent?
    Anyone know a solution about it?

Maybe you are looking for