Hello there
I have an issue and I don't know, if it's a bug or maybe a feature.
What I want todo is to define 2 additional (custom) fields on the user table.
Date of Birth (user_birthdate): shall have the format dd.mm.yyyy (e.g. 25.08.1970), allowing only dates in the past, also allowing an empty field for "undefined"
Validity until (user_valid_until): shall have the format dd.mm.yyyy (e.g. 25.08.1970), allowing only dates in the future, also allowing an empty field for "undefined"
So far so good. I defined the two fields and entered the format: %d.%m.%Y
This results in an error like:
Warning: preg_split() [function.preg-split]: Compilation failed: POSIX collating elements are not supported at offset 0 in C:\xampp\htdocs\hikashop\administrator\components\com_hikashop\classes\field.php on line 1280
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\hikashop\administrator\components\com_hikashop\classes\field.php on line 1280
Then I googled a little bit and found, that maybe the format shall be %d"."%m"."%Y but when I enter the format like this and press "Save", the whole mask changes and then I do not understand what to setup. The system accepts then "dates" like: asdfasdf and the calendar button in the customer/user mask do not work anymore.
Therefore, I think it's maybe a bug? Or I'm doing something completely wrong.
Please check the attached PDF for further information and screenshots of the behavior.
How can I define my desired date-format without getting such trouble?
Thanks for any help!
Best regards
Mike