[ic] Extra userdb Fields

JoshNarins@aol.com JoshNarins@aol.com
Wed, 02 May 2001 08:19:15 EDT


That wasn't the problem, any other suggestions?

Dan B 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.

Yes, I had modified that file before sending the original email.

> >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]">

Thanks again!

-Josh Narins