简体   繁体   English

Kentico CMS-如何在两个页面上区分相同的BizForm?

[英]Kentico CMS - How to differentiate between the same BizForm on two pages?

I have two landing pages with the same exact BizForm. 我有两个登录页面,它们具有完全相同的BizForm。 How can I tell if a user has submitted the form on page A vs. page B - testing page design effectivness? 如何判断用户是否已在A页与B页之间提交了表单-测试页面设计的有效性? I want to keep the BizForm exactly the same; 我想保持BizForm完全相同; otherwise, I'll end up with a bunch of forms to manage. 否则,我将要处理一堆表格。 I don't have access to the web part code, so it would have to be a solution I can do through the CMS GUI. 我无权访问Web部件代码,因此它必须是我可以通过CMS GUI执行的解决方案。

Using Kentico v5.5. 使用Kentico v5.5。

Look at using an Alternative Form. 查看使用替代表格。 It's basically a copy of the same BizForm, and you can modify/change a few of the fields. 它基本上是同一BizForm的副本,您可以修改/更改一些字段。 Create one extra field on the BizForm, and assign the value of it based on which form you're using (main or alternate). 在BizForm上创建一个额外的字段,并根据您使用的表单(主表单或备用表单)分配它的值。 Just don't display the value on the form itself. 只是不要在表单本身上显示值。

Then, on the page, specify whether to use the main BizForm, or the Alternative BizForm. 然后,在页面上,指定使用主BizForm还是替代BizForm。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM