Terms and conditions check box in bizform (Kentico CMS) with required

Login to vote



If you want to create terms and conditions check box, please follow below steps

1) First create one new field for this by clicking on the “+”.

2) Switch to advanced mode

3) Just create one field with Column name: “termsandconditions” or something you like

4) Attribute type: Text

5) Attribute size:10 (your choice)

6) in Field type: select MULTIPLE CHOICE

7) Now you will get options below of it, Select “Options (one value;name pair on each line – example: 1;Blue)

9) Then in text area just type “True;” or “1;” or “agree;”

10) Please type the error message Error message:

10) Then click on the ok button.

Now that check box become a required input user must checked. Else it will show error message.


Source : http://devnet.kentico.com/Knowledge-Base/Web-parts—Controls/How-to-create-check-box-in-BizForm-that-is-require.aspx

Enjoy while coding..!

Posted by Naga Harish Movva on 10/27/2010 11:10:33 PM
Filed under: Bizform
Nice, in the version 4.0 we could put macro should the site be multicultural; Put the new versions do not support it anymore.
Well be great to have it back or another way;
11/30/2010 12:59:05 PM

Hi Ryan Wheale,
Your right, it is best to add "Allow False Value" when it is "Boolean" field.
Great Idea!

Enjoy while coding..!
11/22/2010 10:27:11 PM

Ryan Wheale
It would be nice to be able to use the "Boolean" field for this purpose. But, unfortunately the "Boolean" field does not seem to acknowledge the "Allow Empty Value" setting... nor does it have a regular expression validator.

Maybe the setting should say "Allow False Value"...
11/2/2010 10:52:23 AM