I have this problem where I am trying to show pieces of the form as the user fills out more of the form. I was trying to do this in a way where the entire form was on the phtml page, but pieces of the form were hidden by using div with a style property of hidden. When an onClick is called or onBlur, the javascript makes the call to the server via xhrPost or any kind of XMLHttpRequest wrapper (for those not using Dojo) and goes to the server.
Here is the problem. I am setting view variables in my controller, but those variables are only available if they are going to be displayed on the phtml file that corresponds to the Controllers view. That makes sense. But what am I supposed to do? This has to be a common thing, but I just do not know how to address it. Please help. -- View this message in context: http://www.nabble.com/ZF-with-Ajax-%28Dojo-or-anything%29-tp24517178p24517178.html Sent from the Zend Framework mailing list archive at Nabble.com.
