Auto numeric June 05, 2020, 08:04:23 PM Hello everyone!I have a numeric field which is a work order, I need it to be put a mask, but it should be with non-random correlative numbers, when I put the option none in the field propeties and use the value --random_num (10) - It works perfect generating ramdoms numbers. But I need the fields that I add in the table to be correlative. Example AS00001, AS00002 Quote Selected
Re: Auto numeric Reply #1 – June 06, 2020, 07:13:02 AM @ddiaz2380 the best solution would be to write a code to generate the number in action before add and pass it to $modeldata['field name here'] for phprad to insert it. Quote Selected 1 Likes
Re: Auto numeric Reply #2 – June 06, 2020, 03:08:12 PM Quote from: willvin – June 06, 2020, 07:13:02 AM@ddiaz2380 the best solution would be to write a code to generate the number in action before add and pass it to $modeldata['field name here'] for phprad to insert it. hi @willvin Thank you for your collaboration as always! Quote Selected