FAQ eSurvey > HTML Templates > Default HTML Template Code
Industry Solutions Pricing FAQ Help Contact Us Blog
Contact Sales 1-877-436-8133
Click to Ask a Question 
Welcome to eSurvey FAQ and support!
Type in your question below to search our knowledgebase, or feel free to browse our most popular topics listed below.
Search the FAQ for entries containing:
Please see here below the Standard Code for the Default HTML eForm
Please observe that
- To print the Question Text we replace the variable %Question%
- To print the Answer Text we replace the variable %Answer%
- If there is no Answer or Question text - it won't be printed
- The loop for printing ALL Questions and ALL Answers is coded within the Tags <Questions></Questions>
- Our Tags and Variables are Case Sensitive
DEFAULT HTML CODE :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Survey Result</title>
</head>
<body>
<SurveyTitle>
<table width="100%" border="2">
<tr bgcolor="#FFCB39">
<td bgcolor="#FFCB39"><h1>Survey Title: %Survey Title%</h1></td>
</tr>
<tr>
<td bgcolor="#FFCB39"><h3>Survey made by %PIN% </h3></td>
</tr>
<tr>
<td bgcolor="#FFCB39"><h3>Date: %Date%</h3></td>
</tr>
</table>
<hr />
</SurveyTitle>
<Questions>
<table width="1096" border="0">
<tr>
<td width="199px"><strong>Questions:</strong></td>
<td width="%" align="left">%Question%</td>
</tr>
<tr>
<td colspan="2"><hr style="height:1px" /></td>
</tr>
<tr>
<td><h4><strong>Answer: </strong></h4></td>
<td align="left">%Answer%</td>
</tr>
</table>
<hr />
</Questions>
<pie>
<table width="100%" border="1">
<tr>
<td width="778"><em>Survey generated by Esurvey Version: %Version%</em></td>
</tr>
</table>
<p> </p>
</pie>
</body>
</html>
Last updated on October 18, 2011 by Ariel Segall








