# UI Components (checkboxes)

**URL:** <https://forum.kirupa.com/t/ui-components-checkboxes/123965>\
**Category:** Uncategorized\
**Created:** [September 28, 2004, 10:54pm UTC](https://forum.kirupa.com/t/ui-components-checkboxes/123965 "2004-09-28T22:54:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsundqvi](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@tsundqvi](https://forum.kirupa.com/u/tsundqvi)\
**Post date:** [September 28, 2004, 10:54pm UTC](https://forum.kirupa.com/t/ui-components-checkboxes/123965/1 "2004-09-28T22:54:43Z")

</div>

Hi,

I have a four checkboxes in my contact form. Here’s the code in the function layer. I’m pretty sure this code below is correct. I believe the problem is my CGI-file (attachment).

function Display© {  
if (c.getValue()) {  
\_root.result = " Kyllä";  
} else {  
\_root.result = " Ei";  
}  
phone2.setChangeHandler(“Display”);  
letter.setChangeHandler(“Display”);  
email2.setChangeHandler(“Display”);  
permission.setChangeHandler(“Display”);  
}

Thanking in advance
