Forums

data from form, modification, data back to form

GESign 14 Oct, 2016
Dear Bob,

I would like to get the ID of the record and manipulate it and save it to a field.
I took the code below to "Setup" tab"s "On submit" part as "Custom code":

<?php
$orderid = $form->data['id'];
$orderid = "DEMO" . $orderid;
$form->data['orderid'] = $orderid;
?>

I took a hidden field to the form's "Designer" tab and it does create the "orderid" field in the database but it is empty.

How could I solve this problem, please.

Best regards,
Andrew
This topic is locked and no more replies can be posted.