[Vtigercrm-developers] Enter bind
Philip Holan
pholan at hotmail.com
Thu Sep 22 11:19:10 PDT 2011
Nicolas,
How do I unregister from receiving email notifications?
Thanks
From: Nicolas Larcipretti
Sent: Thursday, September 22, 2011 1:36 PM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Enter bind
Sorry, forgot to say that the block to this test must be a lead block.
Cheers
2011/9/22 Nicolas Larcipretti <niclarcipretti at gmail.com>
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>
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/07018fea/attachment-0002.html
More information about the vtigercrm-developers
mailing list