I would like to enable/disable the datetimepicker when the user selects certain radio buttons. Here is my tag:
<s:datetimepicker name="untildate" displayWeeks="4" displayFormat= "MM-dd-yyyy"/> I can disable (and clear) the textbox next to the calendar icon like this: var ud = getField('mainForm', 'untildate'); ud.value = ""; ud.disabled = true; But this does not disable the calendar icon: ud = getField('mainForm', 'dojo.untildate'); ud.disabled = true; Any ideas on this? I do not see any other applicable elements in my form. Thanks, Scott __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]