Added getFormOption() to pass options data to the form

Added getFormOption() to pass options data to the form