added back validation markup to contact form, changed writetoURl to now
set just the portlet name instead of having html extension