Please Log in or Create an account to join the conversation.
If it's set as not required it should default display as empty and allow storing as empty. If you have it marked required it's not possible for it to be empty. It won't store as null, but as 0000-00-00.Q1. I wanted this field to have the default value of NULL. In other words, if the user does not enter anything, it should be EMPTY in the database. Is this possible? If I leave the (Default Registration Value) empty, it shows (1/1/1970) by default on the frontend. If the user decides to ignore filling this field because it is optional, we will have a wrong value of (1/1/1970) stored in the database.
There is no code in CB Connect to map todays date if a field is empty. CB Connect has no idea it's even a date field. It simply maps whatever value the social site provided to the field you selected by directly setting it in the user object.Q2. I am using the plugin (CB Connect). When the social network does not provide a value for this date field, it seems that today's date is stored in the database. How can I avoid that? Even if I enter a default value in field (Default Registration Value), my default value is ignored and today's date in stored in the database. Obviously, it is very confusing to store today's date.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.