The field is hidden when the page is opened; I want to show the field with a client side event. I gave the default fieldC value "0" on the add page. When the add page opens, I want fieldC to be hidden. Help?
note:the code is working. fieldC does not sound hidden. It is controlled by keyup. "?????? " what will i write
{ // keys = event types, values = handler functions
"?????": function(e) {
if (this.value == "1") {
$(this).fields("fieldC").visible(true); // true to show, false to hide
} else {
$(this).fields("fielfC").visible(false); // Set value to FieldB
}
}
}