Submit a form conatining a Collection

How do I submit a form conatining a collection?
I can set the collection in the actionForm before the page is rendered and use the NetUI repeater to itterate thru the collection. The problem is that if I edit any of the fields, the collection is passed back as null while any other elecments of the form are passed back.
Any Ideas?

Are you able to solve this,I have the same problem I know this can be solved using indexed properties I dont how to approach.

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.

  • How to submit two forms once  in one jsp page?

    hello all,
    My jsp page includes two forms: one form's action is a File Upload servlet, which process file uploading; another is a general servlet to collect user inputs, such as user name, age, etc.
    Because the file upload servlet is a legacy component, and it was used in many applications. we could not meger it into our business components.
    the system requires the file upload and information collection are submitted once. so we have to submit two forms in one 'Submit' action, at the same time, the information collection servlet need get the information from file upload servlet, such as the uploaded file's url.
    I have tried two methods, but all failed
    1. Upload form has no a 'Submit' button, when user click the 'submit' button of the information collection form, we use a javascript to submit upload form first, then submit information collection form. Failed at: the second submit dose wait for upload finishing, then the second submit interrupt the upload
    2. the javascript only submit upload form, and set HTML body's onUnload event to another javascript that submit information collection form. this time, the file upload sucess, and information collection form sucess at most time. But fail when user click the 'refresh' or 'back' or any navigator buttons of the browser. these action will trigger the page 'unload' event too, but the submit if invalid!
    Please tell me how to.

    chain the both requests!
    - build one mutlitpart request and send it to a servlet that can handle that multipart request (think of using oreilly MultiPartParser).
    - check the input (all requiered fields and files there)
    - if yes store the user fields and create a socket connection from your servlet to the legacy file upload servlet and post the file this way.
    - like this you have full control over the users input and can make sure the file and the fields are just save if all requiered elements are availble.

  • Submit pdf form data to sql database

    Where I can find detailed information on the process of sending data from pdf form stored on the website to the sql database stored on web server ?? Where I can find some samples I could use to build my form and related script(s).
    Thanks for advice.
    Tony

    Hi Paul,
    Thank you very much for your quick response. I can not retrieve your
    attachments, so please send them by email. Thank you.
    What does it mean that DSN has to be set up on each machine which will run
    the form ??? Does it mean for each person who will use the form ?? or
    rather once on the server where the form is hosted ??? It will be a bit
    difficult to use if it will have to be installed on each user computers as
    some users may not be happy to do it. If this is the case do you have any
    solution you would recommend which will collect the data from the form
    without asking users to do anything special on their computers ????
    Regards,
    Tony Pluta
    Graphics Designer
    Broadmeadow Road
    Broadmeadow NSW 2292
    Australia
    Direct: +61 2 9492 1277
    Facsimile: +61 2 9462 1383
    Mobile: +61 403 399 167
    [email protected]
    www.unitedgroupltd.com
    pguerett <[email protected]>
    22/04/2009 10:31 PM
    Please respond to
    [email protected]
    To
    Tony Pluta <[email protected]>
    cc
    Subject
    submit pdf form data to sql database
    If you want the form to contact the DB directly you will have to set up a
    DSN on each of the machines that will run the form. Note that this wil
    only work on Windows machines. Also the form must be launched for the
    script to run (you mentioned the PDF was stored on the web server). I have
    some samples that show how to deal with a DB but the attachments do not
    seem to be working correctly on the forum yet. If you cannot retrieve them
    post your email and I will email them to you directly.
    Paul

  • Call submit request form

    Hi,
    In my custom controller, I want to call the submit request form,
    and pass a specific request id in order to open a XML Publisher report I created.
    I am using the following code:
    com.sun.java.util.collections.HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
    String id = "" + V_Request_ID + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    parameters,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    But my page is not redirecting...without giving any errors...
    Any ideas ?
    Thanks
    Edited by: costas on 29 Μαρ 2011 11:31 μμ

    Hi,
    I used OA.jsp?akRegionCode=FNDCPREQUESTVIEWREGION&akRegionApplicationId=0
    and I'm getting the following error:
    oracle.apps.fnd.framework.OAException: No data found for region (FNDCPREQUESTVIEWREGION).
    Thanks

  • How Do I Submit a Form to a Server?

    Overview
    - I am working on forms for two seperate websites.
    - I have the server information for website1, but I don't
    have the information for website2's server at the moment.
    - I set up a form on dreamweaver 8.0 and I am trying to get
    the user to submit it to my server.
    Questions:
    1. Do I make the form a PHP file since I want the user to
    submit it to a server? If so, I have PHP/ MySQL set up on my
    webserver for website1. I hear that email is a very unreliable/
    unsafe way to submit forms.
    2. What is the code for this or is there a tutorial one of
    you might know?
    3. Website1 is an FTP and I believe that website2 is a local
    server. Would there be a difference in the code besides the
    rootfolder?
    4. When someone submits a form to the server, is there a new
    file that is created in the rootfolder or is it manifested in the
    database somehow? I am very unfamiliar with databases.
    I have searched over and over again in google and these
    forums. All I can find is how to email a form. Even when I tried
    that, all I get attached in the email is an .att file that I can't
    open unless I download some rogue program that I really don't
    trust. I feel submitting to a database is the way to go. Please
    help me.
    -- Carrion Misery

    What you need to find out is what server side scripting can
    be used on the
    hosting. ASP or PHP or ?
    What does the hosting's FAQ/support pages say about form to
    email scripts?
    Is there a hosting control panel or CPanel? If yes- look in
    there.
    If you can use PHP scripting, here's a quick list of
    instructions for a
    particular script:
    If you don't want to create the php script yourself- here's a
    very short set
    of instructions to get a free script working in a few
    minutes. Refer to the
    docs folder in the expanded zip file for more info.
    1)go to
    http://boaddrink.com
    -->phpformmail
    download it.
    extract the ZIP file.
    2) open formmail.php in dreamweaver
    Make the following changes (in code view, turn line numbers
    on)
    2a)
    line 4,
    define('CHECK_REFERER', true);
    change to:
    define('CHECK_REFERER', false);
    reason: too many people use a firewall or Norton security to
    restrict this.
    2b)
    Line 43
    $referers = array('www.example.com', 'example.com');
    change to the url address of your web site.
    reason: this probably isn't needed since we just turned the
    referrer
    checking off. but change it anyway.
    2c)  *this is to hard-code the recipient address into
    the php
    file, where it is totally invisible *
    Line 46
    $recipient_array = array();
    change to:
    $recipient_array = array('me' =>
    '[email protected]);
    **of course, replace [email protected]  with
    the email address
    you want to receive the form data
    reason: this sets the email address the form results will be
    sent to.
    2d) give the script a default "From" address to use.
    Go to line 41
    Change:
    define('FROM', null);
    to:
    define('FROM', 'Example Name <[email protected]>');
    substituting your name and email address.
    3) now do a File-->Save As and save this file to within
    this Local Site
    folder. save it as anythingyouwant.php
    4) in dw's File Panel, find anythingyouwant.php and upload it
    to the remote
    site.
    5) Now open your form html file in dreamweaver,
    5a)click the mouse into the form area, and select the
    <form> tag on the
    lower left margin of the design window.
    In the Property Inspector, it should now show the properties
    of the <form>
    tag. In the Property Inspector, to the right of the ACTION
    line, click the
    folder icon and browse to and select the anythingyouwant.php
    file
    you've saved to within this site.
    5b) now go to dw menu-->Insert-->Form
    Objects-->Hidden Field
    This inserts a hidden form field.
    In the property inspector, change the NAME/ID of this field
    to: recipient
    And the VALUE of this field to: me
    the code should look like:
    <input name="recipient" type="hidden" id="recipient"
    value="me">
    This tells the script to use the "me" recipient_alias value
    as the email
    address to send the form to.
    5c: Do you have a form field to collect the user's email
    address?
    If yes, if this field is named exactly "email" then the
    script will use the
    user's email as the reply to in the outgoing email
    6) Save and upload the form page.
    Try the form from the website.
    Optional:
    1-make a new page for a thank you for submitting message.
    In the form, insert another hidden field.
    Name: redirect
    Value:  the full absolute
    http:// address to the new thank you page.
    If you don't set a redirect value- the form script will build
    a "thank you,
    here is what you submitted" page. If you want to use that
    dynamic page-
    upload the .css file that it uses.
    2- If you have a field in the form to collect the visitor's
    email address,
    IF you name this field  in the form exactly  
     email   then the visitor's
    email address will be the Reply To address in the outgoing
    email.
    There are 30 or so other optional form fields to control the
    form- see the
    readme in the docs folder. One of those optional control
    fields is
    verification.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How can I submit the form back to the server, then reload the page again

    Hi
    I have 2 comboboxes, one is already populated with data by the time the page is loaded. The second combobox will be populated depending on the value chosen from the first combobox
    I need to know how can submit the form to go back to the server with the selected value from the first combobox, get some data from the database and then regenerate the whole page again filling the second combobox with the collected data
    for example, here s my select tag:
    <select name="country" id="firstBox" onchange="populateSecondList()">
         <option value="" SELECTED>
         </select>
    <select name="city" id="firstBox">
         <option value="">
         </select>
    what should I have to add in the retrieveSecondOptions() function?

    declare a second combo box in a iframe and to iframe tag there is attribute to which you can sepcify the file name like one.jsp
    now call onchange event on first combo box and forward request to one.jsp

  • My safari is blocked. When I press a window comes up sasking Are you sure you want to submit this form again and it will not let me cancel or submit

    My safari is blocked. When I press a window comes up sasking Are you sure you want to submit this form again? and it will not allow me to cancel or submit

    These are your options:
    1. Restore the iPhoto library from the most recent backup that predates the issue.
              Advantages: Always works, if library damage is causing the problem and the backup is intact.
              Disadvantages: Impossible if you don't have a backup. All changes made since the backup are lost.
    2. Repair or rebuild the library. Be sure to back it up first.
              Advantages: May solve the problem with no loss of data.
              Disadvantages: May fail. May take a long time if the library is large.
    3. Scavenge the library with a third-party application called "iPhoto Library Manager," which you can find in a web search. From the application's menu bar (not the iPhoto menu bar), select Library ▹ Rebuild.
              Advantages: All images should be preserved.
              Disadvantages: All books, calendars, and slideshows will be lost.

  • Unable to get the "Submit a form" action working with Webmail: Gmail

    I am attempting to create interactive PDF forms for the website which the end user will email back once filled out.
    I have added a link to the form that runs the "Submit a form" action, this appears to work if you have a mail client installed, but if you specify Webmail "Gmail", the system appears to start the process with:
    First asking you for the email account details to add
    You are then asked to allow Adobe Acrobat permissions to your access your email account
    It then attempts to create a draft message but fails with:  "Error while creating message ..."
    NB: I have logged into my Gmail account on the client PC and I am able to send emails.
    Any ideas if this has a known problem and if a fix is available, without a fix it makes interactive PDF's a bit pointless?
    Message was edited by: Neil Newman

    Hi Aniket,
    To the Clusters .. do you mean at the j2ee engine side?can you please give me info in detail
    Thnx for valuable inputs
    Vijay
    Message was edited by:
            NR

  • Sharepoint 2010, InfoPath 2010 with Custom Workflow. Error Message: InfoPath cannot submit the form. An error occured while form was submitted...

    I have created an InfoPath form that submits to a Sharepoint library with custom workflow attached. The workflow is initiated when the user submits the form. An email is sent to the supervisor who clicks the "Encoded Absolute URL" and approved
    the form via the emailed form. Then, based on certain criteria the form is either emailed to the VP or the workflow is complete. The VP is sent an email and clicks the "Encoded Absolute URL" and sumbits the form via the emailed form. This is
    how I would like it to work. The reality is, the form submits and is emailed to the supervisor and the supervisor is able to approve but when the form is sumbitted I get an error. The error is "InfoPath cannot submit the form. An error occured while
    this form was being submitted. The form cannot be submitted to the following location: <URL> The file <URL> is checked out for editing by <me> The operation completed successfully." The operation did not complete successfully and it
    is not checked out. I have read in previous posts that the file is locked. Since I am in the testing faze of the project there is no one else using the form. I have waited 24 hours and the lock has not been released. Please help!!! My deadline is growing short.

    I ran into your post while having a similar issue.  I don't have a 'full' fix for you, but I noticed at least in our case if you made sure you opened the Infopath form through the browser instead of the client Infopath program (use the drop-down menu
    and open in browser) the error doesn't occur.  Hope that helps some....

  • Error message when i try to submit a form?

    Certain users are receiving the following error message when they try to submit their form.
    Can you help explain what the issue is, and is there a fix in place?  Many thanks!
    This form is linked to Innovation Showcase at Partner Briefing at Summit, so we need to get this fix ASAP.
    Any guidance community members can provide is greatly appreciated!
    An error has occurred.
    There was an error communicating with the server. Please try again later.
    [ref: nxh9wbB5YgOyoERrSKDtA, serverUnknownError]

    cid:[email protected]
    From: Josh_Corey [email protected]
    Sent: Thursday, November 07, 2013 12:29 PM
    To: Whaley, Magean
    Subject: I get an error message when I try to attach a file.  Why is this?
    Re: I get an error message when I try to attach a file. Why is this?
    created by Josh_Corey<http://forums.adobe.com/people/Josh_Corey> in FormsCentral - View the full discussion<http://forums.adobe.com/message/5824088#5824088

  • How to submit a form with checkboxes in a page flow?

    I'm having some trouble with a form that contains several checkboxes, and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean, can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

    I am new to this, but I think this may solve your problem:
    I am not sure if this is what you are looking for, but you can create a LinkedHashMap
    with the req key/value pairs in the page-calling action in the pageflow and then
    pass that via a getRequest().setAttribute("myCheckboxes",myCheckboxHashMap);
    You can then access it in code using the optionsDataSource portion of the netui:checkBoxGroup
    - ie
    <netui:checkBoxGroup dataSource="{actionForm.thisCheckbox}" optionsDataSource="{request.myCheckboxes}">
    Hope this helps!
    m
    "Craig Coffin" <craig+1268fbec@nfld-dot-com> wrote:
    I'm having some trouble with a form that contains several checkboxes,
    and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an
    XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give
    me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean,
    can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

  • Cannot submit pdf form online

    the problem seems to be that the interactive pdf form that used to open within the browser is now opening outside the browser (both IE8 and Firefox) as a temp file so I can fill it out but when I hit "save for later" or "submit" I get the adobe error "error opening url to submit this form". What setting has gotten set incorrectly? I have been using this site for years with no problem up until recently.

    the problem seems to be that the interactive pdf form that used to open within the browser is now opening outside the browser (both IE8 and Firefox) as a temp file so I can fill it out but when I hit "save for later" or "submit" I get the adobe error "error opening url to submit this form". What setting has gotten set incorrectly? I have been using this site for years with no problem up until recently.

  • Acorbat Reader users cannot submit my form to me

    I created a form for use by the nine members of my brokerage team. Some people have Acrobat Standard; but some only have Reader. It seems as if the Reader users are unable to submit the forms. When the Reader users click on the button to e-mail the form back to me, they get an error message saying "This operation is not permitted."
    I have looked for solutions online, but cannot find any that fit this situation, given the versions of Acrobat that are being used: Pro XI (used by three of us with Creative Cloud), Standard X, Reader (multiple). The solutions that have been posted involve making changed within the Registry; and those solutions that do not involve the Registry make suggestions for setting changes within Pro that don't even exist in my version of Pro XI. (Go figure.)
    It would be really nice to get this issue resolved once and for all. If anyone has any recommendations, I would love to hear them.
    Cheers!

    You don't need to change the registry. It sounds like the form is set up so that the entire PDF is included in the submit, instead of just the form data. For this to work with Reader versions prior to 11, the document needs to be Reader-enabled, since Reader otherwise is not able to save a filled-in form. This won't be needed if Reader 11 is used since it is able to save a non-enabled form (AcroForm, not XFA).

  • Manually submit a form without using javascript?

    i'm trying to automate registration of a site by using java (no gui). However there is no direct submit button or form.submit() present in its registration url. Checked the javascript codes and it opens a window, and checks if the window opener is present .
    if (window.opener && !window.opener.closed)
    window.opener.document.theForm.submit();
    window.close();               
    }Is there a solution for this problem?

    I'm trying to access an http url (not mine).
    (1) By setting post variables , I can retrieve the html of the url as string. Here's the code.
         static String getHtml(String url_nm, HashMap variables)
              String html = "";
              String data = "";
              boolean firstRun = true;
              if (variables != null)
                   Set keys = variables.keySet();
                   Iterator iterator = keys.iterator();
                   while (iterator.hasNext())
                        if (firstRun)
                             firstRun = false;
                        else
                             data += "&";
                        String name = iterator.next().toString();
                        try
                             data += URLEncoder.encode(name, "UTF-8") + "=" +
                                  URLEncoder.encode(variables.get(name).toString(), "UTF-8");
                        catch (Exception e1)
              try {
                 URL url = new URL(url_nm);
                 URLConnection conn = url.openConnection();
                 conn.setDoOutput(true);
                 OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
                 wr.write(data);
                 wr.flush();
                 BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                 String line;
                 while ((line = rd.readLine()) != null) {
                      html += line;
                 wr.close();
                 rd.close();
             } catch (Exception e) {
                  e.printStackTrace();
              return html;
    [/code
    (2) The problem is even if i set the post variables, i cannot submit the form since the form can only be submitted if i was actually browsing it in a web browser. The html displays a window where the actual submit  form is set (as you can see in my later post) .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Error in Message Determination of GRN

    Hello Seniors, I have done configuation of message determination for GRN by this 1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting 2. Ensured in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->

  • Finish Date Calculation in Process Order

    Hi all, I have an unique problem. I am using Backword schduling and while creating a Process Order I give a Finish Date and Create the Order. But while Saving System Overwrites with a different finish Date. I have ckecked, nowhere In house Production

  • Query on email message via dreamweaver mail form

    Hello All, First time I've done a mail form so not sure if this is what is supposed to happen. When an email is received via the mail form it has 'submit submit' at the bottom of the message and I'd like to get rid of it if poss. The code is: <div id

  • Drive Module Screws for attaching hard drive to module

    I have been searching far and wide for 6-32, .25 inch long screws that match the original screws shipped with raid drive modules. I stumbled across a post for a european company that won't sell or ship to the USA, but the spec sheet they sent me is n

  • NFL Mobile - Can't Verify Verizon Account

    I've tried multiple times to get to watch NFL games through the NFL app.  I've got the More Everything plan, so this should be free, but when I try to access the games, the app says it needs to verify my account if I have the More Everything plan and