• Security Issue!!!Workflow form validation???

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #17191  by noxious
 
Is there any way I could validate the input fields of a workflow form? I think that form validation is a major security issue and should be mentioned in documentation...So, can anyone give me a hint?
 #17197  by jllort
 
You have several available validators, take a look here http://wiki.openkm.com/index.php/Workfl ... escription, where's the link of dtd http://www.openkm.com/dtd/workflow-forms-2.0.dtd ,any node can contains validators:
Code: Select all
<!ATTLIST validator
	type (req | alpha | dec | num | email | url | maxlen | minlen | lt | gt | min | max | regexp) "req"
	parameter CDATA #IMPLIED
>
like required field
Code: Select all
<input label="Amount" name="amount" >
    <validator type="req">
</input>

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.