Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB