Added API sample for creating form properties

Added API sample for creating form properties