Gossamer Forum
Home : Products : DBMan : Discussions :

Userid (Can not be left blank)

Quote Reply
Userid (Can not be left blank)
Hi,

With Dbman when people who are not admin permission but can post/delete the following error occurs when they try to add an entry:

* Userid (Can not be left blank)

In admin there is a space to add your userid but not for non-admin. There must be some form element or something missing.. could anyone help?

You can go to http://www.7threalm.com/defad/db.cgi?db=mc
and enter with dbman/dbman

Quote Reply
Re: Userid (Can not be left blank) In reply to
If you do not want regular users to input their own userid, then you have to use a hidden field, like the following:

Code:

<input type="hidden" name="Userid" value="$rec{'Userid'}">


in the sub html_record_form routine in the html.pl file.

Regards,

Eliot Lee