sasori Posted October 24, 2008 Share Posted October 24, 2008 help, how am I gonna insert or make the "To Recipient" form into a dropdown menu of the contacts usersname in the database? Link to comment https://forums.phpfreaks.com/topic/129897-form-select-help/ Share on other sites More sharing options...
awpti Posted October 24, 2008 Share Posted October 24, 2008 Could you be a bit more vague, please? What framework? Tried a loop? Link to comment https://forums.phpfreaks.com/topic/129897-form-select-help/#findComment-673424 Share on other sites More sharing options...
sasori Posted October 24, 2008 Author Share Posted October 24, 2008 its a cake framework sir here's the "i think" code of the recipient text box // autocomplete $formMailCompose .= $html->div('input text floatLeft', '<label for="Accounts/name">To</label>' . $ajax->autoComplete('_Account_', 'autocomplete', array( 'afterUpdateElement' => 'updateHidden', 'style' => 'width: 410px; margin-left: 30px;' ) )); // target_id $formMailCompose .= $form->hidden('target_account_id', array( 'id' => 'target_account_id' )); so how am i gonna insert or make the dropdown menu to make it appear like To Username: "dropdown here" instead of To Username: "input box here" Link to comment https://forums.phpfreaks.com/topic/129897-form-select-help/#findComment-673432 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.