Click to See Complete Forum and Search --> : input form field


dbmelosi
03-27-2003, 08:02 PM
I am using an input form field as a calculation field. How do I make the calculation fields not enterable and a different background color.

example 3 + 4 = 7

All are <input type=text> the "7" field is the one that needs to be not enterable and the different background.


Thanks
Dave

Jona
03-27-2003, 08:10 PM
<input type=text readonly value="7" style="background-color:red">

Are you trying to add two textfields and output it to the third one (the one that cannot be editted)?

dbmelosi
03-27-2003, 09:03 PM
thanks, it worked