[Vtigercrm-developers] Populate address field on selection of UI10->accounts?
Holbok István
holbok at gmail.com
Fri Jul 18 14:43:21 GMT 2014
Hi Alan,
In vtiger 6 there is a built in function to populate some fields on
selection UI10.
/**
* Function which will register event for Reference Fields Selection
*/
registerReferenceSelectionEvent : function(container) {
var thisInstance = this;
jQuery('input[name="account_id"]',
container).on(Vtiger_Edit_Js.referenceSelectionEvent, function(e, data){
thisInstance.referenceSelectionEventHandler(data, container);
});
},
Look for something like this above with your editor search.
In vtiger 5 this job was done by JS also.
Kindest regards:
Istvan
üdvözlettel:
*Holbok István*
+3670-342-0900
*e-mail:* holbok at gmail.com
*SkyPe:* holboki
2014.07.18. 15:56 keltezéssel, Alan Lord írta:
> On 18/07/14 14:28, adrian at refineriaweb.com wrote:
>> Hi!
>>
>> I have done this countless times. Unfortunately I never did a generic
>> function doing this and I did always coded by hand.
>
> Thanks.
>
> I understand your process. I'd looked at this route myself and thought
> it was going be even more messy than js & Ajax but maybe not ;-)
>
> Thanks again,
>
> Al
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140718/1ec59a3c/attachment.html>
More information about the vtigercrm-developers
mailing list