Hello Bob
I can populate a dropbox with information from other dropbox. But how to fill a text box ( or two or three ) with the information from a dropbox?
I have a dropbox connected to a DB Multi Record Loader event to list data. Now I need to, after selecting the data that dropbox, fiil a textbox ( or two or three text box), with data filtered by a DB Record Loader .
On load I have a Dynamic Dropdown ( but I think to fill a textbox does not need, am I right? )
On ajax load have DB Record Loader ( with code to FIND the record according to selection dropbox ) . And I have the following code in custom code
1 - What do I need to change this code to populate a textbox ( two or three ) ?
2 - I have in mind that just need a registration , is straightforward to use use the DB Record Loader instead of DB Multi Record Loader?
Thanks
I can populate a dropbox with information from other dropbox. But how to fill a text box ( or two or three ) with the information from a dropbox?
I have a dropbox connected to a DB Multi Record Loader event to list data. Now I need to, after selecting the data that dropbox, fiil a textbox ( or two or three text box), with data filtered by a DB Record Loader .
On load I have a Dynamic Dropdown ( but I think to fill a textbox does not need, am I right? )
On ajax load have DB Record Loader ( with code to FIND the record according to selection dropbox ) . And I have the following code in custom code
< ? php
$ results = array ( ) ;
$ results [ ] = '= Select Tier ' ;
$ selected = " selected = 'selected ' " ;
foreach ( $ form - > data [' escalao_source_ajax '] as $ v ) {
$ results [ ] = $ v [' escalao_epocas '] '=' $ v [' escalao_epocas .'] . ;
}
$ results = implode ( " \ n" , $ results ) ;
echo $ results ;
$ mainframe = & JFactory :: getApplication ( ) ;
$ mainframe - > close ( ) ;
?>
1 - What do I need to change this code to populate a textbox ( two or three ) ?
2 - I have in mind that just need a registration , is straightforward to use use the DB Record Loader instead of DB Multi Record Loader?
Thanks