Prevent Editor from changing value

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 11, 2011   (RSS)

Re: [willydoit] Prevent Editor from changing value

By robin - July 11, 2011

Hey,

A trick to show users a value that they are not allowed to edit is to use an HTML seperator. Add a new separator in the section editor and select HTML for it's type. For the HTML content, something like this will display your counter field. You might need to change the variable name:

<tr>
<td colspan='2'>
<?php echo "Counter: " . @$RECORD['counter']; ?>
</td>
</tr>


Hope that helps,
Robin
Robin
Programmer
interactivetools.com