This question has been flagged
2057 Views

i have field 'model' class that has a name and a shortcut (each class created should have a counter starting from 1) , and another field 'student_number' which should take the value of the shortcut of the class related to , concatenated with the counter value of that class. then on save the counter of that class should increment. I need your help to create a function for this aim .

Avatar
Discard