Auto-Increment Field Type

I have seen a lot of KB posts about creating auto-incrementing field type, but when I try and add a new field using Studio, that field type is not available to select. I am using Version 8.3.1

I don’t think we have field type with auto-incrementing.

You need to update code:

<?php
	 $dictionary['YOUR_MODULE']['fields']['NAME_OF_AUTO_INC_FIELD']['auto_increment'] = true; 
?>

1 Like