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.
|
 |
 |
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.
|
 |
 |
|