added addAttribute() and addDataAttribute() to Forms