Creating custom field types

Topics: Customizing Orchard, General
Dec 19, 2012 at 1:01 PM

Hi There

I am creating a contact form using custom forms module . I have added various fields to the content type.

I would like to know how do I create custom field types that will pull data from either content data or non-content data into a drop down list.

I know I will have to write a custom field module but cannot find any information on how to do this.

A point in the right direction would help greatly.

Thanks

Stanton

Dec 19, 2012 at 1:32 PM

Here is a good article on creating custom field types:

http://docs.orchardproject.net/Documentation/Creating-a-custom-field-type

I believe you can get the code for this walk-through here:

https://github.com/OrchardCMS/OrchardDoc/blob/master/Documentation/Creating-a-custom-field-type.markdown

 

Dec 19, 2012 at 1:38 PM

Excellent thanks !!!!