Is there a way to require a numeric field year to be input as 4 digits instead of 2?
So users have to enter 1990 instead of 90
Is there a way to require a numeric field year to be input as 4 digits instead of 2?
So users have to enter 1990 instead of 90
You can try to edit this code: includes/classes/rlCommon.class.php > fieldValuesAdaptation
replace:
with:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Thanks! OK, I need to go back one step I think.
The field will contain (only) a 4 digit year, such as 1990.
Should the field type be created as "numeric" or "date"?
If you need to use only years, you should create a Dropdown field and link it to Years Range
Also you can create a new field with type number or date and use it.
Viktor,
Flynax technical department,
Best wishes.