basic struct for form directive