[Vtigercrm-developers] make a field unique

Alan Lord alanslists at gmail.com
Fri Oct 14 13:15:41 GMT 2016


On 14/10/16 14:02, lucia digirolamo wrote:
> Hi, I need the name of my projects in the Project module to be unique..
> basically what I need is that when I enter a name  (in projects) that
> already exists, I cannot save the record and some message appears saying
> that the name already exists (i'm using vtiger 630, by the way)
>
> can somebody tell me how can I achieve this?

Look at the way the Account Name is handled in 
layouts/vlayout/modules/Accounts/resources/{Detail.js,Edit.js}

HTH

Al




More information about the vtigercrm-developers mailing list