Hello to all.
I'm not good at PHP but i read a lot of tutorials :D
I bought the enterprise template and did all i needed.
The problem came when i was suppose to have a filter with a date that was between date1 and date2.
Im using the standard search that comes with the template, there are all the filters on top of all column.
Now in the field where is DATA i want to have a second data2 where it will search between data1 and data2 .
I tried with:
//add custom field
$crud->callbackColumn('Bank', function () {
return '<input type="text" maxlength="50" value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" name="Data_Uruchomienia_to">';
});
But this didnt add the second Data2 , it just adds the second editbox next to the first data1.
Any ideas how to do this? I searched the whole forum and internet. Couldnt find what i needed.
There are suggestions to use custom Query , and there is even a solution which i havent tried yet, but this doesnt help me add the second field data2 where i can use it as parameter in a between data1 and data2 query.
Any help is appreciated.
Thank you