Gossamer Forum
Home : Products : DBMan : Installation :

New User Has some Questions

Quote Reply
New User Has some Questions
Hello,

Could someone let me know what needs to be changed so that the current date is automatically filled in when a user inputs their info using the add/function of the database screen?

Also, can I take out the ID field so that it does not show up when someone is adding a record, but keep the field so that a unique number is generated which also appears when one does a search?
Step by step instructions would be appreciated as I am a brand new user of this program with limited scripting experience.
thanks in advance

lee
Quote Reply
Re: New User Has some Questions In reply to
Hello Lee,

You can use the &get_date function to enter the current date. You can put it as a default in your configuration file (look at the example) or you can do something like this in your html.pl

my $date = &get_date();
.
.
.
<input type=hidden name="Mod_Date" value="$date" >

Now the Mod_Date field has the new date as a value. Note the "type=hidden", that is the answer to your next question.

Cheers

-JO