I have a default value as hello in the text field. If I click reset nothing happens. Now lets change the value in the text field say hi, and click reset, now we get the text field displaying hello.
madhuri kunchala
Ranch Hand
Joined: Mar 30, 2010
Posts: 350
posted
0
the problem is the default value. if default values is not given it'll work. the code is
As far as I know reset does not clear the text fields, rather it populates the text fields with initial values.
it will reset the text fields with initial contents. So if your value is blank you get blank or else you get the default value.
madhuri kunchala
Ranch Hand
Joined: Mar 30, 2010
Posts: 350
posted
0
ok..i got your point..i had doubt that in my modify page im getting the values from already existing one...so im unable to reset the fields..is there anyother way to do that...i had posted my code in forum...can you once check it...and tell me is there anyother solution