<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><font style="font-family: arial,helvetica,sans-serif;" size="3"><code><span style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 119, 0);"></span></span></code></font>Indeed, $form_state['values'][data1_checkbox] would be where to find the value (0 or 1). Your submit function should be formed like:<br></div><div><code><span style="color: #000000"><span style="color: #007700">function </span><span style="color: #0000BB">test_myform_submit</span><span style="color: #007700">(</span><span style="color: #0000BB">$form</span><span style="color: #007700">, &amp;</span><span style="color: #0000BB">$form_state</span><span style="color: #007700">)</span></span></code></div><div>&nbsp;</div><div><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><strong>Nancy</strong></i></font></div>&nbsp;<div><font
 face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> "Kim, Soonho (IFPRI)"</font><br>I have a problem to find a checkbox value in a form.<br></div>I guess that I might get the value from&nbsp; " $form_state['values'][data1_checkbox] " but I don't know how to get the $form_state from $form..<br> </div> </div> </blockquote></div>   </div></body></html>