简体   繁体   English

如何在adobe liveCycle形式中将可增长的文本字段限制为5行

[英]how to restrict growable text field upto 5 line in adobe liveCycle form

![enter image description here][1]1. ![在此处输入图像说明] [1] 1。

Need Help in Adobe Livecycle user entered growable text field 在Adobe Livecycle用户输入的可扩展文本字段中需要帮助

In Adobe Livecycle tool, I have to restrict user to enter maximum of 5 line. 在Adobe Livecycle工具中,我必须限制用户输入最多5行。 Note : This is Growable User Entered Text Field so we cant fixed with layout. 注意:这是可增长的用户输入文本字段,因此我们无法修复布局。

Please Help Guys your quick action will be appriciable. 请帮助伙伴你的快速行动将是适合的。

Many Thanks !! 非常感谢 !!

You could add XML for the document to do this. 可以为文档添加XML来执行此操作。

Look for this in the XML Source: 在XML Source中查找:

<field name="tfWhateverYouNamedTheField" 

And add this if the caption is on top or bottom: 如果标题位于顶部或底部,请添加此项:

maxH="33.81mm"

or this if the caption is on left or right: 或者如果标题是左侧或右侧:

maxH="25.4mm"

That will cap the size at 5 lines for 10pt Myriad Pro. 这将使10个Myriad Pro的大小达到5行。 If you're using a different size/font, adjust accordingly. 如果您使用的是不同尺寸/字体,请进行相应调整。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM