text field with only letters and spaces

Hello everyone, I am a newbie to livecycle designer and now I have a very confusing issue. I am trying to create a field named "last name." I wish she accepts only letters and spaces - you know, some names have two words with a space between them - and does NOT accept the figures. I tried to define the schemas of the tabled text, but he did not have a solution. Can someone tell me please how to do? Thank you.

BTW, how to import a drop-down list to an XML file? I created an XML file below as taught in the help file:

<form>
 <lists>
 <item uiname="MasterCard" token="MC"/>
 <item uiname="Visa" token="VS"/>
 <item uiname="Eurocard" token="EC"/>
 <item uiname="Special Card" token="SC"/>
 </lists>
</form>

then I tried to bind a list with her, but it does not work.

Thank you

Place the following code in the text box's change event...

If (xfa.event.change.match (/ [A - Z\ \a-z]/) == null)
XFA. Event.change = "";

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • Open a read-only text field using the button and javascript

    Hello

    I have a form with text fields that I préremplira data. The text fields will be in read-only by default. I want to ensure that when a user wants to make changes, he will need to click on a button and in turn, background of the text field will become gray and he can make changes to the text field. I can already do gray running in background, but I can't make the text box open.

    This is the code that will run after the button is clicked:

    color.ltGray = new Array ("G", 0.75);

    this.getField('TestField').fillColor = color.ltGray;

    this.getField('TestField').access = "open";

    Background of the text box becomes gray, but it is always read-only. Any ideas?

    Thanks in advance!

    If you have created the form in Acrobat (as opposed to LiveCycle Designer), change the last line to:

    this.getField('TestField').readonly = false;

  • I try to enter the serial number to register my software, but the label outside of the box, he's starting with the letters and it does not accept the letters... . Only numbers

    I try to enter the serial number to register my software, but the label outside of the box, he's starting with the letters and it does not accept the letters... . Only numbers

    Serial numbers contain no letters, so maybe it's your redemption code, for use on adobe.com to get your serial number.

    Here are a few links to look for more information

    https://helpx.Adobe.com/x-productkb/global/redemption-code-help.html#productboxorprepaidca rd

    Quickly find your serial number

  • Text field &amp; &amp; read-only attribute

    Hello everyone,

    I have a text field with the read only attribute is on, I need to activate only the Back Space key.

    If someone has an idea to do, please tell me.

    Thank you and best regards,
    OLA

    If you require a read-only column, only to be read-only other characters than the BACKSPACE key (deletion)? Don't you see that this would NOT be a field read-only? You need a piece of JavaScript to reject all keys but this key when you are in this text box.

    
    

    Thank you

    Tony Miller
    Webster, TX

    If vegetable oil is made from vegetables, then what is baby oil?

    If you answer this question, please mark the thread as closed and give points where won...

  • Text field with AutoComplete do not store Item Value for Cascading LOV

    Hello

    I have created a form to the APEX 4.2, and two elements on the page have a problem. The first point is a text field with AutoComplete for the PROVIDER. The second element is a list select number that has the PROVIDER as part of waterfall to fill.

    When a user selects one of the values that the field can be seized semiautomatic provider , the value autocomplété should make the selection list produce the numbers respective associated PROVIDER. The problem that I am running is that AutoComplete is not give PROVIDER selection list value is filled.

    For example: if I type 'st' in the PROVIDER field that autocompletes to "steve" is selected, the NUMBER field must interrogate him for the numbers where VENDOR = steve. However, after reviewing the Session State from the PROVIDER element, the contained value is always only "st."



    Here are the settings I have for the field PROVIDER : and NUMBER:

    name.JPGnumber.JPG

    There should be a way to have the value of the seized field semi-automatic to account for what appears after selecting a value, but I don't know what it is. You can provide any help would be appreciated.

    Thank you!

    your query full auto would: select supplier_name | ' ('| supplier_id |') '

    provider AutoComplete onChange, get the supplier_id and then value the selected drop-down list by using this code.

  • During the seizure of documents and emails, letters and spaces are missing at random.

    Original title: typing problems

    During the seizure of documents and emails, letters and spaces are missing at random. Takes forever to type anything.

    Hi lornabramley,

    Add already provided suggestions, try update the computer with the latest drivers, including drivers for the chipset. Log computer manufacturer site to do so.

    Answer whose status is so we can look for other options, if these suggestions do not help.

  • When a box is checked, fill a text field with a value

    I don't know that it's simple; However, I am very new to acrobat and javascript.

    Here's what I want to do:

    I have a checkbox field and a text field. If the checkbox is turned "on" I want to fill the text field with a specific numeric value.  If she isn't 'unchecked' there is not value or value 0.  Any help is appreciated.

    Enter this code in the custom of your text field calculation script:

    This.getField("CheckBox1").value = Event.Value == "Off"? 0: 1234;

  • Creating a page of my Web site that allows users to fill out text fields, with basic formulation tools (text sizes, formatting, etc.).

    Hey, I would like to create a page on my Web site that allows users to fill out text fields, with basic formulation tools (text sizes, formatting, etc.).

    Another thing I need to allow users must be able to upload their own graphics to the pre-assigned fields. Thank you please advise me on how I would go to this topic.

    Nothing to do with the Muse. You need a system dynamic as Joomla, Wordpress, Drupal and so on. Otherwise, there is no way to store your information.

    Mylenium

  • Text field with AutoComplete is always NULL

    Greetings,

    I am new to Apex, so I don't know I'm missing something obvious. I use Apex 4.0.1 what I've done is created a form on a page of table and added a new text with page of AutoComplete element. This new field of text does not match a column in the table. What I'm trying to do, is allow the user to use the AutoComplete feature to make a choice. Then when the user submits the page, I want to use the substr function on the value of the field of AutoComplete and fill one of the fields in table. I tried using the PL/SQL functions in validations and calculations, but I found that the autocomplete field value is always NULL. I can access the other fields that are associated with a fine table column. It must be something simple. Thanks for your help.
    Page Items
    P2_F1  - text field with auto complete. Not associated with a table column
    P2_F2 – Text field. Is associate with a table column
    This is what I want to do:
    
    Entered this in a validation
    begin
    if :P2_F1 is not null then
       :P2_F2 := substr(:P2_F1,1,5);
    end if;
    end;
    Thanks again

    Published by: LRM on 22 January 2011 17:25

    Hello

    In calculations, you must use:

    Item name: P2_F2
    Type: SQL Expression
    Point calculation: after submit
    calculation: substr(:P2_F1,1,5)
    Condition type: the value of element in the expression is not null
    Expression 1: P2_F1

    Kind regards

    Patel Kartik
    ---------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Is it Apex_Item function for "text field with AutoComplete?

    Hi all
    Is it Apex_Item function for "text field with AutoComplete? I can't find it in the website http://apex.oracle.com/i/doc/AEAPI/apex_item.htm

    Respect,
    Taylor.

    Hello

    I think that there is not. If there is, it is not documented.

    You can use the normal text field and Add AutoComplete using jQuery UI and jQuery autocomplete plugin.
    Those who are willing to Apex 4

    See for example this post how manually to add autocomplete text field
    Plugin of JQuery autocomplete

    Kind regards
    Jari

  • Apex 4.02 BUG: text field with AutoComplete. wrong help text

    The rest of the wizard for a text field with AutoComplete you reach a screen where you can enter an LOV query. The text of the query box has following help text

    Enter the query that returns the list of values. The query must select two columns in the following order, first a display value then a return value. For example:

    Select ename, empno
    WCP


    When you select two identical columns, remember to use the single column alias, for example:

    Select d, r ename ename
    WCP

    However, the query must return only 1 value.

    Thank you, Rene, I fixed in 4.1.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Dynamic text field showing only the number 2.

    I am writing a scrolling shooting game and I have a dynamic text field that keeps the score.  Running inside an ENTER_FRAME event listener, it updates all the images.  By tracing the variable "score", I get the good numbers appearing in the output tab, but on the screen, I see only the number 2. It doesn't matter what position in the number, it is (ie: 20, or 10372 or 521), this digit will be displayed.  If there is no number 2 in the partition, the field shows that the word "" Score: "."

    The variable is declared as such:

    var score: int = 0;

    "The text field is called scorecard and is set to"Classic text"and a dynamic text ' and it's 638 pixels wide (almost the entire width of the scene).

    Here's the code to update the scorecard:

    scoreCard.text = "Note:" + score.

    trace (score);

    The track was simply put in to see if the score was being counted until properly, what is.

    I also tried to eliminate "Score:" and simply used:

    scoreCard.text = score.toString ();

    and got the same results.

    Any ideas of what could be the cause?  From everything I've read, this method should work.

    Eric Gray

    Incorporate (police) all the numbers, and then try again.

  • How to add an animation to a text field with two lines?

    I have a text field with two or more lines. Why is it not possible now to apply a text animation?àpe_textfield.jpg

    Animating text, by design, only works on a single line of text.

    To use it for multiple lines, you can either create two separate titles or keyframing to create your own animation effect.

  • remove all punctuation - only letters and numbers

    Hello

    How can I remove all the punctuation marks . As a result, only the letters and numbers stand ?


    Example:

    Chain before: "§ 67778 / % & $45-§§ 5FCGZZ-GZGUU(=&/+%/&%E$Dfcfhzb+++zvb).

    String that follows: 67778455fcgzzgzguuedfcfhzbzvb

    My Code so far:

    REPLACE)

    REPLACE)

    REPLACE)

    REPLACE)

    REPLACE)

    TRANSLATE)

    LOWER (TRIM (DESIGNATION))

    , '@-.', '@' )

    , ' ', '')

    , ' ', '')

    , '', '')

    , '-', '')

    CHR (10), ")

    Thank you for your help in advance

    2890953 wrote:

    How can I remove all signs of punctuation. Thus, only letters and numbers stand?

    Example:

    Chain before: "§%67778/%&45$$---§§$5FCGZZ-GZGUU (=&/+%/&%E$Dfcfhzb+++zvb.

    String that follows: 67778455fcgzzgzguuedfcfhzbzvb

    My Code so far:

    REPLACE)

    REPLACE)

    REPLACE)

    REPLACE)

    REPLACE)

    TRANSLATE)

    LOWER (TRIM (DESIGNATION))

    , '@-.', '@' )

    , ' ', '')

    , ' ', '')

    , '', '')

    , '-', '')

    CHR (10), ")

    In Oracle 10 and above, use regular expressions:

    SQL > select

    2 regexp_replace ("' §%67778/%&45$$---§§$5FCGZZ-GZGUU (=&/+%/&%E$ Dfcfhzb +++ zvb ',' [^ [: alnum:]]') s '")

    3 of

    4 double;

    S

    -----------------------------------

    §6777845§§5FCGZZGZGUUEDfcfhzbzvb

  • Dear Sir, I am facing problems with my creative packeger office, I chose to deploy IT, PS and Adobe Dc Pro on some of our clients, but installation is arrived with only HE and PS. What is the problem? Thank you

    Dear Sir, I am facing problems with my creative packeger office, I chose to deploy IT, PS and Adobe Dc Pro on some of our clients, but installation is arrived with only HE and PS. What is the problem? Thank you

    Hello

    Acrobat is what we call an 'exception' and needs a slightly different steps to install.

    The following document gives details on the deployment of both DC and XI of Acrobat since a CCP package versions.

    Using creative cloud | Deployment of Adobe Acrobat

Maybe you are looking for