An approach to form creation based on AND/OR tree