Announcement

Collapse
No announcement yet.

How to force users to fill all the birthdate fields when they register ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to force users to fill all the birthdate fields when they register ?

    Hi,
    i'd like to FORCE users to fill ALL the birthday fields when they register.
    How can I do this ?

    Thanks,

  • #2
    You will either need to implement javascript form validation or change the PHP code to make sure these variables have a valid value before inserting the new user.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Thanks Wayne,
      would you tell me please what should I modify in the script to be sure the new user enter his birth year ?

      Thanks,

      Comment


      • #4
        You would have to check and make sure the variables $year, $month and $day have valid values.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        Loading...
        Working...
        X