[Vtigercrm-developers] Webform - Assigned To

Alan Lord alanslists at gmail.com
Fri May 15 08:32:40 GMT 2015


On 14/05/15 16:52, cryptic wrote:
> Can someone please advise how I can assign a lead generated via a webform to
> a particular user. For example,
>
> If enquiry is submitted via landing page www.somedomain.com/land1 then lead
> should be assign to User1
> If enquiry is submitted via landing page www.somedomain.com/land2 then lead
> should be assign to User2
> If enquiry is submitted via landing page www.somedomain.com/land3 then lead
> should be assign to User3
>
> Of course if there are only a few landing pages then I could create a
> webform for each landing page, but what if there are hundreds?

I'd probably write an event handler to make that decision nased on 
either some hidden data passed from each form (or modify the Capture 
class to use information from the HTTP_REFERRER (if it is set of course)...

HTH

Al




More information about the vtigercrm-developers mailing list