Acrobat form with server side submit, posting blank data

Read more
Acrobat form with server side submit, posting blank data,
thanh xả tràn
I have a PDF form which gets submitted to the server using a submit (server-side) button. The data is then received in XML format by a ColdFusion component which does some validation and stores it into the database.
This PDF form is usually filled in by our clients using Adobe Reader 8 or below. While most of the times(and I mean like 96-97% of the times) everything goes well, at times we receive blank data into our database!! This renders couple of other features in our application useless as they try to parse an XML which does not exist.
I do believe that this is not a problem at the ColdFusion side because all it does is trim(ToString(toBinary(GetHttpRequestData().content))).
Does anyone has a clue as to why the data will be lost upon form submission?? I have done a lot of googling around it but in vain!

There is an outside chance someone is just playing with you and submitting a blank form. Not uncommon if someone is not too familiar with forms.

Similar Messages

  • Updating form with server-side scripts

    Hi
    For security reasons, we want to do a web service call with only server side scripts. That way we have full control over the access to the wsdl and no problems with the security.
    However, if I try to run the scripts on server-side I get no update of the data in the form... so what to do to solve that problem? Anybody with experience from that?

    To make a small update I've been messing around with various different things to be able to achieve the goal. One of the initial problems was that the Designer actually manages to create two different SOAP addresses, one of them is the correct and secure way and the other one is direct to the data source, which would be an unsecure and blocked route. That changed things a bit when I realized that.
    But still, the problem remains. If I run the script Client-Side, it works but is not an acceptable solution. If I run it Server-Side, it can't read the data and doesn't recognize the call to SOAP.connect()...
    Does anybody have any experience in webb service connection with server side scripts?

  • PLEASE help with server-side form validation using PHP!!!

    I feel like im going round and round in circles with this, after looking into all sorts of server-side advice i've come to the conclusion that i want to validate my form using server-side validation with PHP.
    So my form has several drop down menu's and  textareas  (not all of them need validation). For the part of my form i would like to validate, all i want is the drop downs to have to be changed/selected. So just a simple message like "You must select an option" if customers haven't done so. For the textareas, they just need to be filled out, so a message like "Information required" to come up if customers haven't done so.
    I believe i need to create a PHP page say for example 'error.php' place  the validation code in there and set this part of the the form to -
    <form name="product"form action="error.php" method="post" class="product_form">
    BUT im getting really confused with creating the code for the error.php. Please please can anyone help me with this!!!???
    Here are the drop down menu's i need validation on, error message being "You must select an option",
    "figurine"
    "engraving"
    "font"
    and here are the textareas that need validating, error message "Information required",
    "test"
    "Name"
    "house"
    "line_1"
    "line_2"
    "county"
    "postcode"
    "tel"
    www.milesmemorials.com/product-GK1.html
    I'd really appreciate any help!!!

    Ness_quick wrote:
    Great thats good enough for me. In that case, would you please be able to help me create the javascript for the above validation?? If you could just help me create it for this page i can amend it for all the other pages. I'd really really appreciate it!!!
    Can you follow the below example?? Obviously AFTER validation has been successful you need to collect the information from the form and send it to the recipient email address...that's where you can use php. I'll check back tomorrow and see how you are doing.
    <!DOCTYPE HTML>
    <html><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Form validation</title>
    <!-- VALIDATE ORDER FORM  -->
    <script type="text/javascript">
    <!--
    function RequiredFormFields() {
        // inform customer to provide figurine choice
    var figurine = document.forms.product.figurine.value;
    if (figurine == "-- Select figurine --")
    alert("Please provide figurine choice");
    return false;
    // inform customer to provide engraving choice
    var engraving = document.forms.product.engraving.value;
    if (engraving == "-- Select engraving --")
    alert("Please provide engraving choice");
    return false;
    // inform customer to provide font choice
        var font = document.forms.product.font.value;
    if (font == "-- Select style --")
    alert("Please select font style");
    return false;
    // inform customer to provide their name
    var Name = document.forms.product.Name.value;
    if (Name == null || Name == "")
    alert("Please provide your name");
    return false;
    // inform customer to provide their house number/name
    var house = document.forms.product.house.value;
    if (house == null || house == "")
    alert("Please provide your house number/name");
    return false;
    } // end function
    -->
    </script>
    </head>
    <body>
    <form name="product" form action="processForm.php" method="post" class="product_form" onsubmit="return RequiredFormFields()">
    <p class="product_form_options">Choice of Figurine<br>
    <select name="figurine" class="productButton" id="figurine" onChange="Recalculate()">
    <option selected>-- Select figurine --</option>
    <option value="7031">Tropical Green Granite with bronze sacred heart figurine as pictured(&pound;7031)</option>
    <option value="5216">Tropical Green Granite with bronze effect sacred heart figurine (&pound;5216)</option>
    <option value="5216">Tropical Green Granite with reconstituded figurine MF122(&pound;5216)</option>
    </select>
    </p>
    <p class="product_form_options">Engraved Lettering<br>
    <select name="engraving" class="productButton" id="engraving" onChange="Recalculate()">
            <option selected>-- Select engraving --</option>
            <option value="2.30">Sandblast and enamel painted (&pound;2.30/letter)</option>
            <option value="2.80">Sandblast and guilded (&pound;2.80/letter)</option>
            <option value="2.20">Maintenance free (&pound;2.20/letter)</option>
            <option value="3.73">Traditionally hand cut and enamel painted (&pound;3.73/letter)</option>
            <option value="3.98">Traditionally hand cut and gilded (&pound;3.98/letter)</option>
            <option value="4.34">Raised lead and enamel painted (&pound;4.34/letter)</option>
            <option value="4.59">Raised lead and gilded (&pound;4.59/letter)</option>
          </select>
    </p>
    <p class="product_form_options">Letter/Font Style<br>    
          <select name="font" class="productButton" id="font" >
               <option selected>-- Select style --</option>
               <option value="Maintenance free">Maintenance free </option>
               <option value="White painted block">White painted block</option>
               <option value="White painted roman">White painted roman</option>
               <option value="White painted Script">White painted Script</option>
               <option value="White painted Celtic">White painted Celtic</option>
               <option value="White painted Nova">White painted Nova</option>
               <option value="Sliver painted block">Sliver painted block</option>
               <option value="Sliver painted roman">Sliver painted roman</option>
               <option value="Sliver painted Script">Sliver painted Script</option>
               <option value="Sliver painted Celtic">Sliver painted Celtic</option>
               <option value="Sliver painted Nova">Sliver painted Nova</option>
               <option value="Gold leaf painted block">Gold leaf painted block</option>
               <option value="Gold leaf painted roman">Gold leaf painted roman</option>
               <option value="Gold leaf painted Script">Gold leaf painted Script</option>
               <option value="Gold leaf painted Celtic">Gold leaf painted Celtic</option>
               <option value="Gold leaf painted Nova">Gold leaf painted Nova</option>
               <option value="Gold leaf painted Old English">Gold leaf painted Old English</option>
             </select>
             </p>
             <p>
    <p>Name<br>
    <input name="Name" type="text" id="Name" value="">
    </p>
    <p>House name or number:<br>
    <input name="house" type="text" id="house" size="67">
    </p>
    <p>
    <input name="submit" type="submit" class="place_order" id="submit" value="Place order">
    </p>  
    </form>
    </body>
    </html>

  • Acrobat form with submit button

    Have a coldfusion app that includes an acrobat form that contains a submit button.  The button submits the form to another CF page.  I'm making some fixes to this app and need to change where the form submits, currently it's going to production but i need it to go to test.  When I open the form in Acrobat 8 or Livecycle I don't see any script.  Anyone know where to change wheer this form posts?

    Not sure about LiveCycle, but here's how to do it in acrobat.
    1) Right click on Form Button -> Properties -> Actions
    You should see a list of actions associated with the button.  something like:
    - Mouse Up
           Submit a Form
    2) Select on "Submit a Form" and click "Edit" at the bottom of the screen
    3) Edit URL in "Submit Form Selections" window.

  • Problems processing Acrobat forms with PHP

    It's a real simple script. All we do is have users fill out a
    form with information and it's sent to a php file on the server,
    which then sends an e-mail to the admin with the user's input then
    sends a thank you e-mail to the user. I used regular web forms
    using the post method with input tags. The php code recognized the
    values of regular htm forms, but we are converting all of our forms
    to PDF.
    I am having problems with Acrobat form submission. I tried
    sending the data using the http submit/post, but I cannot figure
    out how to stop it from displaying the user input inline (ie.
    name=nameaddress=addresscity=citystate=state). Our clients cannot
    receive e-mails with everything inline like that. I cannot send it
    using mailto: or by the default e-mail either because the clients
    cannot receive attachments.
    I heard that sending the form via xml and parsing it would
    work, but when I use the parser it needs the exact .xml file name
    and every time someone submits a form the file name changes.
    Does anyone know how to use the http submit method in acrobat
    and stop the text from displaying inline, how to parse the xml, or
    of any other ways that will make the text display correctly?

    Please post to the correct forums. At least 2 other
    duplicates of this post are also in the Connect forums, which are
    wholly unrelated to PDF topics.

  • Problem with server side state saving ,JSF 1.1.1

    Hello,
    In my web.xml  the.STATE_SAVING_METHOD setting is s server
    <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
    for measurement of application security isn't not allow to change this parameter to client , so the problem  when i access for application and i open a new page via linker for print for example and i would access for my initial page to make change or modify my initial page it s no possible to make any modification because i have a empty bean , but if the state saving is a client i haven't a problem because a tree map is stored in client browser, so my version of JSF is 1.1.1 ,
    So can you explain the cause for his problem
    and what's the solution for my problem ?
    NB:i can't change the parameter for STATE_SAVING_METHOD for a client
    Thank you

    did you search this form, there were lot of discussions in the past about server side cookies, you may find an answer to your problem.
    alternate approache for sending a value from parent page to the pop up window.
    1. when opening the pop up pass the values along with the url (if the size of variable is small)
    alternatively you can store the value in a hidden form field in parent window and access the same from poup window using
    you can simple access the page one form field value in page 2 (pop up) by using the following code.
    window.opener.document.getElementById('hiddenformfieldid').value

  • Multiple Page flowed form with expandable field, causing a blank page

    I have a 3 page form with an expandable field on page 1.  I've set the pages up as flowable with positioned subforms and everything is working well, until you type a lot of info into the expandable field and it moves everything else in page 1 down to page 2, the problem appears after the text is moved, there is a huge blank space after the text that was moved.  Basically the rest of the information is moved to page 3 and then there is a page 4.  Hope this makes sense.
    Original - Page 1, Page 2, Page 3
    Expanded past the page - Page 1&2 (then big blank space), Page 3, Page 4
    I'd just like the pages to flow together so if the expanded box moves to the next page the sections just continue to follow without a huge blank space on page 2.

    It sounds as if some of your content is set to not allow page breaks within it.  Have you checked all containing sub forms for the option below?

  • Poriblems with Server Side Include

    I amtrying to convert to Spry Menus using SSI. into a template.  been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
    when in using Dredamweaver CS5   and  do a server side I have major issues at the differeent levels
    i have the file in a directory off the site root called  Includes
    the file i am trying to include
    using a page at the root level my statement using document relation is
    <!--#include file="Includes/Navbar.html" -->
    works fine   channg to site relation does not work   Ok so far so good
    however a page in a lower level director gets the dreaded
    [an error occurred while processing this directive]
    and i get an error
    [Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
    and also
    Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    the php errors don't seem mahor although they seem to have i have another iisue or are the related
    but that aside
    If I move the include file to the same level as the pade with approprirate include statement no problem it works
    if i move it to a subditrectory  then it doesn't work
    summary
    i can get SSI to work for page on the root level using Includes from a subdirectory
    but on other level I must have the include in the same directory with the page
    any thoughts??

    Your menu links are inside an include file.  There should be nothing else inside that file except the list tags, classes & hyperlinks.  Links are relative to the parent page(s) in which they will occur.
    All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
    Local Files Panel:
         -Includes
              menu.html
              footer.html
         +Styles
         +SpryAssets
         -Templates
              main.dwt
         about.shtml
         contact.shtml
         index.shtml
         services.shtml
    Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that.  For best results, keep all your site pages at root level.
    Hope this helps,
    Nancy O.

  • Problem with Server-Side InitialContext

    The Weblogic 5.1 documentation states that to create a context from within a
    server-side object, all you need to do is issue the following statement:
    Context ctx = new InitialContext();
    That you do not need to specify a factory, or a provider URL; by default,
    the context will be created as a WebLogic context and will connect to the
    local naming service.
    I only get this to work when I am running from within an EJB. When I try
    this from a servlet, it doesn't work.
    I am running Weblogic 5.1 SP9 with JDK 1.3.1_02. Any ideas about what I may
    be doing wrong???

    Hi,
    runtime->session_id indicates the browser session not a windows session so as such there is nothing to prevent that except from preventing to open the app in the same browser again by eg testing on the session id
    Eddy

  • Problem with server side cookie

    Hi, I have a problem with a server side cookie. I'm trying to store a cookie trough the  cl_bsp_server_side_cookie=>set_server_cookie method in the OnInitialitation event handler of a bsp (my bsp application is non mvc) and then to retrieve this cookie trough the  cl_bsp_server_side_cookie=>get_server_cookie method in the OnInputProcessing event handler of the same bsp. In this cookie i'm storing a internal table but i'm not getting it when i invoke the get_server_cookie method.
    This is the source code that i'm implementing:
    OnInitialitation:
    wa_comunnication_data-mobile = wa-mobile.
              wa_comunnication_data-telefono = wa-tel_number.
              wa_comunnication_data-email = wa-email.
              APPEND wa_comunnication_data to comunnication_data.
               cl_bsp_server_side_cookie=>set_server_cookie(
                  EXPORTING
                   name = 'cook_comunnication_data'
                   application_namespace = 'NONE'
                   application_name = 'NONE'
                   username = 'NONE'
                   session_id = runtime->session_id
                   data_value = comunnication_data
                   data_name = 'comunnication_data'
                   expiry_time_rel = 720 ).
    OnInputProcessing:
    cl_bsp_server_side_cookie=>get_server_cookie(
          EXPORTING
           name = 'cook_comunnication_data'
           application_namespace = 'NONE'
           application_name = 'NONE'
           username = 'NONE'
           session_id = runtime->session_id
           data_name = 'comunnication_data'
          CHANGING
           data_value = comunnication_data ).
         READ TABLE comunnication_data INDEX 1 INTO wa_comunnication_data.
    regards, marcel.

    Why do you need to use cookies in the same BSP Application?
    Try to use below:
        username              = sy-uname
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
    <i>*reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • SQLNCLI11 - Recordset with Server Side cursor and Property PreserveOnCommit = TRUE

    I am migrating an OLEDB application from Microsoft Access to SQL.  I am using the SQL Native Client in my connection string
    "Provider=SQLNCLI11;Server=%s;Database=%s;Trusted_Connection=yes;"
    The application uses the following call to open a table in the database
    m_pRecordset->Open((LPCTSTR)m_strQuery, _variant_t((IDispatch*)mpdb, TRUE), adCursorType, adLockOptimistic, options);
    where m_strQuery is the table name, adCursorType is adOpenKeyset or adOpenDynamic (I've tried both), options is adCmdTable or adCmdTableDirect (I've tried both)
    mpdb is a _ConnectionPtr.  Cursor location can be either adUseClient or adUseServer.
    If I set Cursor location to adUseClient, the PreserveOnCommit Property of the  Recordset is true; if I set Cursor location to adUseServer the PreserveOnCommit property of the Recordset is false.  I cannot set this property after the recordset
    is open
    Is there a way to Open the recorfdset with a server side cursor and PreserveOnCommit TRUE?
    Howard P. Weiss

    Thanks, Dan, that has been very insightful. We will try to move our legacy VBA data access layer to client-side cursors (first for SQLs with CTEs, then for all SQLs, if everything works out well).
    Regarding deprecation: What is the currently recommended way to access SQL Server from VBA projects? I did a bit of research and it appears that all methods I can think of are deprecated in one way or another:
    DAO with ODBCDirect: Support has been dropped with Access 2007.
    DAO via JET: Using JET SQL syntax instead of T-SQL? Not seriously. Anyway, it's considered obsolete by Microsoft.
    ADO with the SQLOLEDB provider: Deprecated.
    ADO with the SQL Server Native OLEDB provider: Won't be supported after SQL Sever 2012.
    ADO with the Microsoft OLE DB provider for ODBC: Not supported: "SQL Server Native Client is not supported from the Microsoft OLE DB provider for ODBC (MSDASQL)."
    What did I miss?
    Best regards
    Heinzi

  • Issues with server side recording in FMS

    I have FMS installed on Windows XP machine.
    I am recording using the server side Stream class. This
    creates a FLV but when I play it back it does not play though it
    has created the file under the dir in FMS.
    After a lot of research I figured out that the recording is
    done properly but I have to restart my FMS before the play back.
    After which the play back goes on smoothly.
    Can any one help me with this. I need to know if this is a
    known issue or else I have to do something on stream at the the
    server side after recording so that I can play it back immediately.

    **Bump**
    I am having a similar issue. I have an app that will redirect
    the stream to the same application but a different instance. The
    ns.publish method is called for recording and the file will write
    correctly. However, after I stop publishing and go in to play the
    file in flv player, it doesnt play back. Looks like the meta data
    is there but no video. Is there a specific procedure to close off
    the file or something that I'm not performing?

  • Tabbed with Server Side Include

    Has anyone had any problems adding Server Side Include to the Spry Tabbed Pannels, everytime the I add a SSI to the tabbed content is locks up the tabs.
    Where the hell are to get support is this an interAKT, ADOBE or your on your own.

    Hello,
    I don't have an answer to your problem, because I've never tried this approach.
    However, I can tell you that this is an USER-TO-USER forum. If you need to request technical support from Adobe, you need to go here:
    http://www.adobe.com/go/support/
    regards,
    Ionut

  • Acrobat Forms with Echosign

    Hello,
    I am trying to finish a simple form for my company. This form has a few check boxes that I need to be required before submitted through echosign. Although the required field is checked and the boxes appear red when highlited, Echosign still allows me to send the form with the boxes unchecked. Has anyone else acquired experience with Echosign and Adobe before that could lend some advice? Thanks
    Joe P

    Joe P - Attached is the EchoSign forms tutorial which may help.  Essentially I think you want to be able to "prefill" the checkbox selection before it goes out for e-signature.  If this doesn't help, please also shoot a copy of the form to echosign customer support (support at echosign.com)

  • How to get the publish method with server side actionscript?

    We publish this way at client side:
    ns.publish(name, howToPublish);
    How to get this howToPublish at server side?
    application.onPublish = function(){
        //how to know whether the stream's publishing method(live,record,append) here?

    I am not sure whether you can know mode of publish via SSAS, best way would be to use Authorisation Plug-in which can intercept you publish request and get the information which you need - in this case mode of publishing.

Maybe you are looking for