Forums

publish filled forms

Lerion 16 Jul, 2010
Hi there!

I'm pretty new to this whole thing and have got a question.
I have already searched the forum but couldn't find an answer.

So, I have created an application form with chronoforms. Now, I want them to be published in a seperate category, where all applications should be stored. It should look something like this :
http://karmaguild.com/index.php?option=com_content&view=category&id=63&Itemid=231

It seems, as if each submitted form is a new article in this category. Can anyone tell me please how I can do that? I would be very thankful!

Regards,

Lerion
nml375 16 Jul, 2010
Hi Lerion,
At a first glance, this would look like an extension to the "SubmitContent" demo-form that comes with ChronoForms (or available from the downloads section on this site). The most simple way to do this, is to use the "DB Connection" feature, and link this against the jos_content database table. Then all you have to do, is make sure the appropriate values are present in the right form fields. You'll see how the category and a few other properties are fixed in the onsubmit code of the "SubmitContent" demo.

Now, to get this fancy article layout, you'll need some php-code to build the article content based on the submitted data, and then store this in the appropriate form field value (this would be "fulltext", or $_POST["fulltext"]).

/Fredrik
This topic is locked and no more replies can be posted.