I’m having problems with a WebLoginPE registration form. I’ve shown the snippet call and template below. The test site can be viewed here:
http://lggrow.myzen.co.uk/index.php?id=17
Whenever I hit the register button the form is returned with no message. Even a blank form gives no message. I’ve checked the POST with Firebug and the correct information appears to be included and sticky fields are returned completed but the form just bounces back.
Must be something silly but I can’t see it!
Here’s the WebLoginPE Call:
<div id="signup" class="span-16 prepend-4 append-4">
<p>[+wlpe.message.text+]</p>
[!WebLoginPE? &type=`register` ®isterTpl=`gardenerSU` &customFields=`address1,address2,town,postcode,gardensize,gardenavail,tandc,interest,personavail` ®Required=`username` ®Type=`instant` !]
</div>
Here’s the registration form template:
<h3>To register as a GARDENER please complete the
online registration below:</h3>
<form action="" method="post">
<fieldset>
<p><label class="narrow">Name: </label>
<input name="username" type="text" value="[+post.username+]" /></p>
<p><label class="narrow">Address 1: </label> <input name=
"address1" type="text" value="[+post.address1+]"/></p>
<p><label class="narrow">Address 2: </label> <input name=
"address2" type="text" value="[+post.address2+]"/></p>
<p><label class="narrow">Town: </label> <input name="town" type=
"text" value="[+post.town+]"/></p>
<p><label class="narrow">Postcode: </label> <input name=
"password" type="text" value="[+post.password+]" /></p>
<p><label class="narrow">Phone No: </label>
<input name="phone" type="text" value="[+post.phone+]"/></p>
<p><label class="narrow">Email: </label>
<input name="email" type="text" value="[+post.email+]"/></p>
<p><label class="wide">How often will you be
available? </label><br />
<input name="personavail" type="text" value="[+post.personavail+]"/></p>
<br /><p><label class="wide">What type of gardening interests
you?: </label><br />
<input name="interest" type="text" value="[+post.interest+]"/></p>
<p><label class="wide">Do you agree the Terms and Conditions?
(yes or no) </label><input id="tandc" name="tandc" type=
"text" value="[+post.tandc+]"/></p><br />
<br />
</fieldset>
<fieldset>
<p><button type="submit" name="service" value=
"register">Register</button> <button type=
"submit" name="service" value=
"cancel">Cancel</button></p>
</fieldset>
</form>