Hi, I have a checkbox as a flag the user can select, which determines whether
to update the modified date in the db. I check this prior to updating the db
for on or off and send an expression for the new date to the database.

How do I then unset this in Zend Form so that after submit it won't be
checked (I want the user to physically have to check it, unless the form
fails update or validation). I've found removeElement but this does as it
says and removes it completely.

I could set the value on the field every time? But this will override it
when the form fails too? Which I don't want. At the moment I simply unset()
it from the data array I send to the db.

Simon

-----
Simon

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend-Form---Removing-an-Elements-Value-tp19308798p19308798.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to