I'm not sure I understand exactly what you need and don't have time to check your app, but does this help at all: http://web2py.com/book/default/chapter/10#Conditional-Fields-in-Forms? Anthony
On Thursday, July 28, 2011 5:49:35 PM UTC-4, Richard wrote: > Hello, > > I know it's not a web2py question... But maybe there is a better jquery guy > then me that can be of some help... > > I try to make a condition field (checkbox) that unhide an other field (text > input) when the checkbox is uncheked... But I also want the unhided field to > hide again in case the checkbox return in checked state. > > So... > > At the begining the valid field is empty when record will be revised it > will be passed to valid so it will be checked. > If for a reason in the future the validation has to be reverted I want to > know why, so I want if checked box is unchecked to show a comment field > about invalidation to be completed (I miss the conditionnal validator in my > code). > > My implementation is working each 2 submit and I can't figure why it would > work properly... > > Thanks you all. > > Richard > > PS.: See the little demo app attach. > > >

