Friday 07 January 2011 1:59:13 am
First, the obligatory statement of newbieness... Hi everyone! Now, I've been doing a fair amount of digging around in these forums and in eZ Publish itself, and haven't found the answers I've been looking for, so I'd like to ask you folks directly. I have a situation where I would like to have forms created dynamically by Javascript, using jQuery to duplicate certain inputs and other objects so that the user can enter an arbitrary number of inputs. That inputted data would obviously need to be validated, ideally both at client and server sides for additional security, and include a CAPTCHA verification as well. And then all that data would need to be stored somewhere so that I can access it from another system on another server. An example would be where we might collect information about a person's pets, and we'd want them to be able to enter details for as many or as few as they like. From what I can see, a dynamic form like this is not going to sit well with the built-in class and data collector approach used in eZ Publish. So, is it possible to create a form manually, rather than using the eZ P stuff, but still have the form appear on an EZP page? I'm guessing I would also have to take responsibility for parsing that input and storing it appropriately, effectively bypassing the whole EZP system completely, which seems a shame given the apparent power of it. If you know of way of achieving all this in EZP, please do let me know, I'm all ears! Otherwise, if I have to do it manually, can anyone suggest how I might show this custom code on a page? MD
|