Hi
So I have a small form with a date_time field with format m-d-Y. I have a php plugin with the form that redirects to another form and adds the date_time field value to the redirect url.
In the other form there is another date_time field with format m-d-Y and its value must be set from the URL (with the value of the date_time element of the first form).
This almost work, but the problem is that Fabrik tries to convert the value from the URL to d-m-Y format and it breaks.
Can somebody give me some directions how to do this.
P.S. I cannot change the locales of the server.
So I have a small form with a date_time field with format m-d-Y. I have a php plugin with the form that redirects to another form and adds the date_time field value to the redirect url.
In the other form there is another date_time field with format m-d-Y and its value must be set from the URL (with the value of the date_time element of the first form).
This almost work, but the problem is that Fabrik tries to convert the value from the URL to d-m-Y format and it breaks.
Code:
DateTime::__construct(): Failed to parse time string (07-21-2016) at position 0 (0): Unexpected character
Can somebody give me some directions how to do this.
P.S. I cannot change the locales of the server.