What you describe would work. In a similar case I use an array of booleans
so when the save button is enabled i know and only update the fields that
need updating. If this is not a requirement a single boolean would do.

On Sat, Jan 17, 2009 at 1:07 AM, anuj181 <anuj...@gmail.com> wrote:

>   Hi Group
> I need general guidance in achieving something. I have a form having
> different components like text box, radio button and list boxes
> (having drag and drop capability). I have Save and Cancel Button and
> when the form loads, the Save button is disabled, Now my requirement
> is that as soon as user makes any changes on the form. By Any I mean
> either radio button selection changed, or text input entries changed
> or list box items changed, I need to detect if user changes any field
> and depending on that I have to enable Save Button.There is quick and
> dirty way of setting a global Boolean variable which can be set 'true'
> on any component's change but is there any better way for achieving
> what I am looking for. All i need is to enable the disabled button on
> changes made to the form.
> Any guidance in achieving or improvement in achieving this task will
> be appreciated.
> Thanks
> Anuj
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,

Reply via email to