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
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