Is it possible to limit the size of a text box by word count?

I know that it is possible to use a character limit but most users prefer a word limit as they feel it is a more meaningful restriction rather than punishing those that use long words!
Is there some way to apply a word count limit on a text field in Designer?

Thanks Elaine, I did find a a few scripts like this online but none of them were geared toward people using LCD to create forms.  The one you've posted is the simplest one I've seen and  I've adapted the script form the example you provided but have had a blank on how to call the script object using a click event on a button.
So far I have
function countWords()
                       form1.test.countText.rawValue = form1.test.enterText.rawValue.split(' ').length;

Similar Messages

  • Is it possible to change the size of a text box on a photo book page

    I am a first-time user of the photo book application in iPhoto. I am wondering if it is possible to:
    1. change the size of a text box
    2. have more than one text box on a page
    3. move the text box around.
    Thanks, in advance, for any suggestions someone might have.
    newtongrammy

    I am a first-time user of the photo book application in iPhoto.
    I also was a first-time user, so I started using it. Exploring the possibilities, learning my way around.
    Thanks, in advance, for any suggestions someone might have.
    Click the ? icon
    Oops. Sorry, but you're in the wrong forum : iLife > iPhoto

  • When I Change The Size Of A Text Box/Menu Widget, Other Objects Move According To It. How Do I Make It Stop?

    Example: There is a text box and there are objects below it. I add more text and  the text box size becomes bigger.
    Then the objects below move down.
    How do I make it stop happening?

    Hi LP700CR7,
    This is a default behavior, I am afraid, its not possible to stop this behavior at this stage within Muse.

  • Dynamically change the size of a text field.

    Is it possible to change the size of a text field depending on the amount of text in the field?
    Thanks,
    Chad

    You can find the answer from this post.
    jimmypham, ""Shrink to Fit" - Text Field capability?" #1, 18 Jul 2005 10:36 pm

  • Limit the size of Attachments in Portal

    Dear Group,
    I have a question. We're on SRM 7.0 + EP. In SRM 4+5 it was possible to limit the file size for attachments. Now in SRM 7.0 is not possible in the same way. This is a huge problem as users upload big files which are then sent-out by mail to the approvers. This causes lot's of traffic and some of the attachments even exceeds the file limit for the e-mails. We could easily switch off the send-out but this not what the clients wants to have.
    I know that there is a badi around which can be implemented but I wonder if there is a customizing in SRM which can be used to limit the file size for attachments to a Shopping Cart.
    Any Idea?
    BR Jens

    Hi Krishnan,
    If you look at most of the major documents (FI line items, purchase order, invoice, delivery, etc.) there will be a little dropdown icon in the upper left corner of the screen beside the "Display Document:" title and below the execute button.
    That icon is the 'Services for Object' button. Clicking on it will display a small popup window with several options including one for creating attachment, create note, create external document, etc.
    We want to limit the file size of the attachments to 2mb.  How can we set that limit.
    thanks,
    kbas

  • How to limit the size of the connection method parameter

    I connected an FMS server like var nc = new NetConnection ();
                                                      nc.connect ("rtmfp :/ / localhost: 61018/zy/1", a);
    But how to restrict the size of the parameter a, assuming that this a set to a 10GB object, or a very large byte, I found that the server received. This allows the hacker attacks, Is there any way to limit the size of this a, I hope that does not exceed 100KB.

    RTMFP encodes low-level messages in a manner compatible with RTMP messages. RTMP messages are length-field limited to 16MB (24 bits), and there is an artificial software limit somewhat less than that (approximately 10MB if i recall correctly).
    it should not be possible to send a connect message to an RTMFP or RTMP server exceeding about 10MB.
    ByteArray is limited to 4GB, and can't be serialized to AMF beyond 512MB (29 bits).
    also keep in mind that for an RTMFP or RTMP server to receive such a large message, that many bytes must be sent to it from somewhere (you).

  • Is it possible to limit the number of attachments

    Is is possible to limit the number of attachments that the mail server will receive in a message. For example if the email has 5 or more attachments reject it or through it in the bitbucket.
    The reason I ask is I have a remote site that is sending me 500+ email messages with 40 attachments in each. Well with virus scanning in the conversion channel it really backs things up.
    I have looked in the manual but have not been able to find anything.
    I am running ims5.2 patch 1.15 on HP-UX. Soon it will be patch 1.25 when school is out.
    Thanks,
    Gary

    Since each message is usually in a separate MIMEpart, you could use the conversion channel to do what you're asking, but . . .
    Routing every message through conversion will be a pretty big performance hit.
    How about simply blocking that particular site with an
    ORIG_SEND_ACCESS
    mapping entry in your mappings file?

  • I want to be able to paste a bunch of text into the subject line buit to only keep the first maybe 50 characters. How can I limit the size of the subject line?

    I need the ability to paste a bunch of text into the subject line but for it only to capture the first 50 or x number of characters. Can I limit the size of the subject line characters somehow in an ini or profile setting?

    If your problem is with Mozilla Thunderbird, see this forum for support.
    [https://support.mozillamessaging.com/en-US/home] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • Using log4j.xml to limit the size of a file

    Hello,
    I'm using JBoss. On startup it writes to boot.log and server.log. I'd like to limit the size that server.log can reach. At the minute I'm using the following code:
    <!-- A size based file rolling appender-->
       <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
         <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
         <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
         <param name="Append" value="false"/>
         <param name="MaxFileSize" value="3KB"/>
         <param name="MaxBackupIndex" value="1"/>
         <layout class="org.apache.log4j.PatternLayout">
           <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
         </layout>        
       </appender>However this causes far more information to be written to boot.log than usual and nothing to server.log.
    Can anyone help me in where I'm going wrong?
    Thanks very much,
    Ger

    Solved.
    Thanks,
    Ger
    Tell me more...

  • How do I check/limit the size of a file

    I am logging data to a file periodically. Since the PC is at a remote site, and I download the data file via modem, I want to limit the size of the file by automatically starting a new file once the current file reaches a certain size (in kB) limit. This way I minimize download time as well as avoid downloading the same data over and over again if I keep the same filename.
    How can I do this? Thanks.

    There is a function on the File I/O>Advanced File Functions called File/Directory Info. The functions returns the file size in bytes.

  • Hi.  Is there a way to limit the size of the emails I receive?

    Hi.
    Is there a way to limit the size of the emails I receive?   Can I set my iPhone4s to only download headers or set a limit to the size?   I can't see anything in the settings.
    Thanks,
    John

    My Gmail downloads only small embedded pictures. For videos and other big files I have to tap to download and this is a temp download. So you don't have any problem I thing. You can Delete the account-restart-add account back from time to time.

  • Is there a way to limit the size of the page preview cache?

    Overall I think that the page preview function of Safari is really great. But I noticed today that Safari was becoming slow to close down, and I cleared the page previews with the "Reset Safari" function, and over 1 GB of cache was cleared up. I had no idea that that much disk space could be taken up by the page previews.
    Is there a way to limit the size of the Safari Page Preview cache to, say, 500MB?

    Sorry, you can't limit the size of that item; you can either delete it, or disable it completely (which will also disable Top Sites and Cover Flow for Safari).

  • Is it possible to adjust the size of an inputText to the column size ..?

    Is it possible to adjust the size of an inputText that it correspond to the column size in a af:table.
    Thanks

    I don't need 30% ... i just need that me tree as a mininal width
    Here is my page :
    <af:panelBorder>
    <f:facet name="top">
    <af:panelHeader text="#{res['classification.repository.entryList.panelHeader.title']}"/>
    </f:facet>
    <f:facet name="left">
    <af:panelGroup layout="vertical">
    <af:panelHeader text="#{res['classification.repository.entryList.list.panelHeader.title']}">
    <af:tree value="#{bindings.ClassificationEntryListclassificationEntry.treeModel}"
    var="node">
    <f:facet name="nodeStamp">
    <h:panelGroup>
    <af:commandLink text="#{node.classificationEntryCategoryCode} #{node.classificationEntryCode}"
    shortDesc="#{res['classification.repository.entryList.tree.commandLink.shortDesc.textPart1']} #{node.classificationEntryStatus} #{res['classification.repository.entryList.tree.commandLink.shortDesc.textPart2']}#{node.classificationEntryCodeFullPath}">
    <f:param name="selectedIdentification"
    value="#{node.classificationEntryIdentification}"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:tree>
    </af:panelHeader>
    </af:panelGroup>
    </f:facet>
    <af:panelGroup layout="vertical">
    <af:panelHeader text="#{res['classification.repository.entryList.node.panelHeader.title']}"
    binding="#{backingRepositoryEntryList.entryNodePanelHeader}">
    <af:showDetailHeader text="#{res['classification.repository.entryList.base.panelHeader.title']}">
    <af:panelForm>
    <af:inputText value="#{bindings.classificationEntryCategoryCode.inputValue}"
    label="#{bindings.classificationEntryCategoryCode.label}"
    required="#{bindings.classificationEntryCategoryCode.mandatory}"
    columns="#{bindings.classificationEntryCategoryCode.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCategoryCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryCode.inputValue}"
    label="#{bindings.classificationEntryCode.label}"
    required="#{bindings.classificationEntryCode.mandatory}"
    columns="#{bindings.classificationEntryCode.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryCodeFullPath.inputValue}"
    label="#{bindings.classificationEntryCodeFullPath.label}"
    required="#{bindings.classificationEntryCodeFullPath.mandatory}"
    columns="#{bindings.classificationEntryCodeFullPath.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCodeFullPath.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryIdentification.inputValue}"
    label="#{bindings.classificationEntryIdentification.label}"
    required="#{bindings.classificationEntryIdentification.mandatory}"
    columns="#{bindings.classificationEntryIdentification.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryIdentification.validator}"/>
    </af:inputText>
    </af:panelForm>
    </af:showDetailHeader>
    <af:showDetailHeader text="#{res['classification.repository.entryList.mainTitle.panelHeader.title']}">
    <af:table value="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel}"
    var="row"
    rows="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.rangeSize}"
    first="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.rangeStart}"
    emptyText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel.selectedRow}"
    selectionListener="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel.makeCurrent}"
    width="100%">
    <af:column sortProperty="language" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.labels.language}"
    width="20%">
    <af:inputText value="#{row.language}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrDefs.language.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrHints.language.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <af:column sortProperty="content" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.labels.content}">
    <af:inputText value="#{row.content}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrDefs.content.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrHints.content.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"/>
    </af:tableSelectOne>
    </f:facet>
    </af:table>
    </af:showDetailHeader>
    <af:showDetailHeader text="#{res['classification.repository.entryList.complementaryTitle.panelHeader.title']}">
    <af:table value="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel}"
    var="row"
    rows="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.rangeSize}"
    first="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.rangeStart}"
    emptyText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel.selectedRow}"
    selectionListener="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel.makeCurrent}"
    width="100%">
    <af:column sortProperty="content" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.labels.content}"
    width="20%">
    <af:inputText value="#{row.content}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrDefs.content.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrHints.content.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <af:column sortProperty="language" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.labels.language}">
    <af:inputText value="#{row.language}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrDefs.language.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrHints.language.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"/>
    </af:tableSelectOne>
    </f:facet>
    </af:table>
    </af:showDetailHeader>
    </af:panelHeader>
    </af:panelGroup>
    </af:panelBorder>

  • Is it possible to adjust the size of the columnes when send alv by mail  ?

    is it possible to adjust the size of the columns when send alv by mail  ?
    i send alv ( list ) by mail  , work fine but all the columns are small and in the
    same size , can i adjust it in the mail   ?
    how to do it in regular alv i know it  .
    LS_FCAT-OUTPUTLEN = 29 .

    is it possible to adjust the size of the columns when send alv by mail  ?
    i send alv ( list ) by mail  , work fine but all the columns are small and in the
    same size , can i adjust it in the mail   ?
    how to do it in regular alv i know it  .
    LS_FCAT-OUTPUTLEN = 29 .

  • Is it possible to change the size of a partitioned hard drive?

    I use an iBook G4 (PowerPC) and partitioned an external hard drive. Is it possible to adjust the size of the partition without losing the contents of the external drive? If so, how?
    Thanks!

    Hi The Zach;
    Please read the requirements of these applications for resizing partitions very carefully! Most of them suggest that you back up prior to using them.
    After reading all of these warning rather then using any of these applications what I simply do is the backup first then change the partitioning with Disk Utilities and restore. I find this method to be quick and inexpensive.
    Allan

Maybe you are looking for

  • Nokia E72 Nokia Music issue

    Hi.. I purchased a E72 and activated GPRS on it. I also got a 25 track  free download voucher. I was able to download 12-15 tracks from my phone. However when I Got to Media--Music Store. It tries to connect thru GPRS, however instead of getting regu

  • FCP Log and transfer doesn't read all my SD cards

    Hello geniuses around the world! I'm L-and-T-ing from SDHC cards with HD footage from a Panasonic HMC151 into the latest FCP. Everything is working fine for 6 of my 8 SD cards... 2 of them won't transfer. NONE of the cards will drag and drop straight

  • Problem creating dynamic pools with JdbcServices?

    Hi I am using WL Server 6.1 and am trying to create dynamic pools using the JdbcServices object. Basically, I create a properties object, and fill it with the properties, and then pass it as a parameter to the CreatePool command. I have noticed that

  • Create a FAT32 partition of less than 32GB?

    I can't seem to do this in Disk Utility, nor by using newfs_msdos. I'm trying to use a Maxtor 250GB external drive to backup my PS3 (before upgrading the internal disk) but it won't recognise FAT32 filesystems over 32GB in size when connected via USB

  • Gmail iPod Touch Problem

    Anyone else getting an SSL connection error when trying to setup the new mail app with gmail?