CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 HTMLTemplate Variable (ASP)

Print topic Send  topic

Author Message
davidwoo

Posts: 53
Posted: 03/12/2007, 7:35 PM

Hi All,

I am using the latest version of CCS 3.1.1.0.
Previous version I am used to "disabled" the field/textbox using HTMLTemplate.setvar "@user_state","disabled", it's works perfectly, but this version, when I submit the form, it's show the error the field is required and the disabled field is become empty. Pls help, I need this to rectify urgently. Thanks.

---------------------------------------------------------------------------
I solved the problem. Just changed the "disabled" to "readonly".

Thanks.
View profile  Send private message
wkempees
Posted: 03/13/2007, 2:55 AM

D,
If needed urgently, send this straight to support.

"davidwoo" <davidwoo@forum.codecharge> schreef in bericht
news:645f61c01f2744@news.codecharge.com...
> Hi All,
>
> I am using the latest version of CCS 3.1.1.0.
> Previous version I am used to "disabled" the field/textbox using
> HTMLTemplate.setvar "@user_state","disabled", it's works perfectly, but
> this
> version, when I submit the form, it's show the error the field is required
> and
> the disabled field is become empty. Pls help, I need this to rectify
> urgently.
> Thanks.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

materix

Posts: 161
Posted: 07/30/2007, 5:03 PM

This is correct behavior by CCS, because a disabled control doesn't take part in form submission:
http://www.w3.org/TR/html4/interact/forms.html#h-17.12

Use readonly instead.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.