• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Adding a counter for submissions with bar code

Adding a counter for submissions with bar code 10 years 11 months ago #27652

Hello,

We use this script is perfect:

$db = JFactory::getDBO();
$db->setQuery("SELECT MAX(`FieldValue`) FROM #__rsform_submission_values WHERE `FieldName`='counter' AND `FormId`='".(int) $formId."'");
$input = $db->loadResult();

if($input){
$string = intval(ltrim($input, '0'))+1;
$_POST = str_pad($string,5,0,STR_PAD_LEFT);
}

We wish to transform these numbers into barcode? Is this possible?
Cordially
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!