Form elements with sub-fields (i.e. Full Name or Address) are empty while sending the data via the POST method.

  • Profile Image
    beyondmarathon
    Asked on January 16, 2019 at 02:43 PM


    I am trying to redirect my thankyou page output via POST for use getting the data in a  but I 4 errors. this matched the 4 fields (highlighted below in red ink) which are missing the data, including start and end date, name, address etc. It seems all of the errors related to fields that have multi-parts, and I suspect this is a fix that Jotform need to apply


    Data Submitted:


    Warning: htmlentities() expects parameter 1 to be string, array given in /www/pages/live/show-post-data/index.php on line 17

    Warning: htmlentities() expects parameter 1 to be string, array given in /www/pages/live/show-post-data/index.php on line 17

    Warning: htmlentities() expects parameter 1 to be string, array given in /www/pages/live/show-post-data/index.php on line 17

    Warning: htmlentities() expects parameter 1 to be string, array given in /www/pages/live/show-post-data/index.php on line 17

    Array ( [submission_id] => 4234758200433404243

    [formID] => 72876841212358

    [ip] => 86.9.73.40

    [nameof18] => Richard test event

    [address] =>

    [emailaddress4] => info@beyondmarathon.com

    [repeatemail5] => info@beyondmarathon.com

    [contactname] =>

    [howmany] => 10

    [dateevent] =>

    [expeditionend] =>

    [eventlength20] => 1-3 Days - £12.00 (Bronze / Silver)

    [choosedelivery] => 1st Class Signed (2 trackers max)- £4.45

    [wouldyou34] => Yes (Cost is £15.00)

    [typea] => Yes

    [number] => 1.50

    [oslicence24] => 15

    [19total] => 34.45

    [10plus21] => 154.45

    [100plus] => 34.45

    [totalcost22] => 154.45

    [detailsabout13] => nothing specific )

    PHP Code:
    $_POST['submission_id'];
    $_POST['formID'];
    $_POST['ip'];
    $_POST['nameof18'];
    $_POST['address']['0'];$_POST['address']['1'];$_POST['address']['2'];$_POST['address']['3'];$_POST['address']['4'];$_POST['address']['5'];
    $_POST['emailaddress4'];
    $_POST['repeatemail5'];
    $_POST['contactname']['0'];$_POST['contactname']['1'];
    $_POST['howmany'];
    $_POST['dateevent']['0'];$_POST['dateevent']['1'];$_POST['dateevent']['2'];
    $_POST['expeditionend']['0'];$_POST['expeditionend']['1'];$_POST['expeditionend']['2'];
    $_POST['eventlength20'];
    $_POST['choosedelivery'];
    $_POST['wouldyou34'];
    $_POST['typea'];
    $_POST['number'];
    $_POST['oslicence24'];
    $_POST['19total'];
    $_POST['10plus21'];
    $_POST['100plus'];
    $_POST['totalcost22'];
    $_POST['detailsabout13'];

  • Profile Image
    Kevin_G
    Answered on January 16, 2019 at 04:14 PM

    Apologies for the inconveniences this caused. 

    I have been testing this on my end and I can see it happens with the form elements containing sub-fields such as the full name, address, phone number. 

    I will forward this issue to our second level so our developers can have a look on this, we will keep you updated via this thread. 

    Thanks. 

  • Profile Image
    beyondmarathon
    Answered on January 18, 2019 at 01:22 PM

    OK, please keep me updated. I can't import any form customer data into my DB as it stands.

  • Profile Image
    Victoria_K
    Answered on January 18, 2019 at 02:34 PM

    Thank you for contacting us. The ticket was escalated to our developers and as soon as we receive an update on it, we will notify you via this thread.