Hi,
I am trying to use the DB Read function to get data from a table into a form, however it doesn't seem to be working.
I have configured the DB Read function with the following conditions:
<?php
return array('minPrice' => $form->data['minPrice']);
return array('maxPrice' => $form->data['maxPrice']);
return array('bedrooms' => $form->data['bedrooms']);
?>
In my form a hidden fields with ID's minPrice, maxPrice and bedrooms but they don't seem to be updating from the database.
Any thoughts/hints as to what I am doing wrong??
I am trying to use the DB Read function to get data from a table into a form, however it doesn't seem to be working.
I have configured the DB Read function with the following conditions:
<?php
return array('minPrice' => $form->data['minPrice']);
return array('maxPrice' => $form->data['maxPrice']);
return array('bedrooms' => $form->data['bedrooms']);
?>
In my form a hidden fields with ID's minPrice, maxPrice and bedrooms but they don't seem to be updating from the database.
Any thoughts/hints as to what I am doing wrong??