Im trying to disable some fields in my forms2, so it just shows some data, and the user is not able to edit it.
I have tried through jQuery, its works local on my localhost, but not online.
$(window).load(function() {
var inputFields = $("#Email,#Phone,input:text");
inputFields.prop( "disabled", true );
inputFields.css({
'background-color' : '#eaeaea',
'color' : '#1f1f1f'
});
});
I have tried with a setTimeout aswell, without success.
Is this an option within the form2 settings that i just missed?