we are using podio to collect, store and manage data from our website. Whenever we have a form (not using podio forms, but costum html forms) that has optional from-fields, and these fields are not populated, we get the following error:
Error: Invalid field #### ('value'): Invalid value u'': Must be at least 1 characters long
This is the php code:
$podioapi->item->create($app_id, array('fields' => array(
"cat" => 7,
"message" => nl2br($_POST['message'], false),
"details" => $_POST['firstnmae'] . " " .$_POST['lastname'],
"date" => array('start' => date("Y-m-d H:i:s")),
"status" => 1),
In the above example the error would result from an empty email field...
When I enter data via podio I dont need to fill these fields. And how would the user fill this field with no data when using our webform.
Thank your for the help!
Please sign in to leave a comment.