How to add custom field in Contact form ??

HI i want to add custom fields in contact form through programatically(through vardefs).

Did you find a solution? I am also looking to add some custom fields in the contact creation form.