Another question

Steve Holden sholden at cox.rr.com
Sun Apr 22 23:18:28 EDT 2001


"ps54713" <ps54713 at swt.edu> wrote in message
news:3AE3926E.BD9F4A3E at swt.edu...
> I have a Profile page where i have various text box fields like first
> name , last name, ssn , etc.
> I also have a button "Clear Form". All the fields should get erased once
> i click on it.
> Can anybody suggest the best way to implement the "clear form" function.
>
> I have implemented this page using PMW  and TKInter widgets.
>
> Thankyou
> Praveen
>
Probably build a list of all text input elements contains in the form. THen,
when the user presses the "Clear Form" buttin, you can just iterate over the
loop setting all those inputs' value to the empty string.

regards
 STeve





More information about the Python-list mailing list