Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Create a simple form View modes: 
User avatar
Member
Member
sentile-oldsecond - 2/1/2013 8:10:46 AM
   
Create a simple form
The forms video for version 5 seems broken?
http://devnet.kentico.com/Blogs/Thomas-Robbins/January-2010/Kentico-CMS-5-Custom-Form-Layout-with-BizForms.aspx

I need to create a simple form that collects a user's email and name, and I want to be able to send that information to a specific email, along with a default message, when that user clicks SUBMIT.

User avatar
Certified Developer 13
Certified Developer 13
josefd@kentico.com - 2/1/2013 9:49:00 AM
   
RE:Create a simple form
Hello,

I have notified the owner of the video that it is unavailable. In the meantime, you should be able to use resources provided for the later versions, the Form basics have not changed much.

Here is how you achieve what you described:

Go to CMS Desk -> Tools -> Forms -> New Form
Enter name, codename and table name

Add the following fields in the Fields tab:
Column name: "name"; Caption: "Name"; Filed type: "Text box"
Column name: "email"; Caption: "Email"; Field type: "E-mail"

In the Notification e-mail tab, check Send form data to e-mail and enter the required fields.
Afterwards select Use custom layout and Generate table layout. Add any message to the layout as needed and save the changes.

All that is left to do is add the form to the site. This is done by inserting the BizForm (Online Form) webpart and selecting the form you have just created in webpart's Form Name property.

That's it. If your E-mail settings are correct, you should now receive the confirmation e-mail after each new form submission. If you do not receive any emails, you can view the values submitted to the form in CMS Desk -> Tools -> Forms -> {Form name} -> Edit

Regards,
Josef Dvorak