Page 1 of 1
Read only from an EditBox does not work
Posted: Tue Feb 12, 2019 11:15 am
by semua
Hello
I added an EditBox in my project, I marked the properties as "Disabled" and "Read only", because it is a field only to view the data and not to be filled. However when publishing or viewing I can freely edit, delete or write data in this field, ie it is ignoring the properties "Disabled" and "Read only".
Re: Read only from an EditBox does not work
Posted: Tue Feb 12, 2019 11:21 am
by semua
semua wrote: Tue Feb 12, 2019 11:15 am
Hello
I added an EditBox in my project, I marked the properties as "Disabled" and "Read only", because it is a field only to view the data and not to be filled. However when publishing or viewing I can freely edit, delete or write data in this field, ie it is ignoring the properties "Disabled" and "Read only".
I already figured out what it is, I pasted into "Initial value" a custom code and it looks like the interference:
Code: Select all
<link rel = "stylesheet" href = "style.css">
How can I put this code above in the "Initial value" so that it does not interfere? The above code would only be for the user to copy it.
Re: Read only from an EditBox does not work
Posted: Tue Feb 12, 2019 12:07 pm
by Pablo
You cannot add code to a 'initial value' property. This results in invalid HTML code.
Re: Read only from an EditBox does not work
Posted: Tue Feb 12, 2019 12:15 pm
by semua
Well, I realized, I'm going to use custom html code then. Thank you.