Gossamer Forum
Home : Products : DBMan : Customization :

DBman insert "Default" even though field is filled out

Quote Reply
DBman insert "Default" even though field is filled out
I am having a field that shows me the year od graduation. The configuration is "numer" and the length is 4. I would like to add/update this field and the system wants to write the word "default" into it and further states the leghts of the field only has 4 characters. Can some one tell me want is wrong here and why dbman wants to write the word "default" into my database?

Thank you for any suggestion or help!

Bob
Quote Reply
Re: DBman insert "Default" even though field is filled out In reply to
You need to change the $auth_user_field in the .cfg file.

My crystal ball tells me that the "year of graduation" field is field number 9 in your database. That is the setting for $auth_user_field in the demo.

If you want users to add their data without having to log in first, set $auth_user_field to -1. If you want users to be able to "own" the records they add, you'll need a userid field and you'll need to set $auth_user_field to the number of that field in your database.


------------------
JPD