When I have a Radio List on a form, and I do a form post after changing the default selection, the value shows it changed in the POST parameter, but when i reference $this->params["radioList"], the value is always the same.
Also is there a way to prevent the query in setup from executing on page load. I want the user to select their options before required to execute sql.
function setup()
{
error_log($this->params["radioList"]);
$this->src('datasource')
->query( "SELECT time_logged time, :trend feeder FROM trending WHERE time_logged BETWEEN :start AND :end ")->params(array(
":trend"=>$this->params["radioList"],
":start"=>$this->params["startDatePicker"],
":end"=>$this->params["endDatePicker"]
))
->pipe($this->dataStore("trendingData"));
}
}