[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtigercrm-developers
Subject:    Re: [Vtigercrm-developers] Enable Duplicate Checking in other
From:       Asha <asha () vtiger ! com>
Date:       2011-03-17 19:57:28
Message-ID: AANLkTimowZs+fGRPXmOzKfUP23OgFG5Td1P+yLm2OEER () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Nate Peterson,

I would say going to Save and then checking for duplicate would be too late.
Preferably, it should be done even before calling Save.
Say for exampe, In Accounts module, even before Submitting the form, we do
an ajax request to check if the Account with same name exists. If exists,
then we don't submit the form. Otherwise we submit the form for Save.
On Thu, Mar 17, 2011 at 1:45 AM, Nate Peterson <n.peterson01@gmail.com>wrote:

> Hello,
>
> I am looking for a way to enable duplicate entry checking in other modules
> like Leads the same way it is used when you add a new User.
> In short, when you click 'Save' in the 'Create New Lead' section, It checks
> the entered fields (or at least the required ones) against those fields in
> the database and checks for duplicates.  If it finds one, it won't let you
> save.  I prefer this method to going through afterwards and weeding them
> out.
>
> Has anyone done this before?  Is there an add-on for this?  Can anyone at
> least point me in the right direction as to how to accomplish this?
>
> So far, focusing on the Leads module, the closest thing I have found is
> save.php in the Leads folder, but I am kind of at a loss as to what does
> what here or if this is the right place to be looking.
>
> Thanks in advance for any help and/or insight anyone can offer.
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Regards,
Asha
vtiger Team

[Attachment #5 (text/html)]

<div>Hi Nate Peterson,</div>
<div> </div>
<div>I would say going to Save and then checking for duplicate would be too late. \
Preferably, it should be done even before calling Save.<br></div> <div>Say for \
exampe, In Accounts module, even before Submitting the form, we do  an ajax request \
to check if the Account with same name exists. If exists, then we don&#39;t submit \
the form. Otherwise we submit the form for Save.<br> </div>
<div class="gmail_quote">On Thu, Mar 17, 2011 at 1:45 AM, Nate Peterson <span \
dir="ltr">&lt;<a href="mailto:n.peterson01@gmail.com">n.peterson01@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; \
PADDING-LEFT: 1ex" class="gmail_quote">Hello,  <div><br></div>
<div>I am looking for a way to enable duplicate entry checking in other modules like \
Leads the same way it is used when you add a new User.</div> <div>In short, when you \
click &#39;Save&#39; in the &#39;Create New Lead&#39; section, It checks the entered \
fields (or at least the required ones) against those fields in the database and \
checks for duplicates.  If it finds one, it won&#39;t let you save.  I prefer this \
method to going through afterwards and weeding them out.</div>

<div><br></div>
<div>Has anyone done this before?  Is there an add-on for this?  Can anyone at least \
point me in the right direction as to how to accomplish this?</div> <div><br></div>
<div>So far, focusing on the Leads module, the closest thing I have found is save.php \
in the Leads folder, but I am kind of at a loss as to what does what here or if this \
is the right place to be looking.</div> <div><br></div>
<div>Thanks in advance for any help and/or insight anyone can offer.</div>
<div><br></div>
<div><br></div><br>_______________________________________________<br><a \
href="http://www.vtiger.com/" \
target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br \
clear="all"><br>-- <br>Regards,<br>Asha<br>vtiger Team<br>



_______________________________________________
http://www.vtiger.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic