limit the max char for the drop-down list

How is it possible to limit editing of a drop-down list, if the combo is configured as editable. Thank you.

Cannot be done in the script... events that fire when the drop-down list is typed in don't work the same way.

The only way I can get that uses the exit event add this javascript code:

var

strTemp = this.rawValue;

If

(strTemp.length > 5) {

this.rawValue

strTemp.substr = (0.5);

App.Alert ("you have exceeded the limit of the tank.");

}

Where 5 corresponds to the length of the string that you will allow. The user can type in a long string, then it will warn and truncated to length.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • How to select several channels in the drop-down list for switching?

    Hello

    I use TS2015 SP1 and SwitchExec 2015. I created a list of routes that are now visible in the properties of the step "Activation" in the drop-down list field "Way (s) to connect".

    Here, I can click on an item in the list to select it.

    What can I do to select a second item in the drop-down list?

    It seems that I have to write the second element after the decimal point manually. Is this correct? Or y at - it something to select back in the menu drop-down?

    Thanks for help

    My bad!

    I wanted to say: «M2_C6R6 and M2_C7R7»

  • I think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    3D colors.jpgI think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    You can suggest that here:

    Feature request/Bug Report Form

  • I downoladed and tried to install CS6 on my computer after that machine has been upgraded to Windows 10.  I get a message that says "serial number is not for the product." The drop-down list does not contain CS6 Design and Web Premium.  What should I do

    I downloaded and tried to install CS6 on my computer after that machine has been upgraded to Windows 10.  I get a message that says "serial number is not for the product." The drop-down list does not contain CS6 Design and Web Premium.  What should I do to get loaded and enabled on my computer?

    That fall down, and the serial number you provide must identify the previous version that you upgraded because CS6 is an upgraded version in your case.

    Error "this serial number is not for a product calling it" | CS6, CS5.5, CS5

    http://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-qualifying-product.html

  • Simple javascript for the drop-down list IF, fills two different fields

    I don't write js, but can grasp what it did when I hang a sample edit and re - purpose. I have a form simple fax that already resets to the opening. Here's what I'm doing:

    User selects the sender's name in the drop-down list of about 15 (grow w / hour)

    Fill in the following text field "sender Fax #" with the number of direct fax (xxx-xxx-xxxx in the js) user

    Are also complete this later text field "sender Ph #" with the number of direct ph of the user (xxx-xxx-xxxx in the js)

    Here is an example which I believe works the way you want: https://workspaces.acrobat.com/?d=gZNDS8dQQNqvwocUufXHNQ

    You have to watch the fields to see how they are implemented and to study different scripts to see how it works. If you have any questions, post again.

  • Change the style of the drop-down list for the fill-in-the-white questions

    As the title says, I just want to know how to change the style, or at least font size in the drop-down lists to fill-in-the-blank questions. By default have a tiny font that is difficult to read, and a blocky interface. I can do to fix that?

    Hello

    I'm sorry, but this is not possible at the moment. If you fill a feature request (as I already did) to find out a better way to format these drop-down lists?

    Lilybiri

  • ToolTip for the drop-down list of the combo box

    Hello

    How can I give a ToolTip when I ride on an item in the drop-down list of a ComboBox?
    Its a little urgent: () help, please.

    Thanks in advance,
    Yann

    HI HI...

    Try to play with this example changed from Flex 2 help...

    Import mx.events.ToolTipEvent;

    [Bindable]
    public var cards: Array = [{label: 'Visa', data: 1},]
    [{label: "MasterCard", data: 2}, {label: "American Express", data: 3}];

    [Bindable]
    public var selectedItem:Object;

    ]]>







  • Delet several addresses in the drop-down list on the e-mail page

    on the page of the mail, the box where you put the address in I put the first letter of the address and a drop-down list box appears with several address of the person even all but 1 is false. I went to the address book, and there is only one address of this place.
    How can I remove all the wrong address in the drop-down list?
    Thank you
    Herbalifeman

    Look for these wrong email addresses in your address book and remove them.
    Make sure to look in all address books you may have, including the "collected addresses".

  • I've accidentally deleted from google as default search engine in the drop-down list and can't manage search engines

    I want in the drop-down list for ease of use, but are not all the addons I've tried... I am currently using 18.0.2

    Hello

    See:

    In the Manager at the bottom left there is a button to restore the default settings for search engines

  • Why don't point in the drop-down list address not remove when selected and click on remove

    on version 14.1 - to remove an item in the drop-down address, said the point the address line the right click and select delete - this clears the address line but point remains in the drop-down list and does disappear not - why point unclear when you return to fall down to check this

    the system is XP and ff 14.1

    I think that you need for the arrow down to the element, so it is highlighted, and then press DELETE.

    (I meant the keyboard delete key, you can't right click on the drop-down list).

  • How do I change site in the drop-down list

    This seems like it should be the best thing to do in firefox, but I can't figure out how to change the sites that appear in the drop-down list of my browser. Who/what determines which sites are in this drop-down list. It is certainly not the most frequently used. I have sites here I've been only once.
    Please notify.
    Thank you

    You are welcome.

    Could you please click on solved it next to the post that solved the problem for you? This will help others looking for a solution to the issue.

    Thank you.

  • What happened to the drop-down list next back and forth Often I want to go back two or three pages in a single jump, don't not clicking back, back, back!

    as the question says

    The drop-down list marker was removed from the Back/Forward button in Firefox 4.

    You can do one of the following:

    You need to update the following:

    • Adobe Shockwave for Director Netscape plug-in, version 11.0
    1. Check your plugin versions on one of the following links:

    2. Update to Shockwave for Director
      • NOTE: this is not the same thing as Shockwave Flash; This installs the Shockwave Player.
      • Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place, so you can find it).
      • When the download is complete, exit Firefox (file > exit)
      • Locate and double-click it in the installer that you just downloaded, let the complete installation.
      • Restart Firefox, and look at your plugins.
      • Download link and more information: http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
  • In Firefox 3.6.8 is there a way to see "typed urls" in the drop-down list address without icons and website names? I want to see are "typed urls" and nothing else.

    I want to see are "typed urls" in the drop-down list address. This is the way it has been for a long time. Now, you get some icons and names/info of Web site with the url. It takes too much real estate on the screen and makes it necessary to scroll through the drop-down list. This is a feature that I don't need. Is there perhaps something about: config that I'm missing?

    You can also check:

  • Space Designer logic IRs are installed, but still not appearing is not in the drop-down list on interface Space Designer?

    Howdy,

    I use Logic Pro X 10.2.

    I can't load my Space Designer IRs logic on interface Space Designer via the menu drop down. IE - I CAN load IRs one by one manually by clicking on the button IR and trawling through my library of Macbook etc. and do it this way - but obviously this is not cool...

    It's where my Space Designer logic IRs downloaded by default:

    1. Users/garethebbs/Music/Audio Music Apps/plug-in Settings/Space Designer

    (2) users/garethebbs/Music/Audio Music Apps / Impulse Responses

    In the Handbook of the logic of the effects, it says "all impulse responses with Logic Pro are installed in/Library/Audio/Impulse Responses/Apple folder. Deconvolution files have an extension of file .sdir. »

    So I copied the IR files in there too.

    I don't have this folder below - I think not that it already existed on my Macbook Pro. But some people have mentioned that they have their IRs logic there:

    Library / Application Support / logic / impulse responses - so I put this folder and copied the IRs in there to try, but nothing happened, if I deleted again to return my computer to original settings.

    I also tried to copy in Library / Application Support / logic / settings of plugin / Space Designer, but this did nothing no more... so I deleted them back.

    The IRs only, who are actually working properly - IE, they show in the drop-down list Space Designer window (see photo) are some Lexicon 480 L IRs that I downloaded and according to the instructions on the site Web 3rd party, I put them in:

    / Users/garethebbs/Music/Audio Music Apps/plug-in Settings/Space Designer

    / Users/garethebbs/Music/Audio Music Apps / Impulse Responses

    (The IRs of logic are there too... but obviously, they do NOT appear with the lexicons in the menu drop-down). I also tried to install any other lexicons PCM90 without success. Tried all possible places.

    Just very frustrated at this point... any help would be greatly appreciated. I hope that my post is not too complicated... I'm quite confused myself at this point...

    Thank you
    Gar

    PIC - that's what I get when I click on the menu bar dropdown - as mentioned above, no IRs, any third party lexicons logic.

    In the Handbook of the logic of the effects, it says "all impulse responses with Logic Pro are installed in/Library/Audio/Impulse Responses/Apple folder. Deconvolution files have an extension of file .sdir. »

    It's okay...

    Note: This is the system library not library user... which is where I'm guessing that you have been looking for...

    Go to the menu bar of the Finder... Choose send, and then tap option go to the folder...

    Now, paste the following text in there and press return.

    / Library/Audio/Impulse Responses/Apple

    You should find all the answers there y...

    The user users folder /Music / Audio Music Apps / Impulse responses is for presets save you yourself via the drop down in the plugin itself... more all 3rd party presets... who could settle there...

  • Change the number of items in the drop-down list box when running

    I'm trying to change the number of items in one of my boxes of comobo.

    I have been through the help and this forum and have the values to within the drop-down list box change very well, but in a scenario, I want to go to three options for 2. And according to other choices to 3.

    I guess I have to use a property node but I can't understand that one.

    You can use the method to reset to zero (using an invoke node) before setting the [Strings] (after setting the value by default an empty array) or create an Xcontrol (you can see examples of LabVIEW for xcontrol).

    Ben64

Maybe you are looking for

  • Coloring the arrows forward/backward when history is present, how?

    When the previous/next buttons have FF3 used to color their in the history, FF4 appear in slightly different shades of gray as it seems, but I can't really say.Is it possible that return to the FF3 behavior? In general, is it possible to connect the

  • where the settings of firefox under linux, it is not the same menu windows?

    I'm new to linux and I'm trying to configure firefox's safe and I want to change some settings in order to achieve this goal. I also want to be able to change the default folder for downloads etc... This has happened Each time Firefox opened == I sta

  • Unable to connect to the server hosting site

    When I connect my hosting site my log in username and password are recognized, but the site continues to send me to the log in page. Is my firewall or port settings prohibit access? JC

  • micro sd card adapter does not work

    With my phone, I got a mini card I put in an adapter card to get my photo... put it in my computer and it doesn't work anymore... He did before a few times and it worked

  • PSI key stopped working

    My printer will stop printing, then I get a message indicating that your PSI key stopped working. How can I fix it? WD