# save the user values currentValues = {} for f in self.form1.fields(): currentValues[f.name()] = f.value()
The self.form1.values() method does what those last two lines do ;-)
Thanks
You shouldn't have to seed the form; the values should still be in there, after they were processed. Unless you call a .reset() or something, the inputs are still there (as are the defaults, if any).formValid = self.form1.isSuccessful() if not formValid: f1 = self.form1 put back the user values f1.seed(currentValues) self.writeForm('Error') else: self.writeReportHTML()
I build the form class for each run, w/o seeding the form it renders w/ blank values.
-- -Aaron http://www.MetroNY.com/ "I don't know what's wrong with my television set. I was getting C-Span and the Home Shopping Network on the same station. I actually bought a congressman." - Bruce Baum
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss