Frontpage 2003 textbox, make it non editable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Try a drop-down box, maybe that'll do what you want.



| 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?
 
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>
 
Or readonly="readonly", e.g.,

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top