I am trying to pull data from a database and populate a form. I am able to pull and populate a simple text field but I can't get a calendar field to populate.
My debug shows the data is pulled correctly as shown below but the field in form is blank. I am using the same syntax for the Value field for both items
{var:read_data4.Games.aid}
{var:read_data4.Games.start_date}
Any thoughts on what the issue might be?
thanx,
rob...
DEBUG INFO
Array
(
[read_data4] => Array
(
[log] => Array
(
[0] => SELECT `Games`.`aid` AS `Games.aid`, `Games`.`user_id` AS `Games.user_id`, `Games`.`created` AS `Games.created`, `Games`.`modified` AS `Games.modified`, `Games`.`game_start` AS `Games.game_start`, `Games`.`game_end` AS `Games.game_end`, `Games`.`away_team_id` AS `Games.away_team_id`, `Games`.`home_team_id` AS `Games.home_team_id`, `Games`.`location_id` AS `Games.location_id`, `Games`.`away_score` AS `Games.away_score`, `Games`.`home_score` AS `Games.home_score`, `Games`.`gametype_id` AS `Games.gametype_id` FROM `LO_Games` AS `Games` WHERE `Games`.`aid` = '12' LIMIT 100;
)
[var] => Array
(
[Games] => Array
(
[aid] => 12
[user_id] => 0
[created] => 0000-00-00 00:00:00
[modified] => 0000-00-00 00:00:00
[game_start] => 2018-01-12 16:30:00
[game_end] => 2018-01-12 18:00:00
[away_team_id] => 1
[home_team_id] => 4
[location_id] => 4
[away_score] =>
[home_score] =>
[gametype_id] => 1
)
)
)
)
My debug shows the data is pulled correctly as shown below but the field in form is blank. I am using the same syntax for the Value field for both items
{var:read_data4.Games.aid}
{var:read_data4.Games.start_date}
Any thoughts on what the issue might be?
thanx,
rob...
DEBUG INFO
Array
(
[read_data4] => Array
(
[log] => Array
(
[0] => SELECT `Games`.`aid` AS `Games.aid`, `Games`.`user_id` AS `Games.user_id`, `Games`.`created` AS `Games.created`, `Games`.`modified` AS `Games.modified`, `Games`.`game_start` AS `Games.game_start`, `Games`.`game_end` AS `Games.game_end`, `Games`.`away_team_id` AS `Games.away_team_id`, `Games`.`home_team_id` AS `Games.home_team_id`, `Games`.`location_id` AS `Games.location_id`, `Games`.`away_score` AS `Games.away_score`, `Games`.`home_score` AS `Games.home_score`, `Games`.`gametype_id` AS `Games.gametype_id` FROM `LO_Games` AS `Games` WHERE `Games`.`aid` = '12' LIMIT 100;
)
[var] => Array
(
[Games] => Array
(
[aid] => 12
[user_id] => 0
[created] => 0000-00-00 00:00:00
[modified] => 0000-00-00 00:00:00
[game_start] => 2018-01-12 16:30:00
[game_end] => 2018-01-12 18:00:00
[away_team_id] => 1
[home_team_id] => 4
[location_id] => 4
[away_score] =>
[home_score] =>
[gametype_id] => 1
)
)
)
)