Hi,
Exactly - check out the standard include_form.html:
Code:
<div class="row required clear">
<label for="Title" class="name">Title: <span>*</span></label>
<div class="value">
<input type="text" id="Title" name="Title"
value="<%if Title%><%escape_html Title%><%endif%>" class="text" />
</div>
</div>
<div class="row required clear">
<label for="URL" class="name">URL: <span>*</span></label>
<div class="value">
<input type="text" id="URL" name="URL"
value="<%if URL%><%escape_html URL%><%else%>http://<%endif%>" class="text" />
</div>
</div>
<div class="row<%unless category_loop_selected%> required<%endunless%> clear">
<label for="CatLinks.CategoryID" class="name">Category:<%unless category_loop_selected%> <span>*</span><%endunless%></label>
<div class="value<%if category_loop_selected%> wrappedtext<%endif%>">
<%if category_loop_selected%>
<%if category_loop.length > 1%>
<ul><%loop category_loop%><li><%Full_Name%><input type="hidden" name="CatLinks.CategoryID" value="<%escape_html ID%>" /></li><%endloop%></ul>
<%else%>
<%loop category_loop%><%Full_Name%><input type="hidden" name="CatLinks.CategoryID" value="<%escape_html ID%>" /><%endloop%>
<%endif%>
<%else%>
<select id="CatLinks.CategoryID" name="CatLinks.CategoryID">
<%loop category_loop%>
<option value="<%escape_html ID%>"<%if selected%> selected="selected"<%endif%>><%' ' x $CatDepth%><%Name%></option>
<%endloop%>
</select>
<%endif%>
</div>
</div>
<div class="row clear">
<label for="Description" class="name">Description:</label>
<div class="value">
<textarea id="Description" name="Description" rows="3" cols="42">
<%if Description%><%escape_html Description%><%endif%></textarea>
</div>
</div>
<div class="row clear">
<label for="Contact_Name" class="name">Contact Name:</label>
<div class="value">
<input type="text" id="Contact_Name" name="Contact_Name"
value="<%if Contact_Name%><%escape_html Contact_Name%><%endif%>" class="text" />
</div>
</div>
<div class="row clear">
<label for="Contact_Email" class="name">Contact E-mail:</label>
<div class="value">
<input type="text" id="Contact_Email" name="Contact_Email"
value="<%if Contact_Email%><%escape_html Contact_Email%><%endif%>" class="text" />
</div>
</div>
(the bits in bold)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates