Security Issue!!!Workflow form validation???
PostPosted:Sat Jul 14, 2012 9:31 pm
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?
Re: Security Issue!!!Workflow form validation???
PostPosted:Sun Jul 15, 2012 8:40 am
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>