- Opportunity Customisation
- Posted by Miguel on September 15th, 2006
Hi, please help.
I want a customisation in the opportunity form.
I want validated field. when this field is datavalue <> null, other field
change the requirement level to businnes required.
it's possible?? programming in the OnChange event??
Thanks.
- Posted by Darren Liu on September 15th, 2006
Hi Miguel,
Yes, you can do that in the onChange Event.
Darren Liu
Crowe Chizek and Company
http://www.crowechizek.com/crowe/microsoft
Miguel wrote:
- Posted by Miguel on September 15th, 2006
Do you have any example code???
"Darren Liu" wrote:
- Posted by Darren Liu on September 15th, 2006
Hi Miguel,
Here's a simple example:
if (crmForm.all.name.DataValue =="ABC")
{
crmForm.all.telephone1.style.display = "none";
}
for the fields that you need, you can show them, for the ones that you
don't need, hide them.
Hope this helps!
Darren Liu
Crowe Chizek and Company
http://www.crowechizek.com/crowe/microsoft
Miguel wrote:
- Posted by Miguel on September 18th, 2006
Hi again.
I did what you said.
i wrote this:
var value1 = crmForm.all.CFCMonto_de_Venta_Servicio.DataValue;
if (value1 == null)
crmForm.all.CFCContribucion_Marginal_Servicio.Requ iredLevel = 1;
else
crmForm.all.CFCContribucion_Marginal_Servicio.Requ iredLevel = 2;
but, not work. what is wrong??
please, help me.
"Darren Liu" wrote:
- Posted by Darren Liu on September 18th, 2006
Hi Miguel,
What type field is CFCMonto_de_Venta_Servicio? Picklist, Text, or Bit?
Darren Liu
Crowe Chizek and Company
http://www.crowechizek.com/crowe/microsoft
Miguel wrote:
- Posted by Miguel on September 18th, 2006
i'ts a money
"Darren Liu" wrote: