别的栏目调用留言栏目时,需指定留言栏目的ID
{eyou:guestbookform typeid='留言栏目ID' type='default'}
<form method="POST" class="elegant-aero" enctype="multipart/form-data" action="{$field.action}" onsubmit="return checkForm();">
<h1>{$eyou.field.typename} <span>{$eyou.field.englist_name}</span> </h1>
<label> <span>{$field.itemname_1} :</span>
<input id="attr_1" type="text" name="{$field.attr_1}" placeholder="您的{$field.itemname_1}" />
</label>
<label> <span>{$field.itemname_2} :</span>
<input id="attr_2" type="tel" name="{$field.attr_2}" placeholder="您的{$field.itemname_2}" />
</label>
<label> <span>{$field.itemname_3} :</span>
<input id="attr_3" type="text" name="{$field.attr_3}" placeholder="您的{$field.itemname_3}" />
</label>
<label>
<label> <span>{$field.itemname_4} :</span>
<textarea id="attr_4" name="{$field.attr_4}" placeholder="您的{$field.itemname_4}"></textarea>
</label>
<label> <span> </span>
<input type="submit" class="button" name="submit" value="提交" />
</label>
{$field.hidden}
</form>