We have templates that contain multiple tabs for a UBI Number. I got our REST request to get the first template occurrence per page of this field to prefill, but not the others that follow. I was wondering if it would fill in all fields with the same tabLabel or if it just finds the first occurrence, fills it in and then exits? We're using cURL and PHP along with REST. Code example:
"templateRoles" => array(
array(
"tabs" => array(
"textTabs" => array (
array ("tabLabel" => "license_number", "value" => $license_number),
array ("tabLabel" => "ubi_number", "value" => "$ubi_number"),
array ("tabLabel" => "trade_name", "value" => $trade_name)
)
),
"email" => "$applicant_email",
"name" => $applicant_name,
"roleName" => "Applicant"
)
),
"status" => "sent");
This is only a bit of the cURL request and like I said, it fills in the first occurrence of the UBI Number field on each page but none of the ones that follow in the same template page. Any idea to why this is happening?