Hi Andy,
your code works perfect. Name and Email are passed in for logged in users.
I changed the html and css to fit the form into the luna.css.
Looks better than the standard contactpage.
Here are my changes. Perhaps you can use it. So other users don't have to do
the work again. There are german descriptions, but you can change it in a minute.
Thanks
Matthias
<label class="name">Dein Name: </label>
<div class="value">
<%if Name%><input type="hidden" value="<%Name%>"
name="Contact_Name"><%Name%><%else%><input type="text" name="Contact_Name"
size="20"><%endif%>
</div>
</div>
<div class="row clear">
<label class="name">Deine Email: </label>
<div class="value">
<%if Email%><input type="hidden" value="<%Email%>"
name="Contact_Email"><%Email%><%else%><input type="text"
name="Contact_Email" size="20"><%endif%>
</div>
</div>
<div class="row clear">
<label class="name">Deine Nachricht: </label>
<div class="value"><textarea rows="4" name="Contact_Comments"
cols="20"></textarea>
</div>
</div>
<p>Gib bitte die folgenden Buchstaben/Zahlen ein:<br />
<div class="row clear">
<label class="name">Code: </label>
<div class="value"><%security_image%>
</div>
</div>
<div class="row clear">
<label class="name">Code eingeben: </label>
<div class="value"><input type="text" name="SessionID" value="" />
<input type="hidden" name="SessionDate" value="<%SessionDate%>" />
</div>
</div>
Matthias
gpaed.de
your code works perfect. Name and Email are passed in for logged in users.
I changed the html and css to fit the form into the luna.css.
Looks better than the standard contactpage.
Here are my changes. Perhaps you can use it. So other users don't have to do
the work again. There are german descriptions, but you can change it in a minute.
Thanks
Matthias
Code:
<div class="row clear"> <label class="name">Dein Name: </label>
<div class="value">
<%if Name%><input type="hidden" value="<%Name%>"
name="Contact_Name"><%Name%><%else%><input type="text" name="Contact_Name"
size="20"><%endif%>
</div>
</div>
<div class="row clear">
<label class="name">Deine Email: </label>
<div class="value">
<%if Email%><input type="hidden" value="<%Email%>"
name="Contact_Email"><%Email%><%else%><input type="text"
name="Contact_Email" size="20"><%endif%>
</div>
</div>
<div class="row clear">
<label class="name">Deine Nachricht: </label>
<div class="value"><textarea rows="4" name="Contact_Comments"
cols="20"></textarea>
</div>
</div>
<p>Gib bitte die folgenden Buchstaben/Zahlen ein:<br />
<div class="row clear">
<label class="name">Code: </label>
<div class="value"><%security_image%>
</div>
</div>
<div class="row clear">
<label class="name">Code eingeben: </label>
<div class="value"><input type="text" name="SessionID" value="" />
<input type="hidden" name="SessionDate" value="<%SessionDate%>" />
</div>
</div>
Matthias
gpaed.de