Home Forums General Issues Link field can’t use readonly


Link field can’t use readonly

  • Link field can’t use readonly. I add a field through this array:
    ‘key’ => ‘field_salesforce_contact_url’,
    ‘label’ => ‘Salesforce Contact URL’,
    ‘name’ => ‘salesforce_contact_url’,
    ‘type’ => ‘link’,
    ‘readonly’ => 1,
    I want user not to edit the link, so I set readonly, but It’s not working, does anyone know where I did it wrong?
    I can also use url field type, but I want that clickable url to direct user to another page, so I want to stick to the link field.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.