...

View Full Version : Reset button and disabled field problems



jwindon
01-11-2004, 07:03 AM
One more for the night.....

I have a disabled field that is assigned it's value with the page onLoad event.

When I hit my reset button, it deletes the content of this field which is also disabled with the onLoad event.

I've put a function on the reset button to control what it does and I've played with true and false on that button too; all with no luck.

Here is what I have now:

function ResetThisForm(){
document.REG.reset();
getDateStr();//this is the function that runs onLoad of the form, assigns a value to a text field on the form and disables that field
}

:confused: :(

jwindon
01-11-2004, 07:25 AM
Still like to know how to do it manipulating the Reset button.....found a couple applicable threads earlier that are close and I'll study them later.

For now....I've taken a bypass and ran the onLoad function again before submitting the form. That did the trick!

:o



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum