Sabherwal, Balvinder (MBS) wrote:
Guru's When I'm creating a text field on the form using C::A, how can I make them read only if need be? Here is the code that I use to define the text field on my form { local($") = ''; $output .= $q->blockquote("Enter your email id : ",$q->textfield(-name=> 'eml', -size=>100,-value=> $usr_ml, -maxlength=>100)); }
That's not really a C::A question. Why don't you just print out the value instead of using a input box? I don't think you can make input fields non-modifiable unless you set them as 'disabled'.
--
Michael Peters
Developer
Plus Three, LP
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.