I am trying to implement some validation on an asp page I created using a post you made in 2011.
(very impressed with this)
The dedupe behaviour works perfectly however I am unable to validate any of the fields on the Newleadsearch.asp
What I would like to do is validate the second field (comp_postcode)so that it must contain at least 2 characters.
I have tried the asp validation code in the above post however I am struggling to get it to work. I added the above script directly after the "LeadBlock.FormAction = eWare.URL("newleadsearchresult.asp");" section but the resulted in a 500 error.
Do you have any ideas on where I am going wrong and what I can do to attain this validation?
I am using this on a Sage 200 CRM 7.1g.
<!-- #include file ="accpaccrm.js"-->