Welcome Guest, Not a member yet? Register   Sign In
question on how can I disable form_input area?
#1

[eluser]Nano HE[/eluser]
Hello.

How can I do this?
I want only disable one input area in my form.
And show some alert contents in the disabled form instead.

Code:
$data = array(
              'name'        => 'keyword',
              'id'          => 'searchform',
              'value'       => '',
              'maxlength'   => '100',
              'size'        => '25',
              //'style'       => 'width:20%',
            );

    echo form_input($data);

and the webpage viwed like this,
Like this: [Disabled Search for Traffic Limitation]




Messages In This Thread
question on how can I disable form_input area? - by El Forum - 09-13-2012, 04:56 PM
question on how can I disable form_input area? - by El Forum - 09-13-2012, 05:07 PM
question on how can I disable form_input area? - by El Forum - 09-13-2012, 05:08 PM
question on how can I disable form_input area? - by El Forum - 09-13-2012, 05:50 PM
question on how can I disable form_input area? - by El Forum - 09-13-2012, 07:50 PM
question on how can I disable form_input area? - by El Forum - 09-14-2012, 05:59 AM
question on how can I disable form_input area? - by El Forum - 09-15-2012, 03:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB