Fetching Field Values for a custom function

Fetching Field Values for a custom function

Does anyone know how to fetch field values from a form into a custom function, I want to use field values in a custom function to send off a notification using the sendmail tool, but I cannot get the field values to use for my subject, recipient, etc.

                New to ADSelfService Plus?