Setting Read-Only on field does nothing

Why doesn’t read only work in customization? I can still edit the field and save it. If I choose disabled then the field is grayed out and can’t even be selected.

read-only-does-nothing

End goal is for the field to be able to be selected and text highlighted so it can be copied, but not changed and saved. Disabled does not allow that. And read-only still allows save. Is that known issue?

And, yes I have cleared cache and relaunched the form after setting read-only.

For an epibound field you have to change it in your extended properties (this will change it everywhere) or you have to do it in code on form load. It’s annoying, but that’s the way it’s intended.

I’m okay with it being read-only everywhere for this case.

Where can I find extended properties for a text field though?

It’s for the field that you have bound to the text box.

Okay thanks I didn’t understand that Extended Property was its own separate screen.

Yeah, I’m just figuring this stuff out too.

1 Like

You can do it at form level too. Tools, Wizards, Customisation Wizard. There is one called Modify Extended Properties or something similar.

Regards

Mark

1 Like

That’s where that is! I thought I remembered something like that, but I couldn’t find it.

Does that change it on only that form? Or everywhere?

Edit: Looks like it generates the code in the script editor, so it would be form specific only.

Thanks Mark!

2 Likes

Just that form, you can see the code that it writes in the script editor.

Can the the Extended Properties code that is added “simply” be edited to address a specific textbox? I am adding the APInvHed.InvoiceComment to the AP Invoice Entry main screen and the extended properties makes it read only, but it also makes it read only on the Header/Comment tab. I’m sure I can do it with code, but it will take some time.

Thanks,
Eric