Quote from: odeclas at Mar 31, 2011, 12:02 PM
Your form on submission should be going to resource 29. Is that your home page? It sounds like it’s found an error, and you have your error_page system setting set to 1. If you are receiving an email to the person who’s registering, with the correct subject but no content, then it sounds like you have mistyped the name of the activation email chunk - do you have a new user created (and added to the customers usergroup) awaiting activation? Is resource 23 published?
You might want to post the entire Content field of the resource (Register call and form) here.
The rich-text thing is a TinyMCE issue/bug, I wouldn’t worry about it. One way of getting round this in the future is to put your snippet call in a chunk, and include the chunkname in the content, instead of the snippet itself. A bit tedious, but more foolproof. Or simply toggle off rich-text for pages as default.
Resource [[~29]] is my "Thank you for registering a confirmation message has been sent to your email account" page.
Interesting. It looks like I’m going to look further into the debugging calls. You were correct about it trying to redirect me to an error page. I created an error page and set the system settings to that page id. Blammo,... the form sent me right there upon submission.
I also duplicated the emailtpl and renamed it. This time the confirmation email was sent correctly.THANK YOU!!! That’s a big leap for me. It also added my trial registration user to the correct user group "customers". It did before but I’m glad to see that hasn’t changed.
Yes resource 23 is published. This is my registration confirmation page with the [[!ConfirmRegister]] call.
Here’s my current user registration form:
[[!Register?
&submitVar=`registerbtn`
&activationResourceId=`23`
&activationEmailTpl=`jayTpl`
&activationEmailSubject=`Thanks for registering!`
&submittedResourceId=`29`
&usergroups=`customers`
]]
<table border="1" width="550" align="center">
<tbody>
<tr>
<td>
<table border="0" width="80%" align="center">
<tbody>
<tr>
<td>
<h2>Customer Registration
<hr />
</h2>
<p style="color: #cc0000;">*Required Fields</p>
<div class="register">
<div class="registerMessage">[[+error.message]]</div>
<br /><form class="form" action="[[~[[*id]]]]" method="post">
<label for="username">*[[%register.username? &namespace=`login` &topic=`register`]]
<span class="error">[[+error.username]]</span>
</label>
<br />
<input id="username" name="username:required:minLength=6" type="text" value="[[+username]]" />
<label for="password"><br />
*[[%register.password]]
<span class="error">[[+error.password]]</span> </label>
<br />
<input id="password" name="password:required:minLength=6" type="password" value="[[+password]]" />
<label for="password_confirm"><br />
*[[%register.password_confirm]]
<span class="error">[[+error.password_confirm]]</span> </label>
<br />
<input id="password_confirm" name="password_confirm:password_confirm=`password`" type="password" value="[[+password_confirm]]" />
<label for="fullname"><br />
*[[%register.fullname]]
<span class="error">[[+error.fullname]]</span> </label>
<br />
<input id="fullname" name="fullname:required" type="text" value="[[+fullname]]" />
<br />
<label for="email">*[[%register.email]]
<span class="error">[[+error.email]]</span>
</label>
<br />
<input id="email" name="email:email" type="text" value="[[+email]]" />
<br />
<label>Phone#: <span class="error">[[+error.phone]]</span> <br />
<input name="phone" type="text" value="[[+phone]]" /></label>
<br />
<label>Alt. Phone#: <span class="error">[[+error.alt_phone]]</span> <br />
<input name="alt_phone" type="text" value="[[+alt_phone]]" /></label>
<br />
<label>Business: <span class="error">[[+error.business]]</span> <br />
<input name="business" type="text" value="[[+business]]" /></label>
<br />
<label>Would you like to receive promotions on special deals? <span class="error">[[+error.notifications]]</span> <br />
<select name="promotions">
<option value="yes">Yes</option>
<option value="no">No</option>
</select></label>
<br />
<input name="product:blank" type="hidden" />
<input name="reference_number" type="hidden" />
<input name="time_line" type="hidden" />
<input name="represenative" type="hidden" />
<input name="notes" type="hidden" />
<br />
<br class="clear" />
<div class="form-buttons">
<input name="registerbtn" type="submit" value="Register" />
</div>
</form>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p> </p>
Thank you for all of your help odeclas! I really appreciate that you’re taking the time to help me.