PDF form submit button sends FDF instead of PDF

i have PDF Form created  in Adobe Acrobat XI Pro
i want to send PDF document to webserver
my server code
ob_start();
$file = file_get_contents("php://input"); //Gets binary PDF Data
$time = microtime(true); $newfile = "./customers/" . $time . ".pdf"; //Names file based on the time to the microsecond so nothing gets overwritten.
$worked = file_put_contents($newfile, $file); //Creates File
ob_end_clean();
my problem is that i am getting FDF data, not PDF document.

i investigated and found it works perfect if opened locally in adobe reader, it dont work in opened in chrome browser at website

Similar Messages

  • I created a form and I'm not sure how to make the 'submit' button send me the collected information.

    Hello everybody. I am a web designer (NOT a developer)
    I created a form and I'm not sure how to make the 'submit' button send me the collected information.
    I have used phpform.org/ to custom build a submission form. Then I opened that html in dreamweaver (so that I could edit colors, fonts, and delete the phpform.org advetisement)
    Now I need to link the 'submit button' so that it will e-mail me the completed form.
    (formphp.org wants me to subscribe to a servie that I pay for in order to have the form e-mailed to myself.)
    (after I get the submit button linked to an e-mail I will pull the html of my completed form into Muse- but I don't think that is really relevent)
    I'm sure one of you can help point me in the right direction! I can't write my own code so detailed help is appreciated!
    -Brenna
    The e-mail I would like the form sent to is:
    [email protected]
    Here is the the code for my form 'as is' :
    <!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>Create a Profile</title>
    <link rel="stylesheet" type="text/css" href="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/view.css" media="all">
    <script type="text/javascript" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/view.js"></script>
    </head>
    <body id="main_body" >
              <img id="top" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/top.png" alt="">
              <div id="form_container">
                        <h1><a>Create a Profile</a></h1>
                <form id="form_836144" class="appnitro" enctype="multipart/form-data" method="post" action="">
                        <div class="form_description">
                                  <h2 align="center">Create a Tommy Lemonade Profile</h2>
                                  <p></p>
                        </div>
                          <ul >
                                              <li id="li_1" >
                        <label class="description" for="element_1">Name </label>
                        <span>
                                  <input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/>
                                  <label>First</label>
                        </span>
                        <span>
                                  <input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/>
                                  <label>Last</label>
                        </span>
                        </li>                    <li id="li_23" >
                        <label class="description" for="element_23">Service Provider Type </label>
                        <span>
                                  <input id="element_23_1" name="element_23_1" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_1">Barber</label>
    <input id="element_23_2" name="element_23_2" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_2">Hairstylist</label>
    <input id="element_23_3" name="element_23_3" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_3">Nail Technician</label>
    <input id="element_23_4" name="element_23_4" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_4">Massage Therapist</label>
    <input id="element_23_5" name="element_23_5" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_5">Skin Care</label>
    <input id="element_23_6" name="element_23_6" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_6">Esthetician</label>
    <input id="element_23_7" name="element_23_7" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_7">Make Up Artist</label>
                        </span><p class="guidelines" id="guide_23"><small>Select all that apply.</small></p>
                        </li>                    <li id="li_19" >
                        <label class="description" for="element_19">Top 5 services </label>
                        <div>
                                  <textarea id="element_19" name="element_19" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_19"><small>Please list your top 5 services</small></p>
                        </li>                    <li id="li_20" >
                        <label class="description" for="element_20">List all services you offer & thier starting price </label>
                        <div>
                                  <textarea id="element_20" name="element_20" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_20"><small>please use a new line for each service. You can do this by pressing 'enter' after each starting price.
    </small></p>
                        </li>                    <li id="li_12" >
                        <label class="description" for="element_12">Personal Phone </label>
                        <span>
                                  <input id="element_12_1" name="element_12_1" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_12_1">(###)</label>
                        </span>
                        <span>
                                  <input id="element_12_2" name="element_12_2" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_12_2">###</label>
                        </span>
                        <span>
                                   <input id="element_12_3" name="element_12_3" class="element text" size="4" maxlength="4" value="" type="text">
                                  <label for="element_12_3">####</label>
                        </span>
                        <p class="guidelines" id="guide_12"><small>Only fill in if you want clients to be able to contact you on your personal phone line rather than the phone at your place of employment. </small></p>
                        </li>                    <li id="li_21" >
                        <label class="description" for="element_21">E-mail (Required)  </label>
                        <div>
                                  <input id="element_21" name="element_21" class="element text medium" type="text" maxlength="255" value=""/>
                        </div><p class="guidelines" id="guide_21"><small>Staff at Tommy Lemonade will use this e-mail as your primary contact information. it will also be seen by your potential clients.</small></p>
                        </li>                    <li id="li_6" >
                        <label class="description" for="element_6">Confirm your e-mail (Required)  </label>
                        <div>
                                  <input id="element_6" name="element_6" class="element text medium" type="text" maxlength="255" value=""/>
                        </div><p class="guidelines" id="guide_6"><small>Please re-type your e-mail address</small></p>
                        </li>                    <li id="li_3" >
                        <label class="description" for="element_3">Web Site </label>
                        <div>
                                  <input id="element_3" name="element_3" class="element text medium" type="text" maxlength="255" value="http://"/>
                        </div><p class="guidelines" id="guide_3"><small>If you don't have your own website feel free to link your professional Facebook, Google+ etc... </small></p>
                        </li>                    <li id="li_4" >
                        <label class="description" for="element_4">Place of employment </label>
                        <div>
                                  <input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value=""/>
                        </div>
                        </li>                    <li id="li_2" >
                        <label class="description" for="element_2">Work Address </label>
                        <div>
                                  <input id="element_2_1" name="element_2_1" class="element text large" value="" type="text">
                                  <label for="element_2_1">Street Address</label>
                        </div>
                        <div>
                                  <input id="element_2_2" name="element_2_2" class="element text large" value="" type="text">
                                  <label for="element_2_2">Address Line 2</label>
                        </div>
                        <div class="left">
                                  <input id="element_2_3" name="element_2_3" class="element text medium" value="" type="text">
                                  <label for="element_2_3">City</label>
                        </div>
                        <div class="right">
                                  <input id="element_2_4" name="element_2_4" class="element text medium" value="" type="text">
                                  <label for="element_2_4">State / Province / Region</label>
                        </div>
                        <div class="left">
                                  <input id="element_2_5" name="element_2_5" class="element text medium" maxlength="15" value="" type="text">
                                  <label for="element_2_5">Postal / Zip Code</label>
                        </div>
                        <div class="right">
                                  <select class="element select medium" id="element_2_6" name="element_2_6">
                                  <option value="" selected="selected"></option>
    <option value="Afghanistan" >Afghanistan</option>
    <option value="Albania" >Albania</option>
    <option value="Algeria" >Algeria</option>
    <option value="Andorra" >Andorra</option>
    <option value="Antigua and Barbuda" >Antigua and Barbuda</option>
    <option value="Argentina" >Argentina</option>
    <option value="Armenia" >Armenia</option>
    <option value="Australia" >Australia</option>
    <option value="Austria" >Austria</option>
    <option value="Azerbaijan" >Azerbaijan</option>
    <option value="Bahamas" >Bahamas</option>
    <option value="Bahrain" >Bahrain</option>
    <option value="Bangladesh" >Bangladesh</option>
    <option value="Barbados" >Barbados</option>
    <option value="Belarus" >Belarus</option>
    <option value="Belgium" >Belgium</option>
    <option value="Belize" >Belize</option>
    <option value="Benin" >Benin</option>
    <option value="Bhutan" >Bhutan</option>
    <option value="Bolivia" >Bolivia</option>
    <option value="Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
    <option value="Botswana" >Botswana</option>
    <option value="Brazil" >Brazil</option>
    <option value="Brunei" >Brunei</option>
    <option value="Bulgaria" >Bulgaria</option>
    <option value="Burkina Faso" >Burkina Faso</option>
    <option value="Burundi" >Burundi</option>
    <option value="Cambodia" >Cambodia</option>
    <option value="Cameroon" >Cameroon</option>
    <option value="Canada" >Canada</option>
    <option value="Cape Verde" >Cape Verde</option>
    <option value="Central African Republic" >Central African Republic</option>
    <option value="Chad" >Chad</option>
    <option value="Chile" >Chile</option>
    <option value="China" >China</option>
    <option value="Colombia" >Colombia</option>
    <option value="Comoros" >Comoros</option>
    <option value="Congo" >Congo</option>
    <option value="Costa Rica" >Costa Rica</option>
    <option value="Côte d'Ivoire" >Côte d'Ivoire</option>
    <option value="Croatia" >Croatia</option>
    <option value="Cuba" >Cuba</option>
    <option value="Cyprus" >Cyprus</option>
    <option value="Czech Republic" >Czech Republic</option>
    <option value="Denmark" >Denmark</option>
    <option value="Djibouti" >Djibouti</option>
    <option value="Dominica" >Dominica</option>
    <option value="Dominican Republic" >Dominican Republic</option>
    <option value="East Timor" >East Timor</option>
    <option value="Ecuador" >Ecuador</option>
    <option value="Egypt" >Egypt</option>
    <option value="El Salvador" >El Salvador</option>
    <option value="Equatorial Guinea" >Equatorial Guinea</option>
    <option value="Eritrea" >Eritrea</option>
    <option value="Estonia" >Estonia</option>
    <option value="Ethiopia" >Ethiopia</option>
    <option value="Fiji" >Fiji</option>
    <option value="Finland" >Finland</option>
    <option value="France" >France</option>
    <option value="Gabon" >Gabon</option>
    <option value="Gambia" >Gambia</option>
    <option value="Georgia" >Georgia</option>
    <option value="Germany" >Germany</option>
    <option value="Ghana" >Ghana</option>
    <option value="Greece" >Greece</option>
    <option value="Grenada" >Grenada</option>
    <option value="Guatemala" >Guatemala</option>
    <option value="Guinea" >Guinea</option>
    <option value="Guinea-Bissau" >Guinea-Bissau</option>
    <option value="Guyana" >Guyana</option>
    <option value="Haiti" >Haiti</option>
    <option value="Honduras" >Honduras</option>
    <option value="Hong Kong" >Hong Kong</option>
    <option value="Hungary" >Hungary</option>
    <option value="Iceland" >Iceland</option>
    <option value="India" >India</option>
    <option value="Indonesia" >Indonesia</option>
    <option value="Iran" >Iran</option>
    <option value="Iraq" >Iraq</option>
    <option value="Ireland" >Ireland</option>
    <option value="Israel" >Israel</option>
    <option value="Italy" >Italy</option>
    <option value="Jamaica" >Jamaica</option>
    <option value="Japan" >Japan</option>
    <option value="Jordan" >Jordan</option>
    <option value="Kazakhstan" >Kazakhstan</option>
    <option value="Kenya" >Kenya</option>
    <option value="Kiribati" >Kiribati</option>
    <option value="North Korea" >North Korea</option>
    <option value="South Korea" >South Korea</option>
    <option value="Kuwait" >Kuwait</option>
    <option value="Kyrgyzstan" >Kyrgyzstan</option>
    <option value="Laos" >Laos</option>
    <option value="Latvia" >Latvia</option>
    <option value="Lebanon" >Lebanon</option>
    <option value="Lesotho" >Lesotho</option>
    <option value="Liberia" >Liberia</option>
    <option value="Libya" >Libya</option>
    <option value="Liechtenstein" >Liechtenstein</option>
    <option value="Lithuania" >Lithuania</option>
    <option value="Luxembourg" >Luxembourg</option>
    <option value="Macedonia" >Macedonia</option>
    <option value="Madagascar" >Madagascar</option>
    <option value="Malawi" >Malawi</option>
    <option value="Malaysia" >Malaysia</option>
    <option value="Maldives" >Maldives</option>
    <option value="Mali" >Mali</option>
    <option value="Malta" >Malta</option>
    <option value="Marshall Islands" >Marshall Islands</option>
    <option value="Mauritania" >Mauritania</option>
    <option value="Mauritius" >Mauritius</option>
    <option value="Mexico" >Mexico</option>
    <option value="Micronesia" >Micronesia</option>
    <option value="Moldova" >Moldova</option>
    <option value="Monaco" >Monaco</option>
    <option value="Mongolia" >Mongolia</option>
    <option value="Montenegro" >Montenegro</option>
    <option value="Morocco" >Morocco</option>
    <option value="Mozambique" >Mozambique</option>
    <option value="Myanmar" >Myanmar</option>
    <option value="Namibia" >Namibia</option>
    <option value="Nauru" >Nauru</option>
    <option value="Nepal" >Nepal</option>
    <option value="Netherlands" >Netherlands</option>
    <option value="New Zealand" >New Zealand</option>
    <option value="Nicaragua" >Nicaragua</option>
    <option value="Niger" >Niger</option>
    <option value="Nigeria" >Nigeria</option>
    <option value="Norway" >Norway</option>
    <option value="Oman" >Oman</option>
    <option value="Pakistan" >Pakistan</option>
    <option value="Palau" >Palau</option>
    <option value="Panama" >Panama</option>
    <option value="Papua New Guinea" >Papua New Guinea</option>
    <option value="Paraguay" >Paraguay</option>
    <option value="Peru" >Peru</option>
    <option value="Philippines" >Philippines</option>
    <option value="Poland" >Poland</option>
    <option value="Portugal" >Portugal</option>
    <option value="Puerto Rico" >Puerto Rico</option>
    <option value="Qatar" >Qatar</option>
    <option value="Romania" >Romania</option>
    <option value="Russia" >Russia</option>
    <option value="Rwanda" >Rwanda</option>
    <option value="Saint Kitts and Nevis" >Saint Kitts and Nevis</option>
    <option value="Saint Lucia" >Saint Lucia</option>
    <option value="Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
    <option value="Samoa" >Samoa</option>
    <option value="San Marino" >San Marino</option>
    <option value="Sao Tome and Principe" >Sao Tome and Principe</option>
    <option value="Saudi Arabia" >Saudi Arabia</option>
    <option value="Senegal" >Senegal</option>
    <option value="Serbia and Montenegro" >Serbia and Montenegro</option>
    <option value="Seychelles" >Seychelles</option>
    <option value="Sierra Leone" >Sierra Leone</option>
    <option value="Singapore" >Singapore</option>
    <option value="Slovakia" >Slovakia</option>
    <option value="Slovenia" >Slovenia</option>
    <option value="Solomon Islands" >Solomon Islands</option>
    <option value="Somalia" >Somalia</option>
    <option value="South Africa" >South Africa</option>
    <option value="Spain" >Spain</option>
    <option value="Sri Lanka" >Sri Lanka</option>
    <option value="Sudan" >Sudan</option>
    <option value="Suriname" >Suriname</option>
    <option value="Swaziland" >Swaziland</option>
    <option value="Sweden" >Sweden</option>
    <option value="Switzerland" >Switzerland</option>
    <option value="Syria" >Syria</option>
    <option value="Taiwan" >Taiwan</option>
    <option value="Tajikistan" >Tajikistan</option>
    <option value="Tanzania" >Tanzania</option>
    <option value="Thailand" >Thailand</option>
    <option value="Togo" >Togo</option>
    <option value="Tonga" >Tonga</option>
    <option value="Trinidad and Tobago" >Trinidad and Tobago</option>
    <option value="Tunisia" >Tunisia</option>
    <option value="Turkey" >Turkey</option>
    <option value="Turkmenistan" >Turkmenistan</option>
    <option value="Tuvalu" >Tuvalu</option>
    <option value="Uganda" >Uganda</option>
    <option value="Ukraine" >Ukraine</option>
    <option value="United Arab Emirates" >United Arab Emirates</option>
    <option value="United Kingdom" >United Kingdom</option>
    <option value="United States" >United States</option>
    <option value="Uruguay" >Uruguay</option>
    <option value="Uzbekistan" >Uzbekistan</option>
    <option value="Vanuatu" >Vanuatu</option>
    <option value="Vatican City" >Vatican City</option>
    <option value="Venezuela" >Venezuela</option>
    <option value="Vietnam" >Vietnam</option>
    <option value="Yemen" >Yemen</option>
    <option value="Zambia" >Zambia</option>
    <option value="Zimbabwe" >Zimbabwe</option>
                                  </select>
                        <label for="element_2_6">Country</label>
              </div>
                        </li>                    <li id="li_5" >
                        <label class="description" for="element_5">Work Phone </label>
                        <span>
                                  <input id="element_5_1" name="element_5_1" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_5_1">(###)</label>
                        </span>
                        <span>
                                  <input id="element_5_2" name="element_5_2" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_5_2">###</label>
                        </span>
                        <span>
                                   <input id="element_5_3" name="element_5_3" class="element text" size="4" maxlength="4" value="" type="text">
                                  <label for="element_5_3">####</label>
                        </span>
                        <p class="guidelines" id="guide_5"><small>Please enter the phone number of the establishment where you work if applicable. </small></p>
                        </li>                    <li id="li_22" >
                        <label class="description" for="element_22">Schedule </label>
                        <div>
                                  <textarea id="element_22" name="element_22" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_22"><small>Please feel free to include your schedule. What days you work, when are you days off, be sure to include your hours available (example: 9am-7pm) or if you have any 'by appointment only' days. </small></p>
                        </li>                    <li id="li_7" >
                        <label class="description" for="element_7">Profile Picture </label>
                        <div>
                                  <input id="element_7" name="element_7" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_8" >
                        <label class="description" for="element_8">Portfolio image  </label>
                        <div>
                                  <input id="element_8" name="element_8" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_9" >
                        <label class="description" for="element_9">Portfolio image  </label>
                        <div>
                                  <input id="element_9" name="element_9" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_10" >
                        <label class="description" for="element_10">Portfolio image  </label>
                        <div>
                                  <input id="element_10" name="element_10" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_11" >
                        <label class="description" for="element_11">Portfolio image  </label>
                        <div>
                                  <input id="element_11" name="element_11" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_13" >
                        <label class="description" for="element_13">Portfolio image  </label>
                        <div>
                                  <input id="element_13" name="element_13" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_14" >
                        <label class="description" for="element_14">Portfolio image  </label>
                        <div>
                                  <input id="element_14" name="element_14" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_15" >
                        <label class="description" for="element_15">Portfolio image  </label>
                        <div>
                                  <input id="element_15" name="element_15" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_16" >
                        <label class="description" for="element_16">Portfolio image  </label>
                        <div>
                                  <input id="element_16" name="element_16" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_17" >
                        <label class="description" for="element_17">Portfolio image  </label>
                        <div>
                                  <input id="element_17" name="element_17" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_18" >
                        <label class="description" for="element_18">Portfolio image  </label>
                        <div>
                                  <input id="element_18" name="element_18" class="element file" type="file"/>
                        </div> 
                        </li>
                            <li class="buttons">
                              <input type="hidden" name="form_id" value="836144" />
                        <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
                            </li>
                          </ul>
                        </form>
                        <div id="footer">
                        </div>
              </div>
              <img id="bottom" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/bottom.png" alt="">
              </body>
    </html>

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • Form submit button to auto open a tabpanel tab?

    Hi everyone. I've been trying to get a form submit button to keep a tabpanel opened. I have three panels one for the user to update their profile. Another show their current shopping cart, and the third to search past orders. It is this third panel that I'm having problems with. Whenever I click submit, the page refreshes with the default panel 0 open. I have to click on the third tab to see the results of my search. I've added the following code to the input field:
           <input type="submit" name="search"  value="Search"  href="?tab=2&panel=2"/>
    I've also tried:
    <a>
          <input type="submit" name="search"  value="Search"  href="#" onClick="TabbedPanels1.showPanel(2); return false;"/>    </a>
    And I've also tried:
    <a href="#" onClick="TabbedPanels1.showPanel(2); return false;">
          <input type="submit" name="search"  value="Search" />    </a>
    No such luck.
    How do I get to keep this panel open during a search?
    Thanks
    Rose

    Without a link to your page or entire page source no one can recommend anything except for the following sample:
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm

  • Make links look like form-submit buttons?

    How can I make normal links look like form-submit buttons?
    Is there a css solution? If not how do i write the html so the button is a link but appears as a button?
    Just so you know what I mean by 'button', im talking about how the 'Post Message' and 'Cancel' buttons look at the bottom of this form as I write it.
    Thanks

    <p>here is some text</p>
    <form name="button1" method="post" action="path_to_your_page.html">
    <input type="submit" name="submit" value="some_linky_phrase" />
    </form>
    <p>here is some more text</p>
    or
    <p>here is some text</p>
    <button onclick="window.location='path_to_your_page.html'">click</button>
    <p>here is some more text</p>

  • Form submit button

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

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

  • EMail submit Button: send back as PDF, not as XML

    Hello,
    I have integreated an email submit button in my interactive form for sending the PDF back to the SAP-CRM.
    If I click this button, an eMail opens with an XML attachment. But I want to send it back in PDF format by clicking this button. (because I want to save this document at the content server and so on..).
    Thanks in advance
    Rogger

    Hi Roger,
    This is possible. There is a thread already in this Forum on that. If i remember the script, i shall post it :). Please do search it.
    Got ->
    <a href="/people/juergen.hauser2/blog/2007/06/03/dynamically-populating-the-email-address-of-an-email-button-on-a-sap-interactive-form fella :)</a>. You may work on this or search for more scripts related with it.
    This will work :).
    Thanks and Regards,
    - anto.[
    Message was edited by:
            Antony John Isacc

  • Adobe form submit button to pdf or word doc

    Hey I was wondering if it was possible to create an adobe form with a submit button that generates a pdf or word doc letter with the information.

    Hi Prasanna,
    in any clien machine where you want to get the Adobe output displayed you need to have
    1.  Adobe Reader Version 6.0.2+
    2.  IE 5.5+ or Netscape 7+
    3.  ACF (Active Control Framework) installed
    4.  ActiveX controls enabled in the Client Browser.
    Please try these, it should work.
    Hope it helps
    SG
    Message was edited by: Shubhadip Ghosh

  • 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

  • Is there a way to link multiple emails to a form submit button?

    The project I am working on requires that employees submit a form to their respective managers. There are multiple managers and I am only wanting to have to send out one PDF form to everyone.
    I am wondering if  there is a way to have a dropdown list with peoples names and have whatever name is selected in the dropdown list be the email address that the form gets sent to when the user hits the submit button.
    Right now I just have it set up so that each form has a different "mailto:" address in the submit button, meaning I have to have 7 different PDF's, each with a unique email for that manager.
    Thanks in advance for all your help!

    Yes, you could capture the email address from a field on your form and create a dynamic e-mail submission. You'll find detail on how to do this in the following tutorial:
    http://www.acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

  • Forms - submit button not working

    A client asked me to create an eflyer with a registration form included to be emailed out. I added form fields to the form page and an email submit button. Works fine on my Mac - opens Entourage correctly addressed and with the xfdf file attached. Tested on Parallels Desktop running Windows XP Pro and this seemed to work too. However when my client tested it on her PC, when she clicked on the submit button nothing happened. It works for her on the web but understandably she want's it to work when people receive the PDF as an attachment to an email. She uses Outlook as her email client.
    Any thoughts? Many thanks.

    Mike
    Thanks for your comment. I've sent a new PDF to the client with the extended rights turned on and this still doesn't work, as you thought. I know I've read about how unreliable emailing PDF forms can be but I wanted a simple solution on a document that my client wants to email to her contacts. Maybe it's just not a good idea to start with though you'd think that seeing as how adobe have added the feature it might just work! When I tried on Windows running on my Mac when I clicked send it asked me whether I wanted to use local or web-based email which implied you could use either? (I don't have an email client currently set up under windows as I only use it for opening the odd PC only file that clients send me which is I guess why it asked the question rather than chaining straight into an email window).
    I'm attaching the document in question. The form is on page 3.
    Many thanks for your support

  • Clicking twice on a Form submit button

    I have problem that I need either help on solving or ideas on a different solution please.
    I have some code in a request scope backing bean that sets a Boolean in a session cope bean to true. This indicates that the form has been submitted within this session.
    So if a user tries to submit the same form in the same session, the form backing bean will check the session bean property, see that it is set to true and the method which handles the Form�s commandButton in the backing bean returns null, with a message saying that the form can not be resubmitted.
    Also within the session bean I set a property that indicates if a credit card payment was made or not, and when the form backing bean sends its message on a form resubmit, it also informs the user if a credit card transaction had actually occurred or not.
    This works fine when you fully submit the form and return to the form page and try to resubmit it. But (there always is a but) when originally submitting the form, if a user clicks the submit button once, and then once again in quick succession (not a double click though) the session form property that gets set to true when the credit card payment is made does not get resolved correctly. It gets resolved as false (this is how it is initialized), even though it was set to true as a result of the first click.
    Only in the case of the clicking twice scenario I get an exception in the log file, which I can�t trace back. The request is directed through a filter �OrderAccessControlFilter� which seems to mask where the exception originally occurred.
    Sorry for the long explanation, I would appreciate any help.
    Below is the exception:
    10-Feb-2005 10:55:16 com.sun.faces.lifecycle.InvokeApplicationPhase execute
    SEVERE: Index: 0, Size: 0
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.remove(ArrayList.java:392)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.syndero.lingo.order.OrderAccessControlFilter.doFilter(OrderAccessControlFilter.java:199)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    10-Feb-2005 10:55:16 com.syndero.lingo.order.OrderAccessControlFilter doFilter
    SEVERE: Error in OrderAccessControlFilter:
    javax.servlet.ServletException: Index: 0, Size: 0
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.syndero.lingo.order.OrderAccessControlFilter.doFilter(OrderAccessControlFilter.java:199)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

    Hi,
    I am also facing the same problem. I have 2 buttons on my page, enable and disable. When I click enable and then disable in quick succession, the application crashes.
    Also, I put in some System out statemets in the button handlers and found out that a new thread is spawned for every request made. Each if this thread tries to service all the actions performed on the page.
    For eg : if i click on Enable and the Disable in my application, the flow is like:
    1. Thread 1 goes into the enable handler
    2. A new Thread 2 goes into the enable handler
    3. Thread 1 returns from enable action
    4. Thread 1 goes into the disable handler
    5. Thread 2 returns from enable handler
    6. Thread 1 returns from disable handler.
    7. Application crashes.
    Can anyone please explain this flow?
    Thanks,
    Mahajan.

  • Form submit button won't work in most browsers

    I have a PDF form which I created in InDesign, then added Form fields in Acrobat XI Pro, including a submit and print button. These work fine in Acrobat Reader, but in many browsers (Chrome, Firefox) the "submit" button doesn't work. It works fine in Safari. Since most people filling out an application do it right within the browser, rather than downloading it and opening in Adobe Reader, this is a problem.
    The file in question is here:
    http://smesteel.com/employment/SME-Application-English.pdf
    Shouldn't this work within any browswer?
    Thanks!

    kentbingham wrote:
    Shouldn't this work within any browswer?
    Yes, it should, and it does.  The problem is that Chrome and Firefox come with their own PDF viewers, which do a very bad job, especially with forms.
    Users need to disable the Chrome / Firefox PDF viewers, then enable the Adobe Reader add-on.
    Firefox, see https://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files and also http://forums.adobe.com/thread/1158136
    Chrome, see https://support.google.com/chrome/answer/142056
    You may also encounter additional problems with Safari on Mac OS.

  • Fillable Forms Submit button

    (Bringing this here, amplified, from a different forum entry.)<br /><br />Consumers need to be able to fill out and submit Acrobat forms; it's a no-brainer if you buy into the idea of electronic forms at all. Apparently lots of businesses are trying to use MicroSoft Word Forms because Adobe dropped the ball on this .<br /><br />All this talk of Word forms ignores the fact that businesses pay designers good money (sometimes extremely good money) to have them design forms to look nice and work well, then freeze the look using Acrobat. <br /><br />But Acrobat expects Reader users to fill them out -- in one sitting -- and print them to submit the data, trashing the promise of the Paperless Office completely. If you don't complete the form in one sitting, due to interruption or crash, start over. If you change your mind or discover an error after you close the document, start over. <br /><br />That can make many people a bit ... impatient. Which doesn't make the Acrobat format a joy to use.<br /><br />But if you've ever had the misfortune to be assigned a Form assignment in Word, and seen the mess once a font or printer changes (including repagination), then Acrobat looks even better. Consistency and predictability is not Word's strong point.<br /><br />Basically all Acrobat needs to do is to have a "Submit" button that stores a text file with for example a list of "<FieldName>: 'Value';". Text file could be sent/attached/emailed to the collector, where a (Professional version) "Import Data" menu item would repopulate the fields from the Text file (or not -- maybe the data could be used directly). <br /><br />Nothing extremely difficult -- most databases or web pages can do this, so the technology is relatively simple. Digital signatures are probably the worst hiccup in the mix. Adobe should get on with it...<br /><br />I wonder if it could be hand-coded and enabled through something as simple as a JavaScript Button action?

    Yes, but that requires special servers Software That Adobe want at least $7500.00 a Po for The fdf information is collected on a speal server using something like php then you must have a copy of the form on the other end somewhere and it generates filled in forms. There's information about it on Adobe's website.
    If your a Fortune 500 company $7500.00 is pocket change and no big deal.
    To smaller companies and non-profits its a posion pill.
    This subject has come up on this news group time after time with threads upwards 50 or 100 threads. The experts on the group being in big business say Adobe has the write squeeze all the juice they can out of us Turnips. And us Turnips keep saying it should be made available to everyone so that you can email filled out forms to anyone.
    I've given up the idea. So unless you area "biggggggg" company your out of luck. If you are plunk down that 7-10K to Adobe and they will fix you right up.

  • Adding submit button/ sending document to email

    Hi
    I am trying to figure out how to add a submit button/ some way
    of sending a document that visitors fill out on one of my web pages
    to an email.
    Any ideas ?

    Okay, let's be nice. That way there is a little HOPE for this PROJECT.
    There should be an action assigned to your form. That action should be a script that processes the content of the form and sends it to you email. We will need two things from you to correct this problem.
    A link (or code) from the page that contains the script.
    The code for the script defined in your action on the previous listed page.
    If you provide the two items listed above, someone here will correct your problem, as there are so many talented, friendly, knowledgable people that are experts in this.
    Jim

  • HTML Form Submit Button to call a procedure

    hi! been looking high and low across all forums and it seems there are specific users like myself having problems with submit button and pl/sql procedures. Hope someone can clarify on this.
    Scenario: created a html/dynamic page with a submit button(no java scripts, just plain <form action="schema.procedure" method="post"> etc) to pass values into a procedure to update database. In my case, i've hard coded the values in the procedure for testing purpose(thus my procedure don't receive any in parameters).
    Problem:
    Clicking on Submit button will result a page not found error.
    Solution read so far:
    Ensure that at least the Public has been granted Execute Access on that procedure, which i find funny cos I am logged in as the adminstrator having all the rights, heck, i even created the schemas, procedures and tables.
    Result for me:
    Page not found displayed, but when I highlight the url on that page (which is the complete address)and press Enter, the procedure went through and display the message in my procedure?!
    But if I clik on a link (pointing to the same procedure), the procedure went through immediately.
    I have tried:
    a) clearing the browser cache
    b) deleting archive versions of the page
    c) entering the whole address
    d) recreate the html page using pl/sql
    but still the same problem.
    Any advise on this? Is this a bug? how to go around this?
    Rgds.

    Hi,
    I did the following :
    1) created a procedure called test1 in schema portal30
    create or replace procedure test1
    as
    begin
    htp.p('Hi there');
    end;
    2) granted it to public
    grant execute on test1 to public;
    3)created a dynamic page like this:
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <form action='portal30.test1'>
    <input type="Submit" value="click me">
    </Form>
    <H1>Example of A Dynamic Page</H1>
    <ORACLE>select * from PORTAL30_DEMO.emp where deptno = :department</ORACLE>
    </BODY>
    </HTML>
    4) ran the dynamic page ,works fine
    Thanks,
    Anu

Maybe you are looking for

  • HT1727 If you buy something from an Ipod touch how can you get it on your computer?

    I bought a song on my ipod touch because It obviously has internet and I thought it wouldn't be a problem. I was able to download the song and listen to it on that ipod touch without any issues, however, I would like to be able to burn it to a cd, li

  • F110: payment doc spliting

    Dear all, After F110, we expect to have one payment doc per vendor. However, same payment doc number lists  twice. each payment doc group different doc type. eg. we have RE, KA and ZE in the open invoice. after f110, ZP shows twice with same doc numb

  • I have a old imovie version 8.0.6 now how can i update it?

    I know it too late for update.  but i need it now.. So when I am trying to update imove it says imovie  9.0.0 require but in fact there is no version of imovie 9.0.0. It is direct 9.0.1 Can any one please help me how to update my imovie ? Right now i

  • Converting standard date into GMT Format based on Zone

    Hi, I want to get GMT date based on the current date and Zone information i enter. For example. inputs are current date : 11/11/2006 15:35:37 Zone information : PDT (i.e. America/Los_Angeles) out should be GMT date : Saturday, November 11, 2006 2:05:

  • Supplier entry - Any process flow ideas?

    Hello, This is a question beyond the Oracle Applications itself...I believe. We are reviewing our processes and found that the Supplier Entry is taking more time than we thought and worst, several errors are being encountered. Our Supplier Entry flow