Forums

disable fields

kalkal 31 Mar, 2014
Hi,
how can I disable some fileds of my form?
GreyHead 31 Mar, 2014
Answer
Hi kalkal,

There isn’t a built in setting in Cfv5 (there is, I think, in CFv5). In CFv4 you have two choices, use JavaScript to disable the input in the browser, or use a Custom Element element and add the HTML there to do it before the form loads.

Bob
kalkal 01 Apr, 2014
I used custom elements (I don't now Javascript)
and the custom code
<?php echo $form->data[' '];?>
to every one of them.

Thank you
This topic is locked and no more replies can be posted.