Submitted form message

Hello,
I have a form on the website I'm working on and it has a
confirmation message for after it's been submitted. Here is the
code already in place:
<?php
} else {
error_reporting(0);
$recipient = '[email protected]';
$subject = "Service Request Form";
$msg = "Service Request from: $ename\n\n"
.stripslashes($_POST['MsgBody']);
$headers = "From: " . $_POST['Email'];
if (mail($recipient,$subject,$msg,$headers)) {
echo nl2br("<b>Thank you for your request - your
message was sent.");
echo (" Click here to go back to the home page.");
else {
echo ("Message failed to send");
echo ("Click here to go back to the Request Form.");
?>
How do I insert a link or button back to the home page? This
was already built and the "click here" doesn't appear to be
working.
Thank you,
Caroline

echo ('<a href="index.php">Click here to go back to the
home page.</a>');
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Cobejero" <[email protected]> wrote in
message
news:gqvpob$p6$[email protected]..
> Hello,
>
> I have a form on the website I'm working on and it has a
confirmation
> message
> for after it's been submitted. Here is the code already
in place:
>
> <?php
> } else {
> error_reporting(0);
> $recipient = '[email protected]';
> $subject = "Service Request Form";
> $msg = "Service Request from: $ename\n\n"
> .stripslashes($_POST['MsgBody']);
> $headers = "From: " . $_POST['Email'];
>
> if (mail($recipient,$subject,$msg,$headers)) {
> echo nl2br("
Thank you for your request - your message was
> sent.");
> echo (" Click here to go back to the home page.");
> }
> else {
> echo ("Message failed to send");
> echo ("Click here to go back to the Request Form.");
> }
> }
> ?>
>
> How do I insert a link or button back to the home page?
This was already
> built
> and the "click here" doesn't appear to be working.
>
> Thank you,
> Caroline
>

Similar Messages

  • Error submitting form for Distribution: "The filename you specified is not valid because it does not

    Error submitting form for Distribution:
    "The filename you specified is not valid because it does not include a .pdf extension, contains one or more invalid characters or teh path preceding it refers to a protected system location."
    Tried removing dashes from filename, shortenign filename, moving to root directory. No changes. File ends with a .pdf extension.
    This is my first attempt to distribute via acrobat.com

    I found that I got that same message using Acrobat Professional to send out a document for shared review.  I had an exclamation mark in the title of the PDF. When I took out the exclamation mark, it worked.
    So maybe try taking out anything "unusual" (parentheses, dashes, exclamation marks, etc.) in the file name and see if that helps.
    Good luck,
       Philip.

  • Submitting form with attachments.

    Hi,
    I have a simple need. I am stucked in it. What i need to do is:
    Step 1: User1 starts opens a pdf form inside LC Workspace, fill it, attach files (Reader Extended) and then submit it.
    Step 2: User2 receives the filled form with attcachments. Can view attachments and save them in repository.
    I am stucked at step 1. User is able to fill the form, add attachments but can't submit it. If I am not enabling the Reader Extensions for attachments (Disabling functionality to attach files) then it works fine. But when using with attachments option, it fails. It gives no error, no message and does not passed to the 2nd user.
    Is there any special requirement in developing such process/form ??
    Please help me out on it.
    Abhinav

    I've studied the HTML generated by UIX and it has following bugs and misfeatures:
    1. Misfeature: Submitting with Enter works ONLY if there is exactly one text field in the form (no submit button is actually needed), as Brian Stoler wrote. I don't understand reason for this.
    2. Bug: UIX generates javascript function "_submitOnEnter" which is called as event handler for "onKeyPress" event. But this function is erroneously generated multiple times, once for each form in the page. Browsers (Mozilla and IE) use the latest implementation. This function is different for forms with one text field and for forms with more text field, but only the first one can do the job. As a consequence of this, Enter can submit the form only if the last form on a page has single text field (which is for example not the case of search form with single field above another form...)
    Tested with UIX 2.1.7 in JDeveloper 9.0.3.3, using UIX as JSP tag library.
    Workaround:
    1. Use Opera browser: it submits form with enter key even if there is no submit button (this does not work for the first text field in the form, because it has "onkeypress" event handler).
    2. Implement this feature by hand yourself, if you really need it (see below).
    3. Use accessKey: allows to submit form with Alt+<key> combination (followed by Enter with IE).
    Implementing Enter key submits with Javascript:
    1. Put the following function to the header (or to javascript library):
    function enter(e, frm) {
    var kc;
    if(window.event) kc=window.event.keyCode;
    else if(e) kc=e.which;
    else return true;
    if(kc==13) {
    submitForm(frm,1);
    return false;
    Function copied from UIX (C).
    2. Add this event handler to each input element:
    onKeyPress="return enter(event, 'formName');"
    It is obvious that this is error prone, but it works with all browsers...
    Will this be fixed in future versions?
    Why only form with one text field can be submitted?

  • Error while Submiting Support message through Web browser

    Hi Gurus
    I am geting error while submiting Support message through Web browser i.e BSP . Please find the error message below
    "Error: The system could not create the message because of an RFC connection "NONE " error Service-specific Csutomizing missing for transaction ZLFN"
    Note: ZLFN is our Service Desk Message type.
    Any ideas where i am doing wrong?
    Points will be rewarded
    Thanks
    Bhaskar

    Hello,
    check if when you configured your new transaction type ZLFN you have included a corresponding entry in view CRMC_SERVICE_H.
    If the transaction type is missing in this view, you have this error.
    Regards,
    Raquel Cunha

  • Reading/Writing Form Message Bodies

    In JSP how do you read the body of a submitted form? When I run the code below I get nothing back. I'm trying to submit XML in the body of the HTML form and then read it in the JSP. What am I doing wrong?
    readBody.jsp
    <%@ page import="java.io.BufferedReader" %>
    <%
         BufferedReader br = request.getReader();
         String curLine = br.readLine();
         while (curLine != null) {
              System.err.println("curLine = " + curLine);
              curLine = br.readLine();
    %>
    test.html
    <html><head><title><title/><body>
    <form method="post" action="readBody.jsp">
    <team id="1">
    <name>Tigers</name>
    </team>
    <input type="Submit" value="Submit Team"/>
    </form>
    </body></html>

    This should help. But you have to understand that I did not check if there are not data sent. that is not important now. You could do that later.
    If this helps, please come back to let other learn from it. This is the best way to learn.
    theForm.html
    <html><head><title><title/><body>
    <form  action="readForm.jsp">
    Name : <input type= "text" name = "user" value = " "><br/>
    <input type="Submit" value="Submit Name"/>
    </form>
    </body>
    </html>
    readForm.jsp
    <%@ page language="java"  contentType = "text/html" %>
    <html>
       <head><title>Form Demo</title></head>
           <body bgcolor = "white" >
            <h3> Hello
            <%
                   out.print(request.getParameter("user"));
                  %>
            </h3>
        </body>
    </html>
     

  • Do I gee a copy of submitted forms with the free account?

    Do I gee a copy of submitted forms with the free account?

    Hi;
    Using the Free account you can view the submitted data and export it to Excel, PDF or CSV (the data is in a table format).
    Email Notifications, where an email comes to you each time someone submits the form is a paid level feature.  Another Paid level feature is "Download Response as PDF" which allows you to save/download a PDF version of the filled out form that looks like the original.
    Thanks,
    Josh

  • How to avoid submitting form twice

    How to avoid submitting form twice when this form use spry
    validation.

    The first step in your hanlder function would be to disable
    the submit button.

  • Change sender email for submitted Form emails

    I built a website for a client using Muse and the Form widget through Business Catalyst. However, now whenever the client gets emails from a submitted form, it says its coming from MY email. How do I change the sender so that they recognize that it's not a personal email from me, but rather a submitted website form. Hope that makes sense!

    UPDATE: I just figured it out after having posted this no less than 10 mins ago. Thanks community, your genius overflowed to me and helped me solve my own problem. For anyone who is curious, in the Business Catalyst Admin Console, Under the Site Manager tab in the menu, you simply click "System Email" and the "Set default from email."   I can't believe I missed that, and I call myself a professional. Hope it helps someone else!

  • Email with attachement as pdf of submitted form

    Hi all,
    Can anyone suggest me how to get an email as an acknowledge ment with the submiteed form as an pdf format.?
    I want to get an acknowledgement mail after submitting the form through the work space..
    and email should contain the submitted form as an attachment in a PDF format
    Please assist...
    Thank you

    You can add an email submit button in your form to achieve this.
    Check this - http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000323.html and http://help.adobe.com/en_US/livecycle/10.0/DesignerHelp/WS107c29ade9134a2c5324ea7712a81c8d a6b-8000.html
    Som more pointers which could help
    https://groups.google.com/forum/#!topic/livecycle/81OXCQfsNys
    http://livecycleapps.wordpress.com/2008/07/28/a-submit-button-that-will-send-an-entire-pdf /
    ~ Varun

  • Submitting form to portlet

    I'm having trouble getting form fields to be visible to a portlet when I submit the form to the page containing the portlet. I've tried setting the page parameters to be the same names as the form fields and then having those page parameters passed into the portlet, but no matter what I try, the portlet doesn't see the submitted form fields.
    What am I doing wrong?

    The Form portlrts needs to be submitted using the call interface API given in the edit screen of the page.
    In order to get the same, Goto Navigator -> Providers -> Locally Built Providers -> Click on your Provider Link -> Here you see "Call Interface Show".
    Click on the link and get the URL Interface shown also with example (make sure to pass the module_id as a parameter):
    For E.g. i invoke my portlet as,
    http://pvasista-pc.idc.oracle.com/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1144663114&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=P_EMPID&p_arg_values=' + 100;
    Here i pass the parameter p_arg_names to 100. and all other parameters are required.

  • Symbol error when submitting form

    experiencing a symbol error when submitting form.

    Hi Gen,
    Unfortunately, the error came from a client who was submitting a form via Mac OS.  He stated that when he attempted to submit he received a symbol error.
    On another note, I did experience issues with periods (.) within another form such as 2009.01 and 2011.25.  When I downloaded the files corresponding to the numbers, it wouldn’t allow me to save it with the period (used an underscore instead).
    Warmest regards,
    Delia
    Delia Boyd
    Program Manager, Standards Development
    Executive Office
    AOAC INTERNATIONAL
    481 N. Frederick Avenue, Suite 500
    Gaithersburg, MD 20877-2417
    301-924-7077 x126
    301-924-7089 - Fax
    [email protected]<mailto:[email protected]>
    www.aoac.org<http://www.aoac.org/>
    cid:[email protected]
    127th AOAC Annual Meeting & Exposition
    Palmer House Hilton
    Chicago, Illinois
    August 25-28, 2013
    For more information visit our website
    at: http://www.aoac.org/meetings1/127th_annual_mtg/main_2.htm
    þ Please consider the environment before printing this email.
    ...you will see it when you believe it!

  • Submitting form via button click

    Hi, i have a following code and it doesnt work and i dont know why
    <jsp:useBean id="pageinfo" class="zrna.PageInfo" scope="session"/>
    <jsp:setProperty name="pageinfo" property="*"/>
    <html>
    <head>
    <script type="text/javascript">
         function clickEvent(form,md,wrkOn)
              form.mode.value = md;
              form.workingOn.value = wrkOn;
              form.submit();
         function m(form){return true;}
    </script>     
    </head>
    <form action="index.jsp" method=get >
         <input type="hidden" name="mode" value="">
         <input type="hidden" name="workingOn" value="">
         <input type="submit" value="Add" onclick="clickEvent(this.form,'add','Student')">
         <input type="submit" value="Alter" onclick="clickEvent(this.form,'alter','Student')">
         <input type="submit" value="Done" onclick="clickEvent(this.form,'general','')">
    </form>          
    So im trying to change jsp bean properties of pageinfo thru submiting form and it doesnt work. when button is clicked the page goes blank. What am i missing?

    is this page you posted "index.jsp"?
    Not sure offhand, but could the form submit before onclick fires? If so, change them to button types, not submit types.
    The bean has those named fields? Public get/set methods?
    Does useBean have to be this?
    <jsp:useBean id="pageinfo" class="zrna.PageInfo" scope="session">
    <jsp:setProperty name="pageinfo" property="*"/>
    </jsp:useBean>

  • Editing submitted forms

    Are users able to edit their forms after submission and resubmit?

    No, they are not able to edit a submitted form.
    If, however, you have enabled the Save feature, and your respondents have only Saved, not Submitted, then they can pull the saved form up, edit it, and then Submit when the form is all correct/complete.
    Brian

  • Submitted form emtpy under Acrobat Reader 9 (Mac OS X only)

    Hi
    I have a problem sending a form by a submit button (also by scripting) to a webserver. I'd like to submit the form as a PDF (not FDF or anything else).
    I either used a submit button or code like below:
    > this.submitForm({ cURL: "sample.org/inbox", cSubmitAs: "PDF"});
    The submit itself seems to work fine, but the submitted form is not posted as a document, but only the request with empty body is sent.
    b This only happens on Adobe Reader 9 on Mac OS X!
    The same document sent on a Windows Adobe Reader 8/9 works fine and sends the entire document.
    This thread is related to http://www.adobeforums.com/webx/.59b6abf5, but I now realized the problem appears only under Mac OS X and not under Windows.
    Did anybody make similar experiences or has a solution for the problem? Is it maybe a security thing?
    Thanks in advance
    Daniel

    Hi Onewizard,
    I tried and checked this on different version of Acrobat and Reader however not able to replicate this behavior. I am on MAC 10.6.8

  • Error Submitting form

    Anyone getting this error while submitting form.My process looks good . Same connection works for other form but not for this form.Any help please its urgent

    Here is something new i found.The process which worked i tried to attach the form (pdf form) from my other process which showed me error while submitting form and i get the same error when i use tht form in the process which worked...
    why is this so any thoughts???

Maybe you are looking for