I want to know when Users have registered. I can put a field add_date in the users table but what is needed to auto-fill the field with the date?
May 28, 2006, 12:01 PM
Enthusiast (559 posts)
May 28, 2006, 12:01 PM
Post #2 of 4
Views: 2273
You need to add a column to Admin / Database / Users / Properties with the following info:
Column Name: Add_Date
Column Type: DATE
Not Null: Yes
Default: 0000-00-00
Form Display: Add Date
Form Type: HIDDEN
Then add the following to signup_form.html
Column Name: Add_Date
Column Type: DATE
Not Null: Yes
Default: 0000-00-00
Form Display: Add Date
Form Type: HIDDEN
Then add the following to signup_form.html
Code:
<input type=hidden name="Add_Date" value="<%GT::Date::date_get()%>">