• Using value element attribute in metadata textarea field

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54004  by mmceldowney
 
Hello. I'd like to use a read-only text field to display instructions for the next field in metadata. I am trying to use the value attribute, which the documentation says is available, and it is listed as an optional attribute in the DTD, but I get an error when I try to submit the xml file.

Image

Below is my xml. It works if I remove the value attribute, so I know the xml format is good.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.3//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.3.dtd">

<property-groups>
    <property-group label="Testing Metadata" name="okg:fubar">
        <textarea label="Instructions" name="okp:fubar.instructions" width="200px" readonly="true" value="I'll put instructions for the next field here" />
    </property-group>
</property-groups>

Image

I don't understand why the parser is throwing an error.

OpenKM version is 6.3.9CE and browser is Firefox 108.0.1.

Thanks for any insight you can give!

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.