My script generates an HTML page with an order form. All of the applicable fields (qty, sub-total, tax, etc.) are input tags and a javascript does all the calculations. I don't want the user to be able to change any of the values so I tried the READONLY attribute but it doesn't work with a Perl generated script. In the past, I've used onFocus="this.blur()" to get around the problem but now I need to be able apply other js functions to some of these fields and onFocus="this.blur()" is interferring with those other scripts.
Has anybody run into this problem before - and how did you solve it? Or, anybody have any other ideas?
Thanks for looking and thanks to all who've helped me in the past. There's always a better way...
Has anybody run into this problem before - and how did you solve it? Or, anybody have any other ideas?
Thanks for looking and thanks to all who've helped me in the past. There's always a better way...