Context.data.lead_type = Context.fields.lead_type.social;
To access some category codes, you have to use square brackets.
Context.fields.category['n-']; Context.fields.category['1n'];
Value’s code.
Value’s name.
Category (enumeration)
To access some category codes, you have to use square brackets.
Context.fields.category['n-']; Context.fields.category['1n'];