Ok, nevermind. Not going to use the Map properties. Using regular formbean properties instead.
On Tue, 1 Feb 2005 11:46:42 -0500, Susan Bradeen <[EMAIL PROTECTED]> wrote: > Yes, I checked the archives and google without any luck. > > If I have a parameter map on my action form, how can I access the map > properties using JavaScript? As an example, if the following creates > an alert box with the text field value ... > > <logic:present name="requestform" property="udf2Map"> > <html:text property="userField2" maxlength="10" onfocus= > "javascript:alert(document.requestform.userField2.value)"/> > </logic:present> > > It seems that this should work for a parameter map value ... > > <logic:present name="requestform" property="udf2Map"> > <html:text property="userField2" maxlength="10" onfocus= > "javascript:alert(document.requestform.udf2Map['fieldId'].value)"/> > </logic:present> > > I've tried other syntax variations without success. Anyone know off > the top of their head a correct way to do this? > > Thanks, > Susan > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]