×

Notice

The forum is in read only mode.

User fields

10 years 11 months ago #2916 by Hanzy
User fields was created by Hanzy
Hi,
How do we add unique code for each job????
I've added a new user field. Now i want to make this field unique (auto increment) just like primary key for any table.
10 years 11 months ago #2920 by Super User
Replied by Super User on topic User fields
Hi,

JS Jobs have already primary/unique field (id) in all table.
You may use this field 'id' for your purpose.

Best regards,

Ahmad Bilal
10 years 11 months ago #2925 by Hanzy
Replied by Hanzy on topic User fields
But that 'id' field will take only integer values right??? I wanna use a combination of numbers n letters also in the jobid/jobcode.
10 years 11 months ago #2931 by Super User
Replied by Super User on topic User fields
Hi,

You may create a new field in database, and write code according to your need.

Best regards,

Ahmad Bilal
The following user(s) said Thank You: Hanzy
10 years 5 months ago #3190 by yaser
Replied by yaser on topic User fields
hi Admin...
how we can do this...?
i mean how use userfield with custom code and save value in database.....!!!???
plz help.
10 years 5 months ago #3191 by Super User
Replied by Super User on topic User fields
Hi,

User fields use for input date from user.
If you need field for system purpose, create a new field in table, do not use user field.

Best regards,

Ahmad Bilal
Time to create page: 0.055 seconds

Please publish modules in offcanvas position.