Frontpage 2003 textbox, make it non editable

E

Ed

I wish to create a Frontpage 2003 form and to insert a text box with an
initial value. I wish to prohibit the user of making any changes to the
value of the text box. How do I keep the user from making a change to the
value of the textbox?
 
A

Andrew Murray

in the <text area> field at disabled = true

like <text area name="box" value="initial value" disabled=true>


copy and paste the following code into frontpage (code view) then preview and
you'll see the boxes are greyed out. just add "disabled=true" to any input field
type

<form>
<textarea rows="2" name="S1" cols="20" disabled=true>Initial Value</textarea>
<input type="text" name="T1" size="20" disabled=true value="Initial value">
<input type="submit" value="Submit" name="B1"><input type="reset" value="Reset"
name="B2"></p>
</p>

</form>
 
M

Murray

Or readonly="readonly", e.g.,

<input type="text" readonly="readonly"....

This might work better than disabled since it does not dim the contents....
 
Top