Changing Toolset CRED field as readonly

By

CRED form – textfield

[cred_generic_field type='textfield' field='field-slug' readonly='true' urlparam='mno']
{
  "required":0,
  "default":"",
  "persist":1      
}
[/cred_generic_field]
jQuery('input[name="field-slug"]').attr('disabled', true);

CRED form – select field, passing value from url parameter

[cred_field field='field-slug' class='form-control' output='bootstrap' select_text='--- not set ---' required='false' urlparam='cid' readonly='true']