Link to home
Create AccountLog in
Avatar of sbdt8631
sbdt8631

asked on

Dynamics CRM 4.0 Make a Custom Attribute Read Only Without Making it Read Only

I have been customizing the Quote form.  Recently I added a new tab called Cost.  I have Custom Attribute fields on the Cost Tab that auto fill on change of fields from the General tab and visa versa.  In other words on change of field A on the General tab field B on the Cost tab equals formula.  On change field C on Cost,  field D on General equals formula.  For obvious reasons I don't want the user to be able to manually change the data in B or D.

I made fields B and D read only and it seemed to work at first until I tried to change the values.  The corresponding values would change on the form via the formula but would not save. In other words the first time B and D populated via formula the values would change and save but subsequent changes would not.  They would change on the form but would not save.

How can I make these fields not editable but writable?  How can I make them read only without making them read only?
ASKER CERTIFIED SOLUTION
Avatar of Feridun Kadir
Feridun Kadir
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of sbdt8631
sbdt8631

ASKER

I tried ForceSubmit and it works.  I prefer this solution because the form I am making mimics an excel sheet where I have cascading formulas that need to fire on change of multiple fields.  ForceSubmit I can put in OnLoad.  FireOnChange would have to be added to the OnChange of multiple fields and I already have more of that than I like.
Thanks to both of you.