msandid
2010-03-29 23:18:29 UTC
Hi all,
Is there a property of fields in CRM that returns their schema and/or
display name?
I am looping through all the fields of a form and would like to return
a list of the names of the fields that changed value. I am doing this
in the OnSave event and I kept playing with "name" and "ID" but it
usually returns "unidentified."
On a separate note, do I have to add a new attribute to the form so
that I can refer to it in JavaScript? If I don't do that, I get a JS
error! Probably because I am referring to this new field using the
form name: form.new_fieldname. Is there another way to refer to it and
populate it, maybe using document or entity name as a handle?
I'm a JS beginner and code samples would help. Thank you,
Mohamed
Is there a property of fields in CRM that returns their schema and/or
display name?
I am looping through all the fields of a form and would like to return
a list of the names of the fields that changed value. I am doing this
in the OnSave event and I kept playing with "name" and "ID" but it
usually returns "unidentified."
On a separate note, do I have to add a new attribute to the form so
that I can refer to it in JavaScript? If I don't do that, I get a JS
error! Probably because I am referring to this new field using the
form name: form.new_fieldname. Is there another way to refer to it and
populate it, maybe using document or entity name as a handle?
I'm a JS beginner and code samples would help. Thank you,
Mohamed