LiveCycle Designer ES2 - validation model and limited length: max tanks

I am new to the use of LiveCycle Forms of design.  This seems like it should be a very simple thing, but I'm stuck on how to do it.

I have a postal Code field.  It is located at Zip and Zip + 4 display and Validation of models.  The Validation model is text {99999} | text 999999999 {}.

I have a script that stops at the entrance of alpha characters.  I also want to prevent users from entering more than 9 characters.  I think that the

Length limit: Max tanks: feature would take care of that... but it's not.  I can't turn on the limit length because I get a warning that conflict

with my boss.  Makes no sense for me because my boss has a maximum of 9 numbers and I want my length limit for a maximum of 9 characters.

I know that I can use schema validation to provide an error message warning that indicates a user to enter the numbers 5 or 9, but why can't I've just stop them at 9?

Any help would be appreciated.

Thank you!

Hello

It does not always seem to work, you get just an annoying warning at design time.

If you use a numeric field, then you might have the code in the change event to limit the length, and in this way they would be able to type alphanumeric characters either.

newValue var = parseInt (xfa.event.newText, 10);

If (isNaN (newValue) | newValue < 0="" ||="" newvalue=""> 999999999)

{

XFA. Event.change = "";

}

You then have the code in the validate event to test a value in both sectors.

Tags: Adobe LiveCycle

Similar Questions

  • If I use the adobe reader 7.0 software to open LiveCycle Designer ES2, what will happen?

    Hello

    I intend to recommend adobe LiveCycle Designer ES2 as a software designer of forms for a client company. But it seems that the client always uses the old version of adobe reader 7.0.

    So I need to know that it is essential to use the adobe reader 9.0 for designer ES2 software and if Adobe reader 7.0, this problem would happen?

    It is very useful, if there is detailed information on this subject.

    Thank you

    Shoku en

    Hello

    When you design a form in LC Designer ES2, you can set the version target of Acrobat/Reader software in the file > properties > default values tab.

    While you can target v7, be aware that some features in LC Designer ES2 is not supported in Reader v7. For example in LC Designer, you can define the presence of an object "(screen visible only)", but it is not supported in Reader v7, so would cause a problem. So for each form you will need to set the version of the target, and then check the warnings palette to see if there are problems.

    See the post by John Brinkman discussing Acrobat X, as it's a very handy table for the versions of the specification of the designer/XFA LC and Acrobat/Reader: Acrobat X and XFA 3.3

    XFA Version Acrobat/Reader
    2.1 6.02
    2.2 7.0
    2.3 7.0.1 7.02
    2.4 7.0.5, 7.0.7
    2.5 8.0
    2.6 8.1, 8.1.1
    2.8 9.0
    3.0 9.1, 9.2, 9.3
    3.3 10.0

    You can see there are a lot of changes around v7 and if the user has v7.0.7 Reader, you can use the features of 2.4 XFA specification.

    The other question to know is that users with the player will NOT be able to save data in the form, UNLESS the form has been enabled for reader until the form is deployed.

    The form can be active player in two ways:

    • Using Acrobat Standard v9 or Acrobat Professional v7 or v8. A license restrictions, see the EULA.
    • With the help of a server product called Adobe LiveCycle Reader Extensions ES2. Extra charge.

    Here is a summary of the options available for users with the player, depending on whether the form is activated to drive AND how she has been activated:

    There is a post here and a summary in PDF:

    http://assurehsc.IE/blog/index.php/2010/05/using-LiveCycle-Forms-in-Acrobat-and-reader/

    Hope that helps,

    Niall

  • possibility to buy LiveCycle Designer ES2?

    My company needs to edit our existing LiveCycle Forms, but they are in the old format ES2 and open forms in the ES4, but some the workflow scripts are not visible in the ES4. According to what I read, the former XFA forms must be converted to make the changes I need to do, and it is not possible for us. Is it possible to get the ES2 somehow? I searched, and yesterday, I swore there is a link to contact Adobe for previous versions of LiveCycle, but I can't find it now. Thanks in advance!

    Thanks for the reply. I was able to download Acrobat X Pro, but ES2 seemed not to be included. BUT, you led me to the answer... ES2 is included in Acrobat X Suite

    Thank you so much - you saved me a ton of headaches!

  • LiveCycle Designer ES2 Software

    The designer used to be shipped with Acrobat Pro, but with the new Acrobat X, I don't see any mention of the designer under the Version '(features) comparison' here - http://www.Adobe.com/products/acrobatpro/buying-guide.html

    Designer come with Acrobat X?  Thank you.

    Hi Jacob,

    I can't say for sure, 100% that I have not updated.

    However if you go here: http://www.adobe.com/products/acrobat/matrix.html

    It seems to indicate that Acrobat X Pro for Windows and Acrobat X Suite for Windows have included LC Designer.

    I tried to upload screenshots, but can't!

    Niall

  • LiveCycle Designer ES2 save some changes not retained after scripts

    Hello

    I have some text field names that are modified by Javascript in some click events. These renowned fields are used for navigation in conjunction with xfa.form.resolveNode and everything works perfectly until the form is saved and reopened.

    After you open the saved form, all entered data are retained, but new domain names have not been preserved and resolveNode returns a null value.

    'Changes Preserve to form when recording scripts' are set to 'Automatically' in the properties of the form.

    Ideas or comments?

    Thank you

    Ron

    Hi Ron,

    I don't think you will get it works. I suspect that, when the form is reopened the template DOM contains the original name of the text field and this is used when the form is rendered.

    You could test this with a temporary button's click event:

    console.println("Textfield name BEFORE remerge: " + TextField.name);
    xfa.form.remerge();
    console.println("Textfield name AFTER remerge: " + TextField.name);
    

    You would click it ONCE your other script has changed the name of the text field. You will also need to open the JavaScript Console (control + J) to see the results.

    Good luck

    Niall

  • LiveCycle Designer included in Tech Comm Suite 3?

    I'm going to upgrade Tech Comm suite 1.3 to 3.0, but can't tell if LiveCycle Designer included with version 3. Can anyone confirm?

    Thank you!

    Cindy

    3 TC includes Acrobat X Professional.

    And Acrobat X Professional includes Designer ES2.  See the web page under the heading create a custom form:

    Create forms professional models out-of-the-box or form design from scratch using Adobe LiveCycle® Designer ES2 for Windows software, which is included as part of Acrobat X Pro.

  • PDF of LiveCycle Designer file size

    Hello.

    I have installed trial of LiveCycle Designer ES2 (v9.0.0.0.2009...).  I created a seemingly simple PDF form, but the file size is greater than 1 MB.  Is it "normal"?  It seems like it might / should be only a few hundred KB, if that.

    Hi Srini,

    This bug has been fixed in a previous version, so shouldn't be a problem in the ES2.

    One thing to keep in mind is that by default LC Designer incorporates fonts in a form (see file > form properties > Save Options). This does not add too much to a form, if you use an efficient police force such as Myriad Pro. However, if you use other fonts, such as Times New Roman, then this can add several hundred KB.

    Also if you use images in the form, then uncheck the embed images in the object > field palette. The image will still be available when the user opens the form in Acrobat/Reader, but will be more effective.

    Hope that helps,

    Niall

  • How to get forms to ignore the default text in the fields during the validation of LiveCycle Designer

    Hiya,

    I'm test ss4 Designer to create a simple form that is submitted by e-mail.

    Everything works except for my text boxes...  They are implemented in the form of required fields, but because I've included the text by default with the instructions, if you press on submit without changing the fields, they will not validate as empty and does not throw an error message.

    I searched the forums all day for a fix, but I'm too new to understand where to put the code, etc.  I tried to add

    ' text {! = placeholder}' in the validation box but model that does not work...

    All I have is LiveCycle Designer and I'm on windows 7.  Thanks for your help!

    Hello

    There is a script editor.  If you select the field, then you will be able to select the event in the 'Show' taking place (above the 'Design' tab), and then the code window will be active and you can enter your code.  You can extend the default value of a single line.

    Good luck

    Bruce

  • Could someone tell me please the difference between the Designer ES2 and ES4?

    Dear all,

    Could you get it someone please let me know the differences between Adobe LC Designer ES2 and Designer Adobe LC ES4?

    Thank you

    VJ

    Look here and here for the SS3 and ss4 changelogs

    http://help.Adobe.com/en_US/LiveCycle/10.0/DesignerHelp/WS107c29ade9134a2c2439970312a9bd97 a8f - 8000.html

    Adobe LiveCycle ES4 * new features in the designer

  • downloaded Adobe LiveCycle Designer, but the serial number is not valid

    I'm just finishing the installation of the WAA LiveCycle Designer trial but get an error message that the serial number is not valid.  I manually typed in 4 times being very careful to enter correctly.  I copied directly from the web page and it is entered multiple times.  That is what it is?

    Contact support series and licenses directly by web chat or phone.

    Mylenium

  • Is LiveCycle Designer ARE 8.2 LiveCycle ES2 or SS1?

    Hello

    I am confused with all the conventions of release of LiveCycle.

    Is LiveCycle Designer ARE 8.2 LiveCycle ES2 or SS1?

    I use ES8.2 of Designer. I manually added some PDF XDP form metadata in the XML Source tab. After the XDP form gets static redendered PDF XFA or dynamic XFA PDF, the PDF metadata I've added manually are lost. I was told there is a fault known with LiveCycle ES1 and it has been fixed in the ES2. So, ask yourself if'RE 8.2 either ES1 ES2?

    Thank you!

    lcfun

    Designer = 8.x ARE

    Designer ES2 = 9.x

  • Adobe LiveCycle Designer YOU and Adobe Acrobat 9 Pro

    I recently bought Adobe Acrobat 9 Pro, it came with Adobe LiveCycle Designer ES.  When I create a new document with Acrobat 9, it takes me right in LiveCycle for design, which doesn't bother me.  However, the properties of each field are very limited in comparison with Acrobat 9.  So, the file I created with LiveCycle I want to be able to reopen with Acrobat 9 and reach the field with Acrobat 9 properties, but the system, I cannot do.  What I am doing wrong?

    Anne-Marie

    To force uppercase, enter the following text in the change like JavaScript event (make sure JavaScript is selected in the drop-down list top-right language):

    XFA. Event.change = xfa.event.change.toUpperCase ();

    As you can see from the picture, there are a lot of palettes available on the right side to change fields. I hope this helps.

  • When you try to edit my Adobe document, a window appears which says that I have to use Adobe LiveCycle Designer to change.  Why is this and can it be corrected?

    When you try to edit my Adobe document, a window appears which says that I have to use Adobe LiveCycle Designer to change.  Why is this and can it be corrected?

    It used to be delivered for free with Acrobat Pro, but amy either. You have now

    you have to buy separately.

  • CD player and LiveCycle Designer Forms

    Is - this new version of the CD player works well with LiveCycle designer forms?

    Problems?

    Thank you

    Maybe... There was a lot of complaints about the new right hand pane and there was an update released yesterday, which addes some optimizations to it.

    You should check it yourself to see if does what you want.

  • I made a form of barcode using acrobat 9 pro and liveCycle Designer

    I made a form of barcode using acrobat 9 pro and liveCycle Designer, but the code bar in the gray eyes of acrobat reader... I know that I need some component to apply to the document... but I don't know how to get...

    You must activate Reader form with LiveCycle Reader Extensions and include the right to use of barcodes (BarcodePlaintext). You will need to contact Adobe for the price of information.

    More information: http://blogs.datalogics.com/2012/10/03/reader-and-livecycle-reader-extensions-in-the-limel light /

Maybe you are looking for