Read only from an EditBox does not work

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
semua
 
 
Posts: 41
Joined: Fri Jan 20, 2017 2:28 am

Read only from an EditBox does not work

Post 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".
User avatar
semua
 
 
Posts: 41
Joined: Fri Jan 20, 2017 2:28 am

Re: Read only from an EditBox does not work

Post 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.
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Read only from an EditBox does not work

Post by Pablo »

You cannot add code to a 'initial value' property. This results in invalid HTML code.
User avatar
semua
 
 
Posts: 41
Joined: Fri Jan 20, 2017 2:28 am

Re: Read only from an EditBox does not work

Post by semua »

Well, I realized, I'm going to use custom html code then. Thank you.
Post Reply