POST not including all fields

  • Profile Image
    TSMProduction
    Asked on February 26, 2013 at 11:12 AM

    We have many, many forms that work without incident.  This one though (http://forms.amplefi.net/form/30515584810956) has cost us 2 days.  The form isn't posting all the fields to our backend.  I'm at a loss to explain this.  Are there too many fields?  Is the URL length too long?  

    The data being posted is this (from our log files).

    INFO:root:02/26/2013 09:42:13:JotForm inbound is [('submission_id', '227698859622666154'), ('socialsecurity18', '3543423423'), ('ip', '97.78.17.226'), ('address6[]', 'test'), ('address6[]', 'set'), ('address6[]', 'est'), ('address6[]', 'eest'), ('address6[]', 'etset'), ('address6[]', 'Abkhazia'), ('dateof35[]', 'July'), ('dateof35[]', '4'), ('dateof35[]', '2032'), ('dateof[]', 'July'), ('dateof[]', '6'), ('dateof[]', '1925'), ('birthdate17[]', 'May'), ('birthdate17[]', '2'), ('birthdate17[]', '2031'), ('dateof32[]', 'April'), ('dateof32[]', '3'), ('dateof32[]', '2033'), ('hasthe', 'No'), ('client[]', 'asdf'), ('client[]', 'asdf'), ('fillout[]', '["asdf","asdf","dfasdf","asdf"]'), ('fillout[]', '["","","",""]'), ('fillout[]', '["","","",""]'), ('fillout[]', '["","","",""]'), ('fillout[]', '["","","",""]'), ('fillout[]', '["","","",""]'), ('whois', 'asdf'), ('tothe', 'No'), ('formID', '30515584810956'), ('dateof26[]', 'January'), ('dateof26[]', '3'), ('dateof26[]', '2033'), ('socialsecurity', '344-34-3233'), ('fullname12[]', 'asdfasf'), ('fullname12[]', 'asdfasd'), ('email10', 'mhusk@amplefi.com'), ('todaysdate[]', 'February'), ('todaysdate[]', '4'), ('todaysdate[]', '2029'), ('email13', 'j@m.com'), ('doyou29', 'No'), ('areboth[]', 'No'), ('nameof', 'dfasdf'), ('birthdate7[]', 'April'), ('birthdate7[]', '3'), ('birthdate7[]', '2027'), ('homeaddress[]', 'fasdf'), ('homeaddress[]', 'asdfasfd'), ('homeaddress[]', 'asdf'), ('homeaddress[]', 'asdf'), ('homeaddress[]', 'asdf'), ('homeaddress[]', 'Albania'), ('lengthof', '3453'), ('whataddress[]', 'asdfa'), ('whataddress[]', 'sdfasdf'), ('whataddress[]', 'asdf'), ('whataddress[]', 'asdf'), ('whataddress[]', 'asdf'), ('whataddress[]', 'Andorra'), ('reasonfor', 'fasdf'), ('descibethe', 'asdfasf'), ('primaryattorney[]', 'asdf'), ('primaryattorney[]', 'asdfas'), ('fullname4[]', 'dfgj'), ('fullname4[]', 'gadsgj'), ('locationof[]', 'asdf'), ('locationof[]', 'asdf'), ('locationof[]', 'asdf'), ('locationof[]', 'f'), ('locationof[]', 'asdf'), ('locationof[]', 'Algeria'), ('primarynumber14[]', '545'), ('primarynumber14[]', '345345'), ('wheredoes[]', 'asdfasdf'), ('wheredoes[]', 'asdfa'), ('wheredoes[]', 'asdf'), ('wheredoes[]', 'fasdfa'), ('wheredoes[]', 'sdf'), ('wheredoes[]', 'Albania'), ('age', '23'), ('wasthere[]', 'No'), ('age15', '32'), ('spouse[]', 'asdf'), ('spouse[]', 'asdf'), ('primarynumber[]', '727'), ('primarynumber[]', '383838'), ('lengthof33', '34'), ('currentaddress[]', 'asdf'), ('currentaddress[]', 'sdfasdf'), ('currentaddress[]', 'asdf'), ('currentaddress[]', 'asdf'), ('currentaddress[]', 'asdf'), ('currentaddress[]', 'Falkland Islands'), ('whomoved[]', 'aadf'), ('whomoved[]', 'asdfasdf'), ('placeof', 'afasdf')]

    Thanks
  • Profile Image
    TSMProduction
    Answered on February 26, 2013 at 11:16 AM

    To be very specific - try this field {ifYes116}.

  • Profile Image
    Welvin
    Answered on February 26, 2013 at 11:42 AM

    Hi,

    Form fields souldn't be the problem. Are you referring to Form Email Notifications? If yes, please try re-creating your form notifications. 

    After doing this changes and still won't show all the fields, let us know so we can check and investigate further.

    Thanks

  • Profile Image
    Vince Albanese
    Answered on February 26, 2013 at 12:45 PM

    This form is posting data to our backend server.  What I gave you is the data exactly as I received it in the post.  All the fields on the form are not included in this.  In other words, the POST didn't appear to send everything through.  And, there was data entered into every field.

  • Profile Image
    Welvin
    Answered on February 26, 2013 at 01:31 PM

    Hi Vince,

    Can you point me what method of Jotform did you follow to post data to your backend?  Is it Send Post Data to Custom Thank You Page?

    http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    or

    http://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

     

    Thanks

  • Profile Image
    TSMProduction
    Answered on February 26, 2013 at 08:32 PM

    In all of our forms we go to preferences>advanced settings and enable Post Data.  Then we set up a custom thank you page that points to a Python application we call our Jotform Converter.  That scripts interprets the inbound columns from the POST and dynamically creates and appends to database tables in MySQL.  

    This code works for hundreds of forms and thousands of POST's.  In this particular case though the POST doesn't seem to include all the fields which of course breaks our process.  This is the largest form we've ever created.  We did eliminate 1/2 the fields today as a test and it went straight though.  Is it the number of fields, the amount of data being sent, ???

    Thanks,

  • Profile Image
    jonathan
    Answered on February 26, 2013 at 10:42 PM

    @TSMProduction

    Hi, we cannot really see how your phyton converter works, but perhaps the problem lies on the function that parse the post data. We need to confirm that there is no issue during the parsing process.

    Here is my suggestion.

    Please try to clone your form. You will use the cloned form as your draft test form. Shorten the form to speed up your testing.

    To shorten it, just remove all the other fields... try to retain the fields that you think were not included when use your application (example, retain the field ifYess116 or the "If Yes, Name of Witness" field)

    Then, test the form.. submit it and pass it to your post data converter. 

    Check if all the fields are properly parse or collected.

    Btw, base on my short experience, some parsing methods fails if there are illegal characters found on the question field.. i.e ampersand (&) , slash (/) , or comma (,). Try to observe if some of this characters are causing problem in your post data collection process.

    Please keep us posted of your results, specifically on the test form.

    Thanks.