• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get the value from form_dropdown

#1
guys, please help.

I would like to get the value of  form_dropdown (when I choose):

Code:
div class="form-group">
       <label for="sprint_id" class=" col-md-3"><?php echo lang('sprint'); ?></label>
        <div class="col-md-9">
            <?php
            echo form_dropdown("sprint_id", $sprint_dropdown, array($model_info->sprint_id), "class='select2'");
            ?>
        </div>
    </div>
   

and put the chosen value to this:


    
Code:
<div class="form-group">
        <label for="sprint_assigned" class=" col-md-3"><?php echo lang('sprint_assigned'); ?></label>
        <div class=" col-md-9">
            <?php
            echo form_input(array(
                "id" => "sprint_assigned",
                "name" => "sprint_assigned",
                "value" => $model_info->sprint_assigned,
                "class" => "form-control",
                "placeholder" => lang('sprint_assigned'),
                "autofocus" => true,
                "data-rule-required" => true,
                "data-msg-required" => lang("field_required"),
            ));
            ?>
        </div>
    </div>

Is there any possible?
Thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.