Read-only and disabled don't have the same meaning here. For a read-only field, the value cannot be changed by the user, but it still gets submitted with the rest of the form values.
For a disabled field, the user cannot change the value, and the value does NOT get submitted. -----Original Message----- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:34 PM To: Struts Users Mailing List Subject: Re: preview form select does support readonly , unfortunaely it does not understand "readonly" attribute, but only "disabled" -Dan ----- Original Message ----- From: "Janice" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 16, 2004 1:03 PM Subject: preview form > Hi Gang, > > I have a form that the client would like to be 'previewed' before users can > submit. The plan is to have a form with a button that takes the user to the > exact same form, but with all the form elements set to readonly. From there > the user can go back to the editable form or can submit. > > At least that's the plan. I'm open to other suggestions, especially of the > 'best practices' variety. > > I would have liked to display the form information on a non-form looking > page, but the problem I have is the drop-downs which have a very different > value from label. I don't want the preview to display something like: > person: 12353 > instead of > person: Jane Doe > > So I guess I need the drop-downs, unless you all have a workaround? > > My immediate problem is that <html:select /> doesn't support readonly... > what else can I do? > > TIA, > JJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]