[Vtigercrm-developers] Bug : The password field , uitype 99 displays as text filed in version 6 EA

salim salim at posibolt.com
Fri Jul 12 15:07:30 UTC 2013


Hi Lajeesh K,

This how i created a password field for my vTlib Module.


   1. $targetPasswordField = Vtiger_Field::getInstance('target_paswd',
   $module);
   2. if (!$targetPasswordField) {
   3.     $targetPasswordField = new Vtiger_Field();
   4.     $targetPasswordField->name = 'target_paswd';
   5.     $targetPasswordField->label = 'Test Password';
   6.     $targetPasswordField->table = $module->basetable;
   7.     $targetPasswordField->uitype = 99;
   8.     $targetPasswordField->typeofdata = 'P~V'; // I think you may
   missing this.
   9.     $infoBlock->addField($targetPasswordField);
   10. }


[image: Inline images 1]

Hope this helps.
--
Salim


On 12 July 2013 16:49, Lajeesh K <lajeesh at practicesuite.com> wrote:

>  Hi,****
>
> ** **
>
> The password field , uitype 99 displays as text filed in version 6 EA****
>
> ** **
>
> ** **
>
> Thanks and regards,****
>
> Lajeesh****
>
> http://phpinspired.com****
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130712/46c90716/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Target 2013-07-12 20-31-49.png
Type: image/png
Size: 17682 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130712/46c90716/attachment-0001.png>


More information about the vtigercrm-developers mailing list