DW cs4 php form redirects to index, not thank you

Hi, I want my form to go to the thank you page and it goes to the homepage. Thanks for your help in advance!
Libby
      <td bgcolor="#FFFFFF"><form id="form1" name="form1" method="post" action="/gdform.php">
        <span id="sprytextfield1">
        <label for="Name">Name</label>
        <input name="Name" type="text" id="Name" size="60" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span>
        <p><span id="sprytextfield2">
        <label for="Address">Address</label>
        <input name="Address" type="text" id="Address" size="58" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></p>
        <p><span id="sprytextfield3">
        <label for="City">City</label>
        <input name="City" type="text" id="City" size="35" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></p>
        <p><span id="sprytextfield4">
        <label for="State">State</label>
        <input name="State" type="text" id="State" size="6" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></p>
        <p><span id="sprytextfield5">
        <label for="Zip">Zip</label>
        <input name="Zip" type="text" id="Zip" size="10" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></p>
        <p><span id="sprytextfield6">
        <label for="Name on PayPal Account">Name on PayPal Account</label>
        <input type="text" name="Name on PayPal Account" id="Name on PayPal Account" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></p>
        <p>
          <label for="Message">Message</label>
          <textarea name="Message" id="Message" cols="55" rows="5"></textarea>
        </p>
        <p>
          <label for="Submit"></label>
          <input type="submit" name="button" id="button" value="Submit" />
        </p>
        <input type="hidden" name="receipient" id="receipient" />
        <input name="hiddenField" type="hidden" id="hiddenField" value="thankyou.html" />
      </form>

Gary,
Here is the code that I have for another site. This file was NOT in the site folder that I am working on now. I just copied one there in case needed.
Lib
<?php
    $request_method = $_SERVER["REQUEST_METHOD"];
    if($request_method == "GET"){
      $query_vars = $_GET;
    } elseif ($request_method == "POST"){
      $query_vars = $_POST;
    reset($query_vars);
    $t = date("U");
    $fp = fopen("../data/gdform_$t","w");
    while (list ($key, $val) = each ($query_vars)) {
     fputs($fp,"<GDFORM_VARIABLE NAME=$key START>\n");
     fputs($fp,"$val\n");
     fputs($fp,"<GDFORM_VARIABLE NAME=$key END>\n");
     if ($key == "redirect") { $landing_page = $val;}
    fclose($fp);
    if ($landing_page != ""){
header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
    } else {
header("Location: http://".$_SERVER["HTTP_HOST"]."/");
?>

Similar Messages

  • cfif form.secret_word EQ #session.secretWord# thank you  cfelse sorry /cfif  

    If users enter the secret_word which coincides with the
    session.secretWord then the form can continue and do its
    validating. If not the form stops and the cfelse message is shown.
    The cfif code is here:
    <cfif form.secret_word EQ #session.secretWord#>
    Thank you for your message.
    <cfelse>
    Sorry, the secret word you entered in the field does not
    match the word in the image
    Please hit your back button</cfif>
    My actionpage is here and I would be very greatful if someone
    could show me where the cfif should go. Thanks:
    <cfinclude template="topnav.cfm">
    <!--- Must create this default structure or we pull an
    error --->
    <cfparam name="session.contact_nfo" default="">
    <cfif NOT IsStruct(session.contact_nfo)>
    <cfset session.contact_nfo = StructNew()>
    </cfif>
    <!-- Now we create default variable using cfparam -->
    <cfparam name="Form.terms" default="NO">
    <cfparam name="session.contact_nfo.Name" default="">
    <cfparam name="Form.Country" default="">
    <cfparam name="Form.City" default="">
    <cfparam name="Form.Telephone" default="">
    <cfparam name="session.contact_nfo.email" default="">
    <cfparam name="session.contact_nfo.comments"
    default="">
    <!-- Now we clear the Session of any Values to allow us to
    place our new form Values passed from our form page -->
    <cfset StructClear(session.contact_nfo)>
    <!-- Now we are placing our Form Values into the Session
    -->
    <cfset session.contact_nfo.terms= form.terms>
    <cfset session.contact_nfo.Name= form.Name>
    <cfset session.contact_nfo.email= form.email>
    <cfset session.contact_nfo.comments= form.comments>
    <!-- Now we are going to do our Error Checking first off
    by creating a value of nothing for the variable we are calling
    Errors -->
    <cfparam name="errors" type="string" default="">
    <!-- As we check for Errors if we find one we place it in
    our List to display to our user making it easy for the end-user to
    correct as they can see the error -->
    <!-- Notice we are not validating the checkbox as it is
    not a required form field -->
    <cfif form.Name EQ "">
    <cfset errors = errors & "<li>You Forgot to
    enter your name!</li>">
    </cfif>
    <!-- Checking the email is a little more complicated so we
    use a regular expression to check and see if there is a email
    address and also is it formed properly -->
    <cfif NOT
    REFindnocase("^[-_!a-z0-9\.]+@([-_a-z0-9]+\.)+[a-z]{2,6}$",
    email)>
    <cfset errors = errors & "<li
    class=""errors"">Your Email Address seems
    incorrect?</li>">
    </cfif>
    <cfif form.comments EQ "">
    <cfset errors = errors & "<li
    class=""errors"">You Forgot to enter a comment!</li>">
    </cfif>
    <cfif errors NEQ "">
    <!-- Here we are collecting the Error Message generated
    by our code and placing them into a list for the user to see -->
    <TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR><P> <TD ALIGN="Left" VALIGN="Top">You
    have some errors in your form submission, please try
    again<br>
    <cfoutput>#errors#</cfoutput></td></P>
    </tr>
    </table>
    <!-- Also take note that the form action is now different
    in that it is carrying the applications session with it which we
    need to make our Application.cfm file work with the action. -->
    <cfoutput>
    <form method="post"
    action="action_form.cfm?#session.UrlToken#">
    <P><TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR> <TD ALIGN="Left" VALIGN="Top">
    <!-- This is how we place our session values into the
    form field also important to note the because we used cfparam in
    the start of this page to assign a default value of "" if there was
    no value originally entered in the form than it will show no value
    here. If we did not use the cfparam tag we would now show an error
    as the session would go looking for a non-existant value -->
    <P>Name: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Name"
    SIZE="40" value="#session.contact_nfo.Name#"></P>
    <P>Country:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Country"
    SIZE="40" value="#Form.Country#"></P>
    <P>City:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="City"
    SIZE="40" value="#Form.City#"></P>
    <P>Telephone:<br>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="Telephone" SIZE="40" value="#Form.Telephone#"></P>
    <P>E-mail: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Email"
    SIZE="40" value="#session.contact_nfo.email#"></P>
    </P>
    <P>Comments: [*]<BR>
    <textarea cols="40" size="40" class="ftforminputsmall"
    rows="2"
    name="comments">#session.contact_nfo.comments#</textarea></P>
    <P>Booking dates:<br>
    <P>From:
    <select name="day" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.day#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="month" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.month#</option></cfloop>
    </select>
    <select name="year" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#">#form.year#</option>
    </cfloop>
    </select>
    </P>
    <P>To:
    <select name="dayto" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.dayto#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="monthto" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.monthto#</option></cfloop>
    </select>
    <select name="yearto" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#"
    selected="selected">#form.yearto#</option>
    </cfloop>
    </select>
    <P>
    <input name="Submit" type="submit"
    CLASS="ftforminputsmall" value="Submit">
    </P>
    </table>
    </form>
    </cfoutput>
    <!-- If no errors were detected we abort the previous code
    and show the next code section -->
    <cfabort>
    </cfif></td></tr>

    Right I´ve put in the cfparams and the cfif at the top
    of the page after the cfinclude.
    However if the word is wrong the page still executes which it
    shouldn´t. It is confusing with all the cfifs but if the
    secret word is wrong the "sorry" message should be shown and the
    page stops (maybe I need cfabort or cfexit?) The message is being
    shown but the page continues. Here is the code:
    <cfinclude template="topnav.cfm">
    <cfparam name="session.secretWord" default="">
    <cfparam name="Form.secret_word" default="">
    <cfif form.secret_word EQ #session.secretWord#>
    Thank you for your message.
    <cfelse>
    Sorry, the secret word you entered in the field does not
    match the word in the image
    Please hit your back button</cfif>
    <!--- Must create this default structure or we pull an
    error --->
    <cfparam name="session.contact_nfo" default="">
    <cfif NOT IsStruct(session.contact_nfo)>
    <cfset session.contact_nfo = StructNew()>
    </cfif>
    <!-- Now we create default variable using cfparam -->
    <cfparam name="Form.terms" default="NO">
    <cfparam name="session.contact_nfo.Name" default="">
    <cfparam name="Form.Country" default="">
    <cfparam name="Form.City" default="">
    <cfparam name="Form.Telephone" default="">
    <cfparam name="session.contact_nfo.email" default="">
    <cfparam name="session.contact_nfo.comments"
    default="">
    <!-- Now we clear the Session of any Values to allow us to
    place our new form Values passed from our form page -->
    <cfset StructClear(session.contact_nfo)>
    <!-- Now we are placing our Form Values into the Session
    -->
    <cfset session.contact_nfo.terms= form.terms>
    <cfset session.contact_nfo.Name= form.Name>
    <cfset session.contact_nfo.email= form.email>
    <cfset session.contact_nfo.comments= form.comments>
    <cfparam name="errors" type="string" default="">
    <cfif form.Name EQ "">
    <cfset errors = errors & "<li>You Forgot to
    enter your name!</li>">
    </cfif>
    <cfif NOT
    REFindnocase("^[-_!a-z0-9\.]+@([-_a-z0-9]+\.)+[a-z]{2,6}$",
    email)>
    <cfset errors = errors & "<li
    class=""errors"">Your Email Address seems
    incorrect?</li>">
    </cfif>
    <cfif form.comments EQ "">
    <cfset errors = errors & "<li
    class=""errors"">You Forgot to enter a comment!</li>">
    </cfif>
    <cfif errors NEQ "">
    <!-- Here we are collecting the Error Message generated
    by our code and placing them into a list for the user to see -->
    <TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR><P> <TD ALIGN="Left" VALIGN="Top">You
    have some errors in your form submission, please try
    again<br>
    <cfoutput>#errors#</cfoutput></td></P>
    </tr>
    </table>
    <!-- basically the same form we used in form.cfm -->
    <cfoutput>
    <form method="post"
    action="action_form.cfm?#session.UrlToken#">
    <P><TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR> <TD ALIGN="Left" VALIGN="Top">
    <P>Name: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Name"
    SIZE="40" value="#session.contact_nfo.Name#"></P>
    <P>Country:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Country"
    SIZE="40" value="#Form.Country#"></P>
    <P>City:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="City"
    SIZE="40" value="#Form.City#"></P>
    <P>Telephone:<br>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="Telephone" SIZE="40" value="#Form.Telephone#"></P>
    <P>E-mail: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Email"
    SIZE="40" value="#session.contact_nfo.email#"></P>
    </P>
    <P>Secret word: [*]<br>
    <cfinvoke webservice="
    http://www.easycfm.com/webservices/captcha.cfc?wsdl"
    method="generateCaptcha"
    returnvariable="easyCaptcha">
    <cfinvokeargument name="height" value="100"/>
    <cfinvokeargument name="YPos" value="20"/>
    </cfinvoke> </P>
    <P><cfset session.secretWord =
    easyCaptcha.CAPTCHAWORD>
    <cfoutput>
    <img src="#easyCaptcha.IMAGE#"
    border="0"></cfoutput></P>
    <P><div="label1"> Please retype the Secret Word
    in the field below. This is a simple security
    matter to protect the information we receive through this
    form.</div></P>
    <P>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="secret_word" SIZE="40"></P>
    <P>Comments: [*]<BR>
    <textarea cols="40" size="40" class="ftforminputsmall"
    rows="2"
    name="comments">#session.contact_nfo.comments#</textarea></P>
    <P>Booking dates:<br>
    <P>From:
    <select name="day" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.day#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="month" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.month#</option></cfloop>
    </select>
    <select name="year" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#">#form.year#</option>
    </cfloop>
    </select>
    </P>
    <P>To:
    <select name="dayto" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.dayto#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="monthto" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.monthto#</option></cfloop>
    </select>
    <select name="yearto" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#"
    selected="selected">#form.yearto#</option>
    </cfloop>
    </select>
    <P>
    <input name="Submit" type="submit"
    CLASS="ftforminputsmall" value="Submit">
    </P>
    </table>
    </form>
    </cfoutput>
    <!-- If no errors were detected we abort the previous code
    and show the next code section -->
    <cfabort>
    </cfif></td></tr>
    <!-- In this next section we can now take our form values
    and do what ever we decide to do with them i.e. mailing them to
    ourselves, placing them into a database, or a combination of both.
    In this section it is wise to let the user know that his
    information has been received as coldfusion has no way of letting
    them know ---->
    <cfmail server="" username="" password="" to="" from=""
    subject="" type="">
    <table><tr>
    <td align="center" bgcolor="##006600"
    class="ftbody"><span class="ftbody2"><strong
    class="label1">Telephone:
    </strong></span></td>
    <td align="center" bgcolor="##006600"
    class="ftbody"><span class="ftbody2"><strong
    class="label1"><cfoutput>#Trim(FORM.name)#</cfoutput></strong></span></td>
    </tr></cfmail>

  • PHP Form Redirect without Header function

    I need help with a PHP form that needs to redirect to a thankyou page upon sending. I have tried the header function but it doesnt work because i have multiple PHP references throughout the page that prevent the header function from working. Is there another way to redirect once the email sends? I am leaving out the rest of the form and functions but this is what i have currently that affects the message sending:
    In form page requestquote.php:
    <? include('sendemail.php'); if($cmsg) echo"<h1>".$cmsg."</h1>"; else { ?>
    In sendemail.php:
    mail($recipient, $subject, $formcontent, $mailheader) or die("There was an error in your request. Please go back and try again.");
    $cmsg="Thank for you requesting a quote. A Blue Grace Representative will contact you shortly." ;
    Thanks,
    Ben

    I need the thankyou page for conversion tracking on the website, which cant be done with a simple message. Thats what i have currently in the form.
    If i put the code in the form action area, will it redirect only upon sending? I want to make sure it goes through the process of validating all the fields and sending the email before it redirects.
    Thanks,
    Ben

  • 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

  • PHP form submission Problem

    Dear all,
    PHP enquiry form submission some error is comes
    "Parse error: syntax error, unexpected T_STRING in /home/newtocli/public_html/en45/send_form_email.php on line 11"
    Please help me
    WEBLINK
    PHP goes like this
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>PHP Form</title>
    </head>
    <body><?php
    if(isset($_POST['email'])) {
        // EDIT THE 2 LINES BELOW AS REQUIRED
        $email_to = "[email protected]";
        $email_subject = "Your email subject line";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['first_name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['telephone']) ||
                        !isset($_POST['company_name']) ||
            !isset($_POST['comments'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['first_name']; // required
        $email_from = $_POST['email']; // required
        $telephone = $_POST['telephone']; // not required
              $last_name = $_POST['company_name']; // required
        $comments = $_POST['comments']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(!preg_match($string_exp,$company_name)) {
        $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "First Name: ".clean_string($first_name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Telephone: ".clean_string($telephone)."\n";
              $email_message .= "Company Name: ".clean_string($company_name)."\n";
        $email_message .= "Comments: ".clean_string($comments)."\n";
    /* Redirect visitor to the thank you page */
    header('Location:gt.html');
    exit();
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    <!-- include your own success html here -->
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>
    </body>
    </html>

    some error now
    Parse error: syntax error, unexpected T_STRING in /home/newtocli/public_html/send_form_email.php on line 5
    My form like this
    <form name="contactform" method="post" action="send_form_email.php">
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="first_name" maxlength="50" size="30" value="Name*:">
                                                            </div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="email" maxlength="80" size="30" value="E-mail*:">
                                                           </div>
                                                                          <div class="clear"><!-- --></div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="telephone" maxlength="30" size="30" value="Phone.:">
                                                            </div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="company_name" maxlength="50" size="30" value="Company:">
                                                            </div>
                                                                          <div class="clear"><!-- --></div>
                                                                          <div class="field textarea"><div>
                                                                            <textarea  name="comments"></textarea>
                                </div></div>
                                                                          <div class="submit">
                                                                                    <p>* - Required fields</p>
                                                                                    <input type="submit" value="Send" />
                                                                          </div>
                                                                </form>

  • Forms - redirect and from variable

    I have 2 questions on forms:
    Question 1
    I am having problems with the results of a form which are
    being sent into the recipient's spam folder since the senders
    address isn't showing up.
    I tried adding in <input type="hidden" name="from"
    value="[email protected]">
    but I am not sure that is the correct way to get the form to
    have some recognizable email address or
    where this should be placed in the code.
    Question2
    I also want to have the form go to a customized thank you
    page rather than the general one that formmail provides.
    I added in <input type=hidden name="redirect" value="
    http://www.center4creativity.org/temp/thankyou.htm">,
    but again I am not sure where this should goin the code of
    the form.
    You can see the most recent version of the form at:
    http://www.center4creativity.org/temp/contact2.htm
    Any help would be really appreciated, I have been trying to
    figure this out for a while now!
    Thanks

    change the name of the email field in the form from
    Email
    to
    email
    and formmail clone will use it as the "from" and "reply to"
    in the outgoing
    email. You'll probably have to also change the case in the
    javascript
    validation behavior.
    <input name="Email" type="text" id="Email" size="50">
    <input name="email" type="text" id="email" size="50">
    on the next problem- I think it's a syntax problem in the
    table structure.
    find this, at the start of the form code.
    <table width="325" border="0" cellpadding="2"
    cellspacing="4">
    <input type="hidden" name="recipient"
    value="[email protected]">
    <!--This is what will appear in subject line of email
    with response sent
    to Jeannie-->
    <input type=hidden name="subject" value="Contact Form
    Response from
    Center for Creativity"><br>
    <!--This is will appear in subject line of email with
    response sent to
    Jeannie-->
    <input type=hidden name="redirect"
    value="
    http://www.center4creativity.org/temp/thankyou.htm">
    <input type="hidden" name="from"
    value="[email protected]">
    <p>
    <tr valign="top">
    <td colspan="2">
    the stuff between <table> and <tr> is in no man's
    land. There can't be other
    tags there. Move it to after the <TD> tag, so it's
    inside a table cell. And
    remove the <P> tag. And remove the hidden field for
    "from" because it ain't
    gonna do nuthin'.
    <table width="325" border="0" cellpadding="2"
    cellspacing="4">
    <tr valign="top">
    <td colspan="2"> <input type="hidden"
    name="recipient"
    value="[email protected]">
    <input type=hidden name="subject" value="Contact Form
    Response from
    Center for Creativity">
    <input type=hidden name="redirect"
    value="
    http://www.center4creativity.org/temp/thankyou.htm">
    google on formmail clone instructions
    or go to
    http://scriptarchive.com
    -->formmail-->readme for details of all
    the form field names that can control the behavior of the
    form script.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Index not used on view when table stats exist

    Hello,
    I would be grateful if someone comes with ideas on the following problem I'm currently facing.
    I have a table with XMLTYPE data type column:
    sql-->desc ACFBNK_STMT008
    RECID     NOT NULL     VARCHAR2(200)
    XMLRECORD XMLTYPE
    I have a view V_ACFBNK_STMT008 on that table, in which the view columns are defined as extracted tags values from the XMLTYPE field, e.g. for the view field N_BOOKING_DATE:
    numcast(extractValue(xmlrecord,'/row/c25')) "N_BOOKING_DATE"
    (note: numcast is just a simple function that returns TO_NUMBER of its input argument)
    I have also a function-based index on this field of the table:
    CREATE INDEX train4.NIX_ACFBNK_STMT008_C25
    ON train4.ACFBNK_STMT008("TRAIN4"."NUMCAST"(extractValue(xmlrecord,'/row/c25')))
    And so, I'm executing on the view the following SQL statement:
    SELECT RECID FROM V_ACFBNK_STMT008 WHERE (N_BOOKING_DATE > TO_NUMBER('20070725'));
    Now, the problem comes: when statistics exist on the view base table (that is ACFBNK_STMT008) then the above statement is not using the index and is making a "table access full". When I delete the statistics for the table then the SQL runs fast with an "index range scan".
    Which is further strange - when I change the ">" operand with a "=" the SQL statement correctly captures the index regardless of whether or not statistics exist.
    I've tried to manually rewrite the SQL and include the "numcast" function in it:
    SELECT RECID FROM TRAIN4.V_ACFBNK_STMT008 WHERE ( N_BOOKING_DATE>train4.numcast(TO_NUMBER( '20010725' ) ));
    And in this way the index is used OK even with statistics existing!
    But regretfully I don't have a way to change the application and the SQL, so the only things I can change is the view and/or the index.
    Thank you in advance,
    Evgeni
    P.S.
    I've tried gathering statistics in both the following ways but still the problem persists:
    sql-->analyze table train4.ACFBNK_STMT008 compute statistics;
    sql-->exec dbms_stats.gather_table_stats(ownname=>'TRAIN4', tabname=>'ACFBNK_STMT008', CASCADE=>TRUE, partname=>NULL);

    Oh, and I forgot to mention: I cannot change the view definition as well (for example, to remove the "numcast"), since every now and then the application would recreate it automatically with the same code. :(

  • Exchange Indexing Not Working For Some Users

    I know this is Exchange 2013 forum but I see that Exchange 2010 has been removed so I'm hoping someone can still help me out. We are planning to soon move to Exchange 2013 but in the meantime I've been having some indexing/search issues.
    We have a particular mail database for one of our departments and after the database was moved to a new disk, the indexing has never been the same since. To remedy this, I had enabled the Windows search feature on the application server (we have Outlook
    2013 hosted as a RemoteApp application with the use of user profile disks) and had them switch to cached mode which seems to be hit or miss. I also have tried following the recommended procedure of stopping the search indexer service on Exchange and then I
    deleted the catalog data folder and then restarted the service to have it rebuild the indexes for the particular database. I have also confirmed through the management shell that the index is in a healthy state for the database.
    I have now requested for the user that is testing to disabled cached mode to see if the indexes on the Exchange server will be better and I am awaiting feedback but I thought I would be preemptive and see what any suggestions you all may have with dealing
    with Outlook / search indexing.
    Thank you in advance for your time!

    Hi Scott,
    Thank you for your question.
    Are there any Event IDs in application log which is related to search? I suggest we post those Event IDs to
    [email protected] for our troubleshooting.
    Did the issue occur on OWA?
    Run the following command to check the database status:
    Get-MailboxDatabaseCopyStatus -Server <servername>
    We could dismount the specific database then mount the specific database, then rebuild the Indexing to check if the issue persist.
    We could refer to the following link:
    http://blogs.technet.com/b/mspfe/archive/2012/04/27/how-to-troubleshoot-issues-with-exchange-2010-search.aspx
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • How do I get a form to redirect to a thank you page CS4

    I have the form working using the server
    provided script:
    <form method=post action="http://www.iinet.net.au/bin/mail">
    <input type=hidden name="destination" value="[email protected]">
    But the result on submission has the email going to the right place but I want to replace the host server standard page with my thankyou.php page.
    The host instructions (https://iihelp.iinet.net.au/Homepage_mail-handler_script#toc_3) refer to mailhandler fields - specifically
    Resultpage
    A URL to a page that the client should see once the form is completed. If omitted a standard page will appear saying the form has been submitted
    What is this and what is the script I need to add into my dreamweaver cs4 source code in the feedback page and where abouts do I insert it so I still get the email containing the form contents and the user gets a thankyou page?
    Cheers

    Hi Bob
    I downloaded the free DIY script but have no idea which bit I need to use to add to what I have made in Dreamweaver - it looks like this is an alternative form but I only need the piece of script to add to mine to onsubmitform call up a thankyou page.
    Apologies I don't code I dont even use dreamweaver other than this specific situation and I rely on the DW help which has me asking the forum for the script as anything outside of adobe instruction do a then be = c or cut and paste x in this spot to do Y is probably out of my depth.
    If I really knew what I was doing then the tectite site would be great but if their formmail has the capability as they describe below how do I get DreamWeaver forms to have the same redirect the user capability?
    Or am I expecting to much from DW? If DW cannot do this then I will accept that the server default page is it (as crude as it looks)- at least the end result is success.
    I do appreciate your time on this - Cheers
    below is extract from tectite site on Redirecting the User
    This How-To guide explains how to redirect the user to a custom URL after they've submitted your form.
    Redirecting the User
    All versions of FormMail display a default page to the user if you don't specify something else.
    There are two possible outcomes to a user's form submission:
    Success; or,
    Failure (I do not need this for DW as it is already validated before submit form)
    Static Pages
    In the case of a successful form submission, FormMail defaults to a generic "Thank you" page. In the case of a failed form submission, FormMail defaults to a generic error page.
    You can choose a different page by specifying a URL with "good_url" and "bad_url" fields, for success, and failure, respectively.
    Like this:
    <input type="hidden" name="good_url"    value="http://yoursite.com/thanks.htm" />
    <input type="hidden" name="bad_url"    value="http://yoursite.com/error.htm" />
    These are hidden fields that you add to your HTML form. You don't need to change the PHP code in FormMail to get redirection to work.
    Template Pages
    The "good_url" feature provides you with a static results page. If you'd like to show some of the information the user submitted, you can use a field called "good_template".
    To do this, you need to set the TEMPLATEDIR or TEMPLATEURL setting in FormMail's configuration. Also, download the Sample Good Template and read the instructions in there.
    There's a similar feature for error handling called "bad_template". However, error handling is more complicated so we've provided a separate HOW TO guide on Advanced Error Handling.

  • Code issue in php form - submit button not sending email

    Created a form that was originally supposed to open up to 2 pages depending on what was clicked. Clear would send you to an error page, and submit would send you to a thank you page. Decided that was a waste and so did not create the html pages. BUT, wanted the form info for the contact page.
    Here is the issue: it will not submit when submit is clicked. It clears when you click clear, but there's no email coming from the site via submit.
    Do I need to edit the php form code if I don't want the other pages? I've looked at what I have but I don't see if there is a form error or anything here. Here is the code for anyone who wants to have a look. Thanks in advance.
    <?php
    // get posted data into local variables
    $EmailFrom = "EMAIL FROM WEP PAGE - CONTACT - ";
    $EmailTo = "[email protected]";
    $Subject = "EMAIL FROM jennylowhar.com - CONTACT -";
    $name = Trim(stripslashes($_POST['name']));
    $telephone = Trim(stripslashes($_POST['telephone']));
    $email = Trim(stripslashes($_POST['email']));
    $comments = Trim(stripslashes($_POST['comments']));
    // validation
    $validationOK=true;
    if (Trim($name)=="") $validationOK=false;
    if (Trim($email)=="") $validationOK=false;
    if (!$validationOK) {
      print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
      exit;
    // prepare email body text
    $Body = "";
    $Body .= "name: ";
    $Body .= $name;
    $Body .= "\n";
    $Body .= "telephone: ";
    $Body .= $telephone;
    $Body .= "\n";
    $Body .= "email: ";
    $Body .= $email;
    $Body .= "\n";
    $Body .= "comments: ";
    $Body .= $comments;
    $Body .= "\n";
    // send email
    $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");
    // redirect to success page
    if ($success){
      print "<meta http-equiv=\"refresh\" content=\"0;URL=thankyou.html\">";
    else{
      print "<meta http-equiv=\"refresh\" content=\"0;URL=error.php\">";
    ?>

    I'm confused by that, but I know this works.
    $fname=STRIPSLASHES($_POST['fname']);
    $lname=STRIPSLASHES($_POST['lname']);
    $title=STRIPSLASHES($_POST['title']);
    $company=STRIPSLASHES($_POST['company']);
    $street=STRIPSLASHES($_POST['street']);
    $town=STRIPSLASHES($_POST['town']);
    $zip=STRIPSLASHES($_POST['zip']);
    $phone=STRIPSLASHES($_POST['phone']);
    $fax=STRIPSLASHES($_POST['fax']);
    $county=STRIPSLASHES($_POST['county']);
    $phone=STRIPSLASHES($_POST['phone']);
    $email=STRIPSLASHES($_POST['email']);
    $comments=STRIPSLASHES($_POST['comments']);
    $date=STRIPSLASHES($_POST['date']);
    $time=STRIPSLASHES($_POST['time']);
    $location=STRIPSLASHES($_POST['location']);
    $from="$email";
    $to="putemailhere";
    $subject="Submission from Contact Form";
    $msg= "This is a submission from yoururl.com.\n\n"
    . "Clients Name: $fname . $lname \n"
    . "Title: $title\n"
    . "Company Name: $company\n"
    . "Street Address: $street\n"
    . "Town:$town\n"
    . "Zip: $zip\n"
    . "Telephone: $phone\n"
    . "Email Address: $email\n"
    . "Comments: $comments\n";
    mail($to, $subject, $msg, 'From:' .$from);
    PS, go back and edit your origial post and REMOVE your email.
    Gary

  • Why is my php form not sending to my e-mail?

    Here i have the code for my .php document and the code for my html. Why is the form not sending to my e-mail ([email protected])? At one point I had the form sending to my e-mail, but the information that was filled out was not appearing. Now no email is being sent at all. I tried a contact-us.php page with the php email code in the same document and now have the information in seperate documents, but I am getting the same results every which way. I need help I have been checking this over for hours and looking up solutions online but it all is very confusing. PLEASE HELP!
    send.php
    <?php
    if ($_POST['parse_var'] == "contactForm") {
              $emailTitle = 'Scheduele In Home Consultation or General Question';
              $yourEmail = '[email protected]';
              $firstName = $_POST['FirstName'];
              $lastName = $_POST['LastName'];
              $phoneNumber = $_POST['PhoneNumber'];
              $emailAddress = $_POST['EmailAddress'];
              $Message = $_POST['Message'];
              $body = <<<EOD
    <br><hr><br>
              First Name: $firstName <br />
              Last Name: $lastName <br />
              Phone Number: $phoneNumber <br />
              Email Address: $emailAddress <br />
              Message: $Message <br />
    EOD;
              $headers = "From: $emailAddress\r\n";
              $headers .= "Content-type: text/html\r\n";
              $success = mail("$yourEmail", "$emailTitle", "$body", "$headers");
              $sent = "Thank you! Your message has been sent.";
    ?>
    contact-us.html
          <form action="send.php" method="post" name="contactForm" id="contactForm">
            <table width="75%" align="left" cellpadding="5" id="contactustable">
              <tr>
                <td><label for="FirstName"></label>
                  <span id="sprytextfield1">
                  First Name<br>
                  <br>
                  <input type="text" name="FirstName" id="FirstName" value="<?php print "$firstName"; ?>">
                <span class="textfieldRequiredMsg">Please enter your first name.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="LastName"></label>
                  <span id="sprytextfield2">
                  Last Name<br>
                  <br>
                  <input type="text" name="LastName" id="LastName" value="<?php print "$lastName"; ?>">
                <span class="textfieldRequiredMsg">Please enter your last name.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="PhoneNumber"></label>
                  <span id="sprytextfield3">
                  Phone Number<br>
                  <br>
                  <input type="text" name="PhoneNumber" id="PhoneNumber" value="<?php print "$phoneNumber"; ?>">
    <span class="textfieldInvalidFormatMsg">Please enter your phone number.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="EmailAddress"></label>
                  <span id="sprytextfield4">E-mail Address<br>
                  <br>
                  <input type="text" name="EmailAddress" id="EmailAddress" value="<?php print "$emailAddress"; ?>">
                <span class="textfieldRequiredMsg">Please enter your e-mail address.</span><span class="textfieldInvalidFormatMsg">Example: [email protected].</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td height="255"><label for="Message"></label>
                  <span id="sprytextarea1">
                  Message:<br>
                  <br>
                  <textarea name="Message" cols="85%" rows="12" id="Message"><?php print "$Message"; ?></textarea>
                <span class="textareaRequiredMsg">A value is required.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><input type="submit" name="Reset" id="Reset" value="Reset">
                  <input type="hidden" name="parse_var" id="parse_var">             
                <input type="submit" name="Submit" id="Submit" value="Send Message"></td>
              </tr>
              <tr>
                <td><?php print "$sent"; ?></td>
              </tr>
            </table>
          </form>

    tonyb1117 wrote:
    It works! Thank you very much for pointing that out "bregent" and "osgood_". I have one more small problem though, when signing out my contact form the phone number field does not accept any phone number?
                  <input type="text" name="PhoneNumber" id="PhoneNumber" value="<?php print "$phoneNumber"; ?>">
    <span class="textfieldInvalidFormatMsg">Please enter your phone number.</span></span></td>
    Any solutions?
    I don't know anything about Spry validation of form fields but I think it requires you to set the type of validation, i.e., text, email, number.
    Have you looked in that direction.
    I presume what youre saying is when you hit send you get a red message saying phone number is not valid or something along those lines?

  • Php form not sending

    i have been lately having trouble with a php form. it will not send the form out to me when they submit it. is there something wrong with the coding? it works for me.

    future-architect wrote:
    Is there anybody here that knows how to do php coding?
    Yes, but you should post questions about PHP in the right forum: Dreamweaver Application Development. Also, don't just keep adding new questions to an old thread. Everything might seem related to you, but other people see a thread that has already received a lot of replies, and are likely to skip it unless they have already been involved. Take a look at this post about how to get help quickly.

  • Form post (GET/POST), with 301 redirect response is not redirecting.

    A fairly simple Form, with a GET request is not following the response redirect chain:
    See:
    https://www.openrent.co.uk/
    A search for "London" calls:
    [16:07:18.622] GET https://www.openrent.co.uk/search/SearchByDistance?searchBox=london&lng=&lat=&within= [HTTP/1.1 302 OK 378ms]
    [16:07:19.030] GET https://www.openrent.co.uk/properties-to-rent?term=london [HTTP/1.1 301 OK 46ms]
    [16:07:19.081] GET https://www.openrent.co.uk/properties-to-rent/london?term=london [0ms]
    But the page doesn't redirect - this has just stopped working today.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Form Redirect not working

    Hi,
    I've created a couple of forms. When the user hits submit on the first form, it redirects them to the second form. And then the Second form redirects to itself, effectively giving the user a new blank form to enter more info. This works fine when I test it on Forms Central. But on my website, where I've embedded the code for the first form, the user hits submit and they see the confirmation page minus the redirect line - and of course it doesn't redirect to the second form. For testing, I put the embedded code for form number 2 on a page and I see the same results - no redirecting back to an empty form.  This was working last week - has something changed?
    Thanks,
    Elly

    I think I'm  having the same problem.  We are using the form for respondents to complete multiple times.  Say for example, they have 10 to submit.   I was hoping that that it would redirect the respondent back to the beginning so that they can fill out another form.  But I understand from your answer that it still won't do that.
    First of all is that what you are saying?  Second, any idea as to when we might be able to do that?  You mentioned maybe Aug or Sept.  

  • Question regarding php form

    Hi everyone and thank you for  reading my question, I have whats hopefully a quick and easy fix: I  followed the instructions on the dreamweaver help site to make a contact  form. Instaed of having it redirected to a conformation page I would  just like it to say "thank you, message sent" below the submit button.  Can you let me know how I can make that possible?
    Here is the  contact.php that i have now
    <!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html  xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta  http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>contact.php</title>
    </head>
    <body><?php
    //--------------------------Set  these paramaters--------------------------
    // Subject of email sent to  you.
    $subject = 'Questions submitted from website';
    // Your  email address. This is where the form information will be sent.
    $emailadd  = 'mail@[email protected]';
    // Where to  redirect after form is processed.
    $url = 'http://www.wb-apts.com/index.html';
    // Makes  all fields required. If set to '1' no field can not be empty. If set to  '0' any or all fields can be empty.
    $req = '1';
    //  --------------------------Do not edit below this  line--------------------------
    $text = "Results from form:\n\n";
    $space  = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if  ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j  = strlen($key);
    if ($j >= 20)
    {echo "Name of form element $key  cannot be longer than 20 characters";die;}
    $j = 20 - $j;
    for ($i =  1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n',  "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .=  $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0;  URL='.$url.'">';
    ?>
    </body>
    </html>
    Thank you,  thank you, thank you

    Hi
    First please do not post the same question twice, even if they are in different sections of the forum.
    In your php file replace -
    mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
    echo  '<META HTTP-EQUIV=Refresh CONTENT="0;  URL='.$url.'">';
    with
         $success = mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
        if ($success) {
          $responseText =  "Thank you for your contact/feedback!";
        exit();
    Then use javascript to echo the message, (this is jQuery)
    function showResponse(responseText)  {
             $('.response').text(responseText);
    Then in your html include a tag (possibly p tag) with a class of response to display the message.
    No error message is shown here but you should include one in the if($success).
    PZ
    www.pziecina.com

Maybe you are looking for

  • PC54G3 and Windows Vista

    I have a Wireless PCI PC54G3 card that works great in Windows XP. I've installed the RC1 of Windows Vista -just for testing purposses-, but until today MSI did not release a Vista ready driver. I tried with Windows XP one. The driver is detected and

  • How to set/get the initialization vector

    Hi, I have an existing database (built by non-java code) containing encrypted data. I know the algorithm, the key and the initialization vector to use in order to decrypt this data. (This is straight-forward DES encryption.) My problem is that I can'

  • I want to send G.B. song to 3rd party for pro-mixing

    I want to send my G.B. song to a 3rd party for pro-mixing. They need all the single tracks, but in a manner which is in perfect order as the song flows. Is there a way? In wav files

  • I can't convert pdf to word

    i just downloaded the trail of adobe and i am trying to convert pdf to word...but dont know how to get it work

  • VPRS condition in export pricing procedure

    Hi All, I have done the configuration for export sale scenario. I created a complete cycle from sales to Billing and documents are getting created. As there was no VPRS condition in standard pricing procedure for exports (JINEXPO), i have not include