02-03-2009 12:04 PM
I am trying to iterate through all the fields on the contact to see if any are blank. Then I need to see if any of them are mandatory fields and fill them with proper data if they are blank. I have gotten specific fielddescriptors for say just phones. I have gotten fielddescriptors for every field even ones not on the contact layout but I can't figure out how to get all fields on the contact layout. Once I do this then I believe the check to see if the field holds a value ought to be easy. Determining if it is mandatory however I am not sure about. I went through attributes thinking it might be there but what I got wasn't making sense to what was and wasn't mandatory.
Just a few pointers would be greatly appreciated.