'reason':'I had nothing to do at work, so I figured it would fill out this web form'
}
The rendered output would be:
---
Hello Joe, This form will be populated with data from our database
if it already exists. Please make any changes and resubmit the form.
UserID: <input type=text name=userID value="Joe" ><br>
Gender: <input type=radio name=gender value=male checked >Male <input type=radio name=gender value=female>Female
Reason for joining
<textarea name=reason>
I had nothing to do at work, so I figured it would fill out this web form
</textarea>
---
The html tags were parsed and updated with their appropriate values. The template system
respects existing values, and will remove existing values only if a new one is supplied
in the replacement table.
The HTML template engine can process textarea, text, hidden, password, radio, select and
checkboxes.
The template system also has support for dynamically hiding parts of the page. This is done
without any programming logic being placed in the unrendered page, still allowing for
HTML editors to easily parse and manipulate the unrendered page.