This question has been answered by andytough. See the first response.
<label for="firstname"> First Name: <span class="error">[[!+fi.error.firstname]]</span> </label> <input type="text" class="firstname" name="firstname" id="firstname" value="[[!+fi.firstname]]" />
[[!FormItRetriever]] Your name: [[!+fi.firstname]]