Hi Bob,
Thanks for your reply. I have solve the problem, when we create a table from chronoforms control panel the default type of field is "VARCHAR" and size "255" when I change the type to "DATETIME" I have to delete the size (left the size empty) and everythings goes right.
Bob, Can I have your advise for my below problem? I wan to create cascading select box in my form and I have try your tutorial before but I am not success yet to create cascading dropdown select box. Below is my select box, kindly request your advise :
<div class="ccms_form_element cfdiv_select" id="category_container_div"><label for="category">Category</label><select size="1" id="category" class=" validate['required']" title="Category" type="select" name="Category">
<option value="">Please select a Category</option>
<option value="FGS-System">Fire, Gas and Safety System</option>
<option value="PPS-System">Process Plant Safety System</option>
</select>
<div class="small-message">Please select a cetegory</div><div class="clear"></div><div id="error-message-Category"></div></div><div class="ccms_form_element cfdiv_select" id="section_container_div"><label for="section">Section</label><select size="1" id="section" class=" validate['required']" title="section" type="select" name="section">
<optgroup label="Fire, Gas and Safety System" id="ss_1">
<option value="">Please select a section</option>
<option value="Fixed Fire Fighting System">Fixed Fire Fighting System</option>
<option value="Fixed Detection System">Fixed Detection System</option>
<option value="Handheld Fire Fighting System">Handheld Fire Figting System</option>
<option value="Lifeboat-Saving-Equipment">Lifeboat Saving Equipment</option>
<option value="Lifeboat">Lifeboat</option>
</optgroup>
<optgroup label="Process Plant Safety System" id="ss_2">
<option value="Emergency ShutDown System">ESD System</option>
<option value="Pressure Safety Valve">Pressure Safety Valve</option>
<option value="LSHH, LSLL, PSHH, PSLL, TSHH, TSLL">LSHH, LSLL, PSHH, PSLL, TSHH, TSLL</option>
<option value="ShutDown Valve">Shutdown Valve</option>
<option value="Alarm System"> Alarm System</option>
</optgroup>
</select>
I want to create when Category selected is : Fire, Gas and Safety System the second select box active is : option group 1 (id = ss_1) and so on.
thanks for your kind help
Zul