Read only from an EditBox does not work

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
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: 200
Joined: Fri Jan 20, 2017 2:28 am

Read only from an EditBox does not work

Post by semua » 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".

User avatar
semua
 
 
Posts: 200
Joined: Fri Jan 20, 2017 2:28 am

Re: Read only from an EditBox does not work

Post by semua » Tue Feb 12, 2019 11:21 am

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: 14420
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Read only from an EditBox does not work

Post by Pablo » Tue Feb 12, 2019 12:07 pm

You cannot add code to a 'initial value' property. This results in invalid HTML code.

User avatar
semua
 
 
Posts: 200
Joined: Fri Jan 20, 2017 2:28 am

Re: Read only from an EditBox does not work

Post by semua » Tue Feb 12, 2019 12:15 pm

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

Post Reply