Added support for html forms

However, testing is still needed