<div dir="ltr">Hi,<div><br></div><div>You can go ahead with that based on your requirements.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 12:11 PM, Ramchandani, Narayan (DPC) <span dir="ltr"><<a href="mailto:Narayan.Ramchandani@sa.gov.au" target="_blank">Narayan.Ramchandani@sa.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-AU" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry, the correct jquery should be<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">$('select[name="assigned_user_id"]').val(fetch_user_id);<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Narayan.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a> [mailto:<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>] <b>On Behalf Of </b>Ramchandani, Narayan (DPC)<br><b>Sent:</b> Friday, 15 May 2015 4:02 PM<br><b>To:</b> <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a></span></p><div><div class="h5"><br><b>Subject:</b> Re: [Vtigercrm-developers] Webform - Assigned To<u></u><u></u></div></div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I would use JavaScript to <u></u><u></u></span></p><p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>a.<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://stackoverflow.com/a/901144" target="_blank">fetch_user_id from the Query String</a> and <u></u><u></u></span></p><p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>b.<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Pre-select the assigned-to field (see jquery example below) on document load.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">$('select[name='assigned_user_id'] + ']').val(fetch_user_id);<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><br>Narayan.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a> [<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">mailto:vtigercrm-developers-bounces@lists.vtigercrm.com</a>] <b>On Behalf Of </b>Uma S<br><b>Sent:</b> Friday, 15 May 2015 3:03 PM<br><b>To:</b> vtigercrm-developers<br><b>Subject:</b> Re: [Vtigercrm-developers] Webform - Assigned To<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Sorry! this can't be achieved through single webform in latest vtiger 6.2.0, Can be done only through code level customization's.<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, May 14, 2015 at 9:22 PM, cryptic <<a href="mailto:mark@markcox.co.uk" target="_blank">mark@markcox.co.uk</a>> wrote:<u></u><u></u></p><p class="MsoNormal">Can someone please advise how I can assign a lead generated via a webform to<br>a particular user. For example,<br><br>If enquiry is submitted via landing page <a href="http://www.somedomain.com/land1" target="_blank">www.somedomain.com/land1</a> then lead<br>should be assign to User1<br>If enquiry is submitted via landing page <a href="http://www.somedomain.com/land2" target="_blank">www.somedomain.com/land2</a> then lead<br>should be assign to User2<br>If enquiry is submitted via landing page <a href="http://www.somedomain.com/land3" target="_blank">www.somedomain.com/land3</a> then lead<br>should be assign to User3<br><br>Of course if there are only a few landing pages then I could create a<br>webform for each landing page, but what if there are hundreds?<br><br><br><br>--<br>View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/Webform-Assigned-To-tp16238.html" target="_blank">http://vtiger-crm.2324883.n4.nabble.com/Webform-Assigned-To-tp16238.html</a><br>Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>_______________________________________________<br><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><p class="MsoNormal">With<br>Best Regards<br>Uma.S<u></u><u></u></p><div><p class="MsoNormal">Vtiger Team<u></u><u></u></p></div></div></div></div></div></div></div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>