[ic] Extra userdb Fields

Dan B db@cyclonehq.dnsalias.net
Tue, 01 May 2001 15:24:52 -0700


At 07:33 PM 5/1/2001 +0000, you wrote:

>I've changed the database [ALTER TABLE userdb ADD myfield char(16)]
>And added a <INPUT TYPE=checkbox NAME=myfield VALUE="[value myfield]">

Did you also modify the dbconf/xxsql/.xxsql file?  The file format is self 
explanatory.


>and am getting two odd results.
>
>Firstly, the value the first time I load the page of the checkbox, using
>view source, is /
>
>The other result is not exactly odd, but undesirable.
>When the user selects "Save Acct Info" the new field is not inserted in
>the database (although all the standard stuff (fname, lname, etc.) works
>as expected).
>
>On this same topic, are there any issues I should know about using hidden
>input fields in the same way?
>  ex. <INPUT type=hidden
>             name="MyOtherNewField"
>             value="[value MyOtherNewField]">

Good luck,

-Dan B.