You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Uri Kalish <uk...@mercury.com> on 2006/05/04 13:17:07 UTC

Disabled inputText Value

Use case:

A user fills a value in an inputText field, checks a radio button that
causes the field to become disabled, and submits the form.

After the user submits, the value received is null, no matter what the
field displays on the UI...

 

Is there a way to retrieve that value although the field is disabled, or
must I use an extra hidden field and update it by java script.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Re: Disabled inputText Value

Posted by Le Van <lv...@it.fts-vn.com>.
Uri Kalish wrote:

> Use case:
>
> A user fills a value in an inputText field, checks a radio button that 
> causes the field to become disabled, and submits the form.
>
> After the user submits, the value received is null, no matter what the 
> field displays on the UI…
>
> Is there a way to retrieve that value although the field is disabled, 
> or must I use an extra hidden field and update it by java script.
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________

As I know you can't retrieve value from input field that is disabled. I 
try it by using java script