![]() |
auto complete another edit field based on one input field - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: auto complete another edit field based on one input field (/showthread.php?tid=59409) |
auto complete another edit field based on one input field - El Forum - 10-02-2013 [eluser]Unknown[/eluser] i have browse and got reference about edit form the another field data will auto fill if i choose data from combobox name the problem is i want to change the combo box with input form like other, but if change <select id="formSelect" name="name" class="input-block-level"> <? foreach($contacts as $contact): ?> <option value="<?=$contact['name']; ?>"><?=$contact['name']; ?></option> <? endforeach; ?> </select> with <input type="text" name="name" class="input-block-level" placeholder="name" >" it will not auto fill another field please help me with that below some capture code from my view and controll view code Code: <form id="formEdit" class="well" accept-charset="utf-8"> controller code Code: public function edit() |