<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Simple registrati&#111;n &#102;orm</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Simple registrati&#111;n &#102;orm]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 01:03:08 +0000</pubDate>
  <lastBuildDate>Tue, 14 Sep 2004 11:15:16 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=11727</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : Ah, great, my complete explanation...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65364.html#65364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11550">theSCIENTIST</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 14&nbsp;September&nbsp;2004 at 11:15am<br /><br /><P>Ah, great, my complete explanation on modding the register.asp also took a great deal of time to pass moderator(s) censorship, that's why all the out of sync replies.</P><P>Glad it's working for you also.</P>]]>
   </description>
   <pubDate>Tue, 14 Sep 2004 11:15:16 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65364.html#65364</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : oh noit`s working fine, I posted...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65348.html#65348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 14&nbsp;September&nbsp;2004 at 5:39am<br /><br /><P>oh no&nbsp;&nbsp;it`s working fine, I posted my previous message before you post, The moderator did not accept it</P><P>its good and work fine thank you so much buddy<IMG src="https://forums.webwiz.net/smileys/smiley4.gif" border="0"></P><P><IMG src="https://forums.webwiz.net/smileys/smiley32.gif" border="0"></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 14 Sep 2004 05:39:48 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65348.html#65348</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : It shouldn&amp;#039;t give any errors...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65315.html#65315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11550">theSCIENTIST</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 13&nbsp;September&nbsp;2004 at 4:23pm<br /><br /><P>It shouldn't give any errors after my code has been properly inserted, my code caters for the fact that the SQL database in particular the tblAuthor is expecting some default values.</P><P>Note one of your errors: "<EM>&nbsp;</EM><FONT face=Arial size=2><EM>Cannot insert the value NULL into column '<strong>PM_notify</strong>', table 'forum03.dbo.tblAuthor'; column does not allow nulls. INSERT fails.</EM> "</FONT></P><P><FONT face=Arial size=2>My code adds the default value of '0' to PM_notify so it won't error out.</FONT></P><P><FONT face=Arial size=2>I have been using the simple reg form ever since you asked for it, and my users are happily reging, no errors, no problems.</FONT></P><P><FONT face=Arial size=2>Are you sure you have followed the instructions above to the letter?</FONT></P>]]>
   </description>
   <pubDate>Mon, 13 Sep 2004 16:23:28 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65315.html#65315</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : Hi thank you theSCIENTIST and...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65164.html#65164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 10&nbsp;September&nbsp;2004 at 6:17pm<br /><br /><P><FONT face="Arial, Helvetica, sans-serif" size=2><strong>Hi</strong></FONT></P><P><FONT face="Arial, Helvetica, sans-serif"><FONT size=2><strong>thank you&nbsp;&nbsp; <SPAN =bold>theSCIENTIST&nbsp;&nbsp; and thank you borg</SPAN></strong></FONT></FONT></P><P><SPAN =bold><FONT face="Arial, Helvetica, sans-serif" size=2>its working but it has many problems and I can`t use this simple form it show me many errors like this:</FONT></SPAN></P><P><SPAN =bold><FONT face="Arial, Helvetica, sans-serif" size=2>&nbsp;</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>Microsoft OLE DB Provider for SQL Server error '80040e2f' </FONT><P><FONT face="Arial, Helvetica, sans-serif" size=2>Cannot insert the value NULL into column 'PM_notify', table 'forum03.dbo.tblAuthor'; column does not allow nulls. INSERT fails. </FONT><P><FONT face="Arial, Helvetica, sans-serif" size=2>/forum 7.7 SQL/forum Full/register.asp, line 974 </FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>its show me many errors like above error with different columns</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>is there any way</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>in fact I want hide unnecessary fields some users will not register when see the big form </FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=2>is there any way to hide some sections</FONT></P></SPAN><P><SPAN =bold>thanks</SPAN></P>]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 18:17:47 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65164.html#65164</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : moti, I&amp;#039;m sorry for the post...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65155.html#65155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11550">theSCIENTIST</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 10&nbsp;September&nbsp;2004 at 3:33pm<br /><br /><P>moti, I'm sorry for the post above, I should've researched the matter thoroughly, you are right, just passing <strong>FPN=1</strong> along to register.asp won't do it, the reason is that the new registration page will not include all data, and some of this data is expected by SQL server which has fields of the NOT NULL type.</P><P>So I set on to providing this fields with some default values, the fields in question are all in tblAuthor, and I gave the values that suited my case, should be alright for you, and the user can change them later, but you are free to change them:</P><P><FONT color=#009966><FONT color=#000000><table width="99%"><tr><td><pre class="BBcode"></FONT>.Fields("Show_email") = 0<BR>.Fields("Attach_signature") = 0<BR>.Fields("Time_offset") = "+"<BR>.Fields("Time_offset_hours") = 0<BR>.Fields("Date_format") = "dd/mm/yy"<BR>.Fields("Rich_editor") = 0<BR>.Fields("Reply_notify") = 0<BR>.Fields("PM_notify") = 0</FONT><FONT color=#000000></pre></td></tr></table></FONT></P><P>The next challenge was to find the proper place in register.asp&nbsp;to pass these default values, and I found it, it must be a place where only runs when it's a new registration and nothing else, so, open your file, under the (Update datbase) section (yes its mispelled in your file also), slighly under that, look for these lines:</P><P><table width="99%"><tr><td><pre class="BBcode"><FONT color=#009966>If strMode = "new" Then .Fields("Username") = strUsername<BR>If strMode = "new" Then .Fields("Group_ID") = intForumStartingGroup</FONT></pre></td></tr></table></P><P>Replace those lines with:</P><P><table width="99%"><tr><td><pre class="BBcode"><FONT color=#009966>'Removed by tSC and replaced below<BR>'If strMode = "new" Then .Fields("Username") = strUsername<BR>'If strMode = "new" Then .Fields("Group_ID") = intForumStartingGroup</FONT></P><P><FONT color=#009966>If strMode = "new" Then<BR>&nbsp; .Fields("Username") = strUsername<BR>&nbsp; .Fields("Group_ID") = intForumStartingGroup</FONT></P><P><FONT color=#009966>&nbsp; 'Added by tSC to allow simple reg FPN=1 (intUpdatePartNumber=1) populate not null fields<BR>&nbsp; If intUpdatePartNumber = 1 Then<BR>&nbsp;&nbsp;&nbsp; .Fields("Show_email") = 0<BR>&nbsp;&nbsp;&nbsp; .Fields("Attach_signature") = 0<BR>&nbsp;&nbsp;&nbsp; .Fields("Time_offset") = "+"<BR>&nbsp;&nbsp;&nbsp; .Fields("Time_offset_hours") = 0<BR>&nbsp;&nbsp;&nbsp; .Fields("Date_format") = "dd/mm/yy"<BR>&nbsp;&nbsp;&nbsp; .Fields("Rich_editor") = 0<BR>&nbsp;&nbsp;&nbsp; .Fields("Reply_notify") = 0<BR>&nbsp;&nbsp;&nbsp; .Fields("PM_notify") = 0<BR>&nbsp; End If</FONT></P><P><FONT color=#009966>End If</FONT></pre></td></tr></table></P><P>Note: this is all under (<strong>With rsCommon</strong>) and before (<strong>'If part number = 0 (all) or part 1</strong>) note the (1) not (2).</P><P>I always add a ('Added by tSC...) comment, so I always know what I have changed, and I could search files for tSC and get my changes easily, you can change that if you want.&nbsp;Also note, I created a (If intUpdatePartNumber = 1) condition, so the code only runs if you want a simple reg form, when you change registration_rules back to its original state (not passing&nbsp;FPN=1) to get a full reg form, my code won't cause any problems what so ever.</P><P>It was all tested, in many different ways.</P><P>Hope this could be useful for you, or anyone else trying to implement a simple reg form.</P>]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 15:33:44 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65155.html#65155</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : moti, yes it does work, maybe...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65130.html#65130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11550">theSCIENTIST</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 10&nbsp;September&nbsp;2004 at 9:21am<br /><br /><P>moti, yes it does work, maybe you have done something wrong, change it like this:</P><P>&lt;form method="post" name="frmregister" action="register.asp?<strong>FPN=1</strong>&amp;FID=&lt;% = Server.HTMLEncode(intForumID) %&gt;"&gt;</P><P>Note the <strong>FPN=1</strong> and the (&amp;) after it, that's all you have to insert, or just copy the whole line above and replace yours.</P><P>Thanks.</P>]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 09:21:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65130.html#65130</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : Sorry I&amp;#039;m very busy at the...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65124.html#65124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 10&nbsp;September&nbsp;2004 at 8:40am<br /><br />Sorry I'm very busy at the moment preparing to go back to Uni and don'thave the time to go through the code for you as it looks like it maybemore difficult than I thought.]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 08:40:38 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65124.html#65124</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : hey borg where are you please...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65113.html#65113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 10&nbsp;September&nbsp;2004 at 6:06am<br /><br /><P>hey borg where are you</P><P>please help me I need it <IMG src="https://forums.webwiz.net/smileys/smiley19.gif" border="0"></P>]]>
   </description>
   <pubDate>Fri, 10 Sep 2004 06:06:50 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65113.html#65113</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : hey somebody help me. ]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post65035.html#65035</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 08&nbsp;September&nbsp;2004 at 11:02pm<br /><br /><IMG src="https://forums.webwiz.net/smileys/smiley19.gif" border="0">hey somebody help me. ]]>
   </description>
   <pubDate>Wed, 08 Sep 2004 23:02:39 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post65035.html#65035</guid>
  </item> 
  <item>
   <title><![CDATA[Simple registrati&#111;n &#102;orm : Hi, Thanks for you reply but...]]></title>
   <link>https://forums.webwiz.net/simple-registration-form_topic11727_post64966.html#64966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 11727<br /><strong>Posted:</strong> 08&nbsp;September&nbsp;2004 at 7:44am<br /><br /><P>Hi,</P><P>Thanks for you reply</P><P>but I tested it and it don`t work </P><P>and it&nbsp;tell me insufficient permission&nbsp;for this page</P><P>this work just when I am loged in </P><P><IMG src="https://forums.webwiz.net/smileys/smiley19.gif" border="0">&nbsp;</P><P>is there any way</P><P>thanks</P>]]>
   </description>
   <pubDate>Wed, 08 Sep 2004 07:44:37 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/simple-registration-form_topic11727_post64966.html#64966</guid>
  </item> 
 </channel>
</rss>