setRouteVariables doesn't return errors to the template So I've been breaking my head trying to figure this out. I'm working on a contact form plugin. Basically I'm coping exact same code craft uses to create form "fields". I have validation working like it should. And I have 2 required fields that should return error messages. But when I try to:

craft()-&gt;urlManager-&gt;setRouteVariables(array(
  'field' =&gt; $field
));


And in the template file {{ field }}, I get.. Variable "field" does not exist

I can't seem to get the value to populate on the form nor display the errors because of this. Anyone had problems like this before? 

Here's my files:
https://gist.github.com/owldesign/e01b49fdb1da3ef23ef2

Sorry for weird file delivery.. this comment won't let me post more than 2 links.

Please let me know if you guys need more from me?
Thanks.

Edit: Repo https://github.com/owldesign/FormBuilder
I have finished the plugin, with much success, if you wondering you can see it here https://github.com/roundhouse/FormBuilder-Craft-CMS