ASPX templates
Version 4.x > ASPX templates > Multi Page BizForm View modes: 
User avatar
Member
Member
AP-Kentico - 8/25/2009 11:49:16 AM
   
Multi Page BizForm
How can I create a multi-page webpart from out of the box? Is it possible or I will have to create a customized form?

Thanks,
AP

User avatar
Member
Member
AP-Kentico - 8/25/2009 11:49:51 AM
   
RE:Multi Page BizForm
Actually I meant multi-page bizform

User avatar
Member
Member
AP-Kentico - 8/31/2009 10:33:48 AM
   
RE:Multi Page BizForm
I read somewhere that we can use jquery to provide pagination in bizforms but did not find enough information.

Has anyone tried this approach?
Please respond if anyone has done this in the past.

Thanks,
AP

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 9/1/2009 6:58:58 AM
   
RE:Multi Page BizForm
Hello,

You can try to use procedure bellow:

First of all, you need to create all of the necessary BizForm fields with allow empty value property checked. Then you need to create as many alternative forms (please see Alternative forms module overview and related topics in the same section for more details) for your BizForm as the number of pages you require. Each alternative form will be configured to show only fields you require to be displayed on that alternative form - page. Then you would need to modify ~\CMSWebParts\BizForms\bizform.ascx web part and add some for example "next" button to it. The aim of this “next” button will be to change Alternative form (viewBiz.AlternativeFormFullName) and also to save the BizForm data (viewBiz.BasicForm.SaveData(string redirect_to_URL)). After first page is saved, Bizform entry is created and you need then just to update existing one using [url= http://www.kentico.com/docs/devguide/bizforms_api.htm]BizForm API[/url] on rest of pages.

Best Regards,

Martin Dobsicek