Many thanks to you both, after revisiting my code with your suggestions I realized I was looking at it wrong. I was trying to pull my field names from my feature layer to assign them to my graphic, but that was not necessary. All I had to do was assign attributes to my graphic that matched the field names in my feature layer. I also added a basic form and then assigned each attribute a value from one of my form items. sample of code below.
g.attributes={Field1: formitem1.text, Field2: formitem2.text}
myFeatureLayer.applyEdits(, null, null);