Design and CSS styles
Version 4.x > Design and CSS styles > Paging in a BizForm View modes: 
User avatar
Member
Member
JBJBJB - 3/11/2009 2:42:15 PM
   
Paging in a BizForm
Hello, is it possible to create a BizForm with multiple pages in it?
I didn't find an option for that yet.

If not, I would like to issue a feature request for that.

TIA,
Jeroen

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 3/17/2009 8:57:32 AM
   
RE:Paging in a BizForm
Hi Jeroen,

Unfortunately this feature is not supported. I've passed this feature request on to our developers and they will consider adding it for future versions. In a meantime you could eventually create custom form as web part (http://devnet.kentico.com/docs/devguide/modifying_the_design_of_standa.htm) or user control (http://devnet.kentico.com/docs/devguide/adding_custom_code_to_the_page.htm) and store values in some custom table.

Best Regards,

Martin Dobsicek

User avatar
Member
Member
JBJBJB - 3/17/2009 9:12:01 AM
   
RE:Paging in a BizForm
Hi Martin,

Thanks for your answer and making it a feature request. I guess it might be a bit difficult technically since it would require more logic (insert and update the same record, navigation etc).

For now I will create a form with hidden fields and create pages with custom controls that write to the same BizForm record. That will work well.

Thanks,
Jeroen

User avatar
Member
Member
AP-Kentico - 8/28/2009 2:44:36 PM
   
RE:Paging in a BizForm
Hello Jeroen,

Is it possible for you to provide the code for the achieving this?

Thanks,
AP

User avatar
Member
Member
AP-Kentico - 8/28/2009 3:09:25 PM
   
RE:Paging in a BizForm
Hi Martind,

I would appreciate if you could tell me when can the multipage feature be available in bizforms? It would help me decide which route to take.

Thanks & Regards,
AP

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 9/1/2009 3:34:17 AM
   
RE:Paging in a BizForm
Hello,

It's possible to achieve multi paged BizForm using Alternative forms of appropriate BizForm. 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 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 BizForm webpart (please create copy of the webpart first): ~\CMSWebParts\BizForms\bizform.ascx and add some for example "next" button to this web part. 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 BizForm API:

devnet.kentico.com/docs/devguide/bizforms_api.htm

Anyway out of the box feature will be available in one of the next versions - I'm sorry but there is no exact specification for that yet.

Best regards
Ondrej Vasil

User avatar
Member
Member
dmeyer-92y - 4/12/2011 2:12:07 PM
   
RE:Paging in a BizForm
Where would we set a variable value such as "NextPage", so we can set the viewBiz.AlternativeFormFullName value?
I'm trying to save a variable into either viewstate, session, cookie, hidden field, anywhere really, and it seems all of them are null at the time that the SetupControl() method is fired

Thanks

David

User avatar
Member
Member
dmeyer-92y - 4/12/2011 4:05:59 PM
   
RE:Paging in a BizForm
Nevermind, I can override OnInit, which fires before SetupControl()

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/13/2011 1:45:29 AM
   
RE:Paging in a BizForm
Hi,

multiple paging in bizforms was discussed also in this thread. You can find some code examples, which could help you.

Best regards,
Ivana Tomanickova