Click to See Complete Forum and Search --> : onReset keep field value


lwbadea
02-18-2003, 08:07 AM
I am not a javascript specialist; I am an oracle dev using oracle portal which has javascript handler facility.

My problem :

From a form A , I am passing the value of some field ID to form B ; on opening form B has the value for the field ID populated with the value passed from form A;

But the form B has an Reset button and when I click reset I am loosing the value for field ID ; I want to keep this value unchangeable.

Is this possible ?


Thanks

Lawrence

khalidali63
02-18-2003, 08:30 AM
The reset button is defaulted to do what it is doing( resetting the form),
I think what you can do isThe work around may be will be set the value in the form B in a hidden field.That way you will always have that value there.

cheers

Khalid

lwbadea
02-18-2003, 11:18 AM
Khalid,

Even the hidden field values are reseted on click Reset;

khalidali63
02-18-2003, 11:52 AM
hunmm..take a look at this link..the form has exactly the functionality that I mentioned.See if you can find out what is it that you are doing different.

cheers

Khalid

http://68.145.35.86/skills/javascripts/FormResetControl.html