# To make text fields non-editable on MAC

**URL:** <https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048>\
**Category:** Classic Servoy\
**Created:** [August 23, 2007, 7:35am UTC](https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048 "2007-08-23T07:35:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhranild](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@subhranild](https://forum.servoy.com/u/subhranild)\
**Post date:** [August 23, 2007, 7:35am UTC](https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048/1 "2007-08-23T07:35:45Z")

</div>

Hi all,  
In my application(web client), I need to make some text fields readonly ie non-editable . So, If I make the field non-editable . It is working fine in IE and FF. But in Safari we can edit the field .

Is there anyway to make the field readonly while using MAC also.

I have used elements.element\_name. readOnly = true ;  
but this is also not working.

We can use label instead of field . but is it possible to make the label look like exactly as text field appears in safari.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [August 23, 2007, 7:52am UTC](https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048/2 "2007-08-23T07:52:27Z")

</div>

It is working correctly for me, try to update Safari to the latest build, Apple fixed a lot of stuff and now it’s working pretty well with Servoy WebClient.

---

<div class="post-metadata">

**Author:** ![subhranild](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@subhranild](https://forum.servoy.com/u/subhranild)\
**Post date:** [August 23, 2007, 9:27am UTC](https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048/3 "2007-08-23T09:27:16Z")

</div>

In the example CRM solutions . there is a global method openSolution  
which checks the OS and overrides the style.

Is it possible to use some style which will make the text field appear as same as it appears in IE…

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [August 23, 2007, 9:35am UTC](https://forum.servoy.com/t/to-make-text-fields-non-editable-on-mac/8048/4 "2007-08-23T09:35:50Z")

</div>

No, text fields, drop down menus, buttons are defined by the browser: Safari uses the Aqua style, FireFox use a different style and Explorer on Windows uses another style. You can’t change this.
