nuevephp / formz

Form Builder extra for MODX Revolution
4 stars 15 forks source link

Add data to custom table #7

Open FickleLife opened 12 years ago

FickleLife commented 12 years ago

Hi Silentworks,

Fantastic Addon!

A quick question - while formz can save in json format to a database field, will there be an option to save to a custom table percance? Can this be achieved through formit hooks?

silentworks commented 12 years ago

This can be currently accomplished by creating your own formit hook. If you need some assistance doing this just let me know. I will try and write some docs on how to do more advanced stuff with Formz as soon as I get the main docs completed.

FickleLife commented 12 years ago

ok thanks for that, I will figure it out - one question, where do I call the hook in formz?

On Mon, Sep 10, 2012 at 2:28 PM, silentworks notifications@github.comwrote:

This can be currently accomplished by creating your own formit hook. If you need some assistance doing this just let me know. I will try and write some docs on how to do more advanced stuff with Formz as soon as I get the main docs completed.

— Reply to this email directly or view it on GitHubhttps://github.com/silentworks/formz/issues/7#issuecomment-8423361.

silentworks commented 12 years ago

I will be documenting this soon, you will need to make the call to the fmzForm snippet manually. And create your own Chunk.

silentworks commented 12 years ago

Take a look at the Formz Snippet section of the docs, I have updated it with information that should help you get a solution to your problem.

http://silentworks.github.com/formz/#formz-snippet