[eluser]skergetd[/eluser]
Hello, first of all: Great WORK! Thanks...
I have a little question. I have a relation like this...
Code:
$crud = new grocery_CRUD();
$crud->set_table('offer');
$crud->set_relation('coun_ID','country','coun_title');
And now when user wants to add na offer, he selects a country from a dropdown. But what if there is no country that he would like to select? Then he has to add it...
Could i somehow create a button ADD next to dropdown? Or maybe a field in a dropdown that says ADD RECORD? I have been looking everywhere for that, but found nothing.
Code:
callback_field
could kinda do what I want, but if I use it, I can get my button at the end of field, but then there is no dropdown.