Date field default value

Discussion in 'Customization & add-ons' started by cpaprotna, Oct 11, 2017.

Thread Status:
Not open for further replies.
  1. cpaprotna

    cpaprotna aMember Pro Customer

    Joined:
    Dec 23, 2013
    Messages:
    44
    On my registration form, I have a custom user field for Join Date. I want this field to default to the current date for new users. Is there a way to do this in the User Field definition?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,670
    Hello,

    aMember already has build in field that handle registration date.
    It is field 'added'.

    How do you want to use this date?

    Thanks.
  3. cpaprotna

    cpaprotna aMember Pro Customer

    Joined:
    Dec 23, 2013
    Messages:
    44
    It was created as a user field before we realized there was the added field. It was mainly for displaying to admins and end users. I have already utilized a hook to set the date appropriately.
    caesar likes this.
Thread Status:
Not open for further replies.

Share This Page