Hi If you are using tap3: You may use the contrib:FormConditional. It stores the conditions in hidden fields and so provides the same data during rewind. The Conditional doesn't, and so can result in a stale link.
Andreas > Hi All, > > I have a form with a conditional field password. The first time the form > apaers it is not shown. When the user submits a certain condition is > checked and if met the form is shown again but with the password field now. > Then the user fills in his password and resubmits. Up until now everything > works fine. > If I go come back to the page later and I want to redo the proces described > above the following happens: -the form is shown correctly with the password > TextInput hidden. > -When I submit I get a StaleLinkException with the following discribtion: > Rewind of form SubscribeToChannel/$Form expected allocated id #2 to be > 'referEmail', but was 'password' (requested by component > SubscribeToChannel/password). > > As if the password component is trying to read its value. But the value > isn't there of course. Funny thing is that I have this on production but > not in development! > > Any ideas or suggestions? > > Kind regards, > Lennart > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
