Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#796013
Hello,

I would like to change the "display mode" of a Dynaform field to "disable" or "view" using javascript.
I have tried several combinations like
getFieldById("field_id").disabled = true;
getFieldById("field_id").el.disabled = true;
getFieldById("field_id").readonly = true;
getFieldById("field_id").el.readonly = true;
but nothing works.
Could you please help?

Best Regards,
fibo2358

It is working. Thanks a lot.

Hi, I saw an old topic in this forum with this err[…]

Grid, difference between 2 dates

Hello, You could use this code instead of yours: […]

hello, I have one dynaform with grid. In grid the[…]