Common specs for pdfs

From UG

(Difference between revisions)
Jump to: navigation, search
(Textarea input validation)
Line 1: Line 1:
-
== Textarea input validation ==
+
== Textbox / Textarea input validation ==
-
Q: How to handle situation when string entered/populated into textarea (''Example: Special Instructions'') above does not fit into the correspondent space on pdf?
+
Q: How to handle situation when string entered/populated into textbox / textarea (''Example: Special Instructions'') above does not fit into the correspondent space on pdf?
A: In this case (as on any pdf) for each single or multiline textbox/textarea there must be a max number of characters/lines determined and:
A: In this case (as on any pdf) for each single or multiline textbox/textarea there must be a max number of characters/lines determined and:
-
* displayed (next to the label)
+
* displayed (next to the label) (example: "max 70 chars on one line, max 4 lines")
* validator must be added that "prevents user from entering more" OR "displays pop-up indicating that max reached". Any other alternative ideas?
* validator must be added that "prevents user from entering more" OR "displays pop-up indicating that max reached". Any other alternative ideas?

Revision as of 20:12, 21 June 2009

Contents

Textbox / Textarea input validation

Q: How to handle situation when string entered/populated into textbox / textarea (Example: Special Instructions) above does not fit into the correspondent space on pdf?

A: In this case (as on any pdf) for each single or multiline textbox/textarea there must be a max number of characters/lines determined and:

  • displayed (next to the label) (example: "max 70 chars on one line, max 4 lines")
  • validator must be added that "prevents user from entering more" OR "displays pop-up indicating that max reached". Any other alternative ideas?

Pdf template(zul form) layout and size

  • Must mimic layout on pdf
  • Size of textboxes must reflect space on pdf


[com]Commodity table section

Rules

[com1] (on pdf) unit of measurement that appears to the right of the number (example: 20CBM) must be printed only on the "Total:" line

[com2] (on pdf) comtable needs vertical lines but not horizontal lines

[com3] (on pdf) comtable needs lines around it - it must be "in the box"

Common bugs

  • combug1// CBM, not CB //
  • combug2// PCS, not HU (table header) //
  • combug3// "TOTAL:", NOT "TOTALS:" //


spec# descr
[combug1] CBM, not CB
[combug2] PCS, not HU (table header)
[combug3] "TOTAL:", NOT "TOTALS:"
Personal tools