Creating a New Page With Form Submission

Permalink
Hi,

Is there a way to automatically create a new page when a user submits a Form?

Trying to create some user generated content.

*Sorry if this has been already been asked/answered I've scoured the net, but couldn't find anything yet :/.

-Garen

webtodesigns
 
jvansanten replied on at Permalink Reply
In the IT world, the answer to "is it possible" is always "Yes, how much do you want to pay."

I did precisely this for an application which accepts a doctor's prescriptions and then presents a searchable grid for those and a link to the new page recreated from that single page data entry.

But, there's some complexity there, which was required because of the format we were following.

What I'd suggest is the following, which would be much simpler.

1. Use the Designer Content block to identify the kinds of information that you want to capture on the form. This is a wonderful free block by Jordan Lev:http://www.concrete5.org/marketplace/addons/designer-content/... .

2. Create a page type which hardcodes the Designer Content block you've created.

3. In the controller of the registration form after the information has been submitted, create a new page in the website and then perform a redirect to that page.

http://www.concrete5.org/documentation/developers/pages/overview...

This approach, if it works for you, uses standard C5 capability and only a small amount of custom programming.

HTH
webtodesigns replied on at Permalink Reply
webtodesigns
Hi,

Thanks, Will try it out and get back to you :)

-Garen
CIRESatCU replied on at Permalink Reply
Just wondering - did you have any luck Garen with these instructions and suggestions?