how to remove the class in any type of form controls.

how to remove the class in any type of form controls.

  
Hello,

I want to remove the "ReadOnly" class on my form inputs. I'm thinking that this ReadOnly class would reflect on the form controls properties however there is no ReadOnly property on the control. now how I will remove this class? 
Hi Mikro,

I don't know if there's a way to do it via the Development Studio because the class is used to have the behavior of the new forms (by default is greyd out and when you click becomes 'active').

If your concern is visual then, like with any css class, you can rewrite it with specific styles for your application.

If you really want to remove it you can try and use javascript, something like:

$('document').ready(function(){
   $('.ReadOnly').removeClass('ReadOnly');
});

Howhever you must test for potential effects on your application and also if you're refreshing your forms with ajax you'll probably need to also have this on a refresheable container and refresh it at the same time (as the platform will continue to generate it with the class).

Cheers,
Guilherme