[Vtigercrm-developers] Enter bind

Joe Bordes joe at tsolucio.com
Thu Sep 22 10:46:30 PDT 2011


Nope, can't reproduce, works correctly for me.

Joe
TSolucio


El 22/09/11 19:35, Nicolas Larcipretti escribió:
> A fresh install wont have the related to fields that I created. I'll 
> give you the script to create them in your installation:
>
> <?php
> require_once 'vtlib/Vtiger/Block.php';
>
> //Can be any block you want
> $blockInstance = Vtiger_Block::getInstance(117);
>
> $fieldInstance = new Vtiger_Field();
> $fieldInstance->name = 'existentaccount';
> $fieldInstance->label = 'Existent Account';
> $fieldInstance->table = 'vtiger_leadscf';
> $fieldInstance->column = 'existent_account';
> $fieldInstance->columntype = 'VARCHAR(255)';
> $fieldInstance->uitype = 10;
> $fieldInstance->typeofdata = 'V~O';
>
> $blockInstance->addField($fieldInstance);
>
> $fieldInstance->setRelatedModules(Array('Accounts'));
>
> Run this script in your vtiger, access leads->edit view, select an 
> account, set your cursor in a text field and press enter.
>
> Cheers
>
> Nicolas
> 2011/9/22 Joe Bordes <joe at tsolucio.com <mailto:joe at tsolucio.com>>
>
>     Quick test on my test install with firefox and I can't reproduce.
>     Can you reproduce this behaviour online or in a fresh install? 
>     Another browser?
>
>
>     El 22/09/11 19:04, Nicolas Larcipretti escribió:
>>     Hey fellas,
>>
>>     I've noticed that in the edit view, if you place the cursor in
>>     any input text field and press "enter", every "related to" field
>>     in the form is automatically erased. Anyone else noticed that? Is
>>     there a work around to this? Or do I have to unbind the action
>>     from the eraser button via jquery/prototype to solve this?
>>
>>     Cheers
>>
>>     Nicolas
>>
>>
>>     _______________________________________________
>>     http://www.vtiger.com/
>
>
>     _______________________________________________
>     http://www.vtiger.com/
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110922/a9b2c411/attachment-0002.html 


More information about the vtigercrm-developers mailing list