We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23383
    • 138 Posts
    I don’t know if I’m the only one to have the problem with the dob on register (I’ve seen there is a patch for the profile service) but the dob registers only the 2 first chars of my input form. I changed the line at the begging of the Register function :
    $dob = $modx->db->escape($modx->stripTags($_POST['dob'])));

    with
    $dob = $this->MakeDateForDb($modx->db->escape($modx->stripTags($_POST['dob'])));


    Am I right or have I done something bad ? wink