fixed form format and added dynamic databindings for forms