Discussion:
Fields revert back to original value
(too old to reply)
riords
2010-02-24 20:04:01 UTC
Permalink
Hoping someone can help. I have 2 calculated fields on a quote order line. I
calculate the values using javascript and display them as the fields that go
to make up the calculation are changed. Everything works fine until I reopen
the record and the values have reverted back to their original value. I want
the calculated fields to be read only as they are margin calcs and
salespeople are compensated on margin value. If I set them to be editable
everything works fine.
Phil - DynamicsCrmBlog.com
2010-02-24 23:12:35 UTC
Permalink
Post by riords
Hoping someone can help. I have 2 calculated fields on a quote order line. I
calculate the values using javascript and display them as the fields that go
to make up the calculation are changed. Everything works fine until I reopen
the record and the values have reverted back to their original value. I want
the calculated fields to be read only as they are margin calcs and
salespeople are compensated on margin value. If I set them to be editable
everything works fine.
Hi there,

You need to set forcesubmit of those fields to true.

crmForm.all.fieldname.ForceSubmit = true;

Best,
Phil Edry, Altriva Solutions http://www.altriva.com/AltrivaBlog.aspx
Continue reading on narkive:
Loading...