Added optional form name attribute support
Added optional post method