This question about Registration: Answered

Get input of registration form into custom form

Hi,

this might seem like a basic question so hints to the right direction should be enough.

I copied System.UserRegistration to Main.UserRegistration and System.NewUserTemplate to Main.NewUsertemplate and modified each.In Main.NewUserTemplate I have a custom form. So far so good. What I don't understand is how I can automatically fill the form on the userpages after they registered. I read AnApplicationWithWikiForm but don't seem to really understand it. Thanks for any help.

-- ChrisKeschnat - 16 Aug 2009

Well, I did it all again and now it suddenly works (almost). The only problem is one field which has no data (Email). I even copied the lines from FirstName and changed it, still not luck.
<tr> 
<td align="right"> %MAKETEXT{"Email:"}% </td>
<td><input %NOREGISTRATION% type="text" name="Twk1Email" size="40" class="twikiInputField" value="" /> =%RED%**%ENDCOLOR%= </td> 
</tr> 
That should work?!

-- ChrisKeschnat - 17 Aug 2009

When I change the name to Twk1EmailAbc, I get an error when trying to register. So I guess Email is somehow special?

-- ChrisKeschnat - 17 Aug 2009

Well, apparently this is on purpose as found on the twiki page. So this is solved.

QuestionForm edit

Subject Registration
Extension
Version Foswiki 1.0.6
Status Answered
Topic revision: r6 - 26 Aug 2009, ChrisKeschnat
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy