Telephone Number Edit Mask in jsff

Is there any adf component that supports telephone number masking?
We already have a javascript for the TN masking feature. To put it to use we need to generate the HTML output like this
<INPUT onkeypress=handleMaskKeyPress(this); oncut=handleMaskCut(this); onpaste=handleMaskPaste(this); id=rangeFrom onkeydown=handleMaskKeyDown(this); ondrag=cancelMaskEvent(); onkeyup=placeMaskCursor(this); ondrop=cancelMaskEvent(); onfocus=placeMaskCursor(this); onclick=placeMaskCursor(this); maxLength=12 onselect=placeMaskCursor(this); value=" - - " name=rangeFrom mask="###-###-####" autoComplete="off" cursorPos="-1">
How to attach these custom attributes like mask and cursorPos along with client event handlers to <af:inputText />

Hi,
First say ur Jdev Version................
U can validate in ADF in both Model and ViewLayer itself... In ViewLayer u can have Validators as regular Expression Validators
Have a look into these first....
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_validateRegExp.html
http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/af_validate.htm#ADFUI827
Regards,
Suganth.G

Similar Messages

  • Vendor Master report with address, telephone number & email ID

    Dear All,
    Kindly provide to me T Code for Vendor master report along with vendor address,Telephone number & email ID.
    Krajesh

    Hi Rajesh .... in case customer require specific information, you can also try using sap queries (trust me it is not as difficult as it sounds but the results are just great ;-):
    queries
    Table SZA1_D0100 have the following fields
    SMTP_ADDR (E-mail Address) ; TEL_NUMBER ; MOB_NUMBER ; FAX_NUMBER
    For address check table ADDR1_DATA
    Common join should be Vendor among these 2 tables
    Hope this helps !!!
    Edited by: m_n_novice on Aug 7, 2009 11:08 AM

  • EDIT MASK  with ALVGRID

    Hi,
    i need to display a number in ALV GRID with this format:
    +/- ###.###,##
    fo example:
    1.000.000,000   = 1.000.000,000
    1.000.000,000 - =  -1.000.000,000
    How can i solve?

    Hi Salvatore,
    Check this sample code for edit mask with ALV :
    http://www.sap-img.com/abap/sample-programs-on-alv-grid.htm
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/33/206bc8012e11d3b495006094192fe3/content.htm
    Regards,
    Chandra Sekhar

  • Table which stores SU01 Master Data (Telephone Number)

    Hi Experts,
    We goto SU01 tcode to get the master data of SAP ID. I was able to track the table which is updated for all except the TELEPHONE NUMBER which is present there.
    Could you please advice in which table the TELEPHONE NUMBER is stored ? I tries USR* and ADR* . Updating the telephone number in that table is not updating it in SU01 .
    Regards,
    Kausthub

    Hi Sri,
    Thanks a lot. Thats precise. Points given
    Regards
    Kausthub
    Edited by: Kausthub Krish on Jun 12, 2011 11:15 AM

  • After I synced my iphone (4S with ios 8.1.2) using itunes with MS outlook on my new PC , suddenly all my contacts without telephone number and what I have the name of the contact only ?

    After I synced my iphone (4S with ios 8.1.2) using itunes with MS outlook on my new PC , suddenly all my contacts without telephone number and what I have the name of the contact only ?

    I couldn't find the edit button on my original post so I am posting an update here.
    I have gone through more apps and have had good luck on all but one more.  And it's not that the app doesn't work, I am talking about the Yahoo Weather app, It works fine, but when you swipe between cities the screen lags a bit and it sometimes doesn't move between pages the way it should.  On iOS 7.1.2 it was smooth as butter but on iOS 8.0, not so much.  I will post a note in the app store to let them know.  I really like the Yahoo app better than the new stock app.
    I have been going through my games and they all work fine. Angry Birds (Original and Stella), Canabalt, Minecraft, Bejeweled 2, Silly Walks, PopWords, Doodle Jump, Deep Green all seem to work just fine. 
    Starbucks app works as it should. 
    I will stop back again next week after I have had the weekend to play with it in detail and post my thoughts again.

  • Telephone number for Korea telecom freetel?

    I've discovered through AppleCare UK that my phone is locked to a Korean carrier, namely Korean Telecom Freetel
    Does anybody have any experience in contacting this carrier and getting their phone unlocked?
    Does anybody know the telephone number?
    Thanks

    Korean Telecom Freetel hasn't existed as a separate entity since 2009, when they merged with KT. Olleh is KT's current corporate identity, so you might try contacting them and see if they can help you, though if it is locked to them, Apple's most recent information is that they do not provide unlocking services. I don't read Korean either, so you'll have to do a web search for a support phone number.
    Even if they do, in most cases, though, a cell company will only unlock for the person with whom they had the contract, so if you purchased this iPhone used, as I'm guessing is the case or you'd know who it was locked to, you may not be able to get it unlocked.
    Good luck.
    Message was edited by: Dave Sawyer

  • Telephone number text box

    Hi All,
    i have text box as an input parameter in which telephone number has to be entered.
    i need to validate the input entered by the user that the number that they have entered is in the correct format or not.
    the number should be in the below format
    EG: XXX-XXX-XXXX
    Can u guys help me out how to validate the text that has been entered.

    Hi,
    You can split the values and store them in an array.
    Tel := Split ({field},'-');
    Then you could check the array element length.
    If (length(Tel[1]) = 3 and length(Tel[2]) = 3 and length (Tel[3]) = 4) then
    "The telephone number is valid"
    else
    "The telephone number is not valid"
    This way you could check the Telephone Number.
    Hope this helps!
    Edited by: ananth2009 on Dec 2, 2010 12:55 PM

  • ESS .. Make Telephone number mandatory FPM applicaiton

    Hi guys,
    my requirement is to make the telephone number mandatory in the ESS applications. I want to perform this validation in the web dynpro code onsteaed of the back end ans this needs to be made mandatory just for emergency adress rather than the entire addresses.
    Any thoughts how to do this.
    regards
    Sam
    Message was edited by:
            sameer chilama

    Hi,
    First create a Label instead of text view for the input field
    of emergency telephone number.
    For this label set the "label for" attribute to the id of the input field.
    for the input field set the "state" attribute to 'required'.
    This will give the visual effect of a mandatory field.
    For Validation you can use the following:
    String t = wdContext.currentTestElement().getTel();
    if (t != null)
       //execute the model here
    else
       wdComponentAPI.getMessageManager().reportWarning("Please enter Telephone Number");
    Hope it helps.
    Regards,
    Alka.

  • Create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hi Experts,
    create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?..
    Previous my thread was locked...Now i want to say thanks to KALYANI L and Richa Dameja,..Now This code i have followed now its working fine..Thanks Great help to Kalyani L..and Richa Dameja.. i have implemented the DO_INIT_CONTEXT.....Now getting result...
    As suggest Kalyani L i have implemented DO_INTI_CONTEXT method,Now its working fine....
    Thanks For support.
    Thanks
    kalpana
    Message was edited by: Andrei Vishnevsky
    Disussion is locked.
    Reason: Re: create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hello Kalpana,
    I've already locked your previous discussion and thought that I gave pretty clear warning.
    First of all "do my job" posts are not welcomed on SCN.
    Second point: you're incorrect in choosing SCN space with such questions. Here is a little which is related to IC in your task.
    Third point is that if somebody has an answer to your exact question then he will give you it if he wants. There is no reason to post-post-post messages asking for help or hurry. Your "urgent requirement" is not the reason either.
    Fourth one is: according to The SCN Rules of Engagement you need to do the search before posting. Almost all of your questions regarding this topic has an answer already.
    Locking the discussion again. If you continue to post such questions I will need to report this situation to SAP CRM space editors and global moderators.

  • How to update the telephone number for a contact person in VAP2.

    hi,
          I want to update the telephone number for a particular contact person in VAP2 from custom transaction. I tried for BDC,
    but it was not updating. Could you plz any one help to solve this issue.

    Try these bapis;
    BAPI_CUSTOMER_CHANGEFROMDATA
    BAPI_CUSTOMER_CHANGEFROMDATA2
    BAPI_ADDRESSORG_CHANGE
    or BAPI_ADDRESSPERS_CHANGE
    Edited by: deniz kaylan on Apr 30, 2010 8:55 AM

  • Edit Mask in ALV add $ sign

    Hello
    Does any one know how to add the "$" sign to costing numbers in an ALV grid?  I tried using Edit_Mask in the field catalog table but doesn't seem to work.  I have a number 9,380,568 and I would like it to be displayed as $9,380,568 on the ALV Grid.  Do I use an EDIT_MASK to do this and should it be gs_fc-edit_mask = '$_,___,___'?   I tried this and  does not work for me.   If I have a zero cost quantity how do I show blanks, do not want the "$" to be displayed if I am using an Edit Mask?
    THANKS

    Hi LydiaMM,
    Try this : -
    DATA TIME TYPE T VALUE '154633'.
    WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 15:46:33
    or
    write sy-datum using edit mask '__/__/____' to sydatum.
    or
    incude a character field of length 10 in your final internal table.
    data: wrk_date(10) .
    then in the loop.. endloop of the final internal table
    suppose sy-datum is varibale which need conversion.
    USE THE BELOW CODE FOR CONVERSION.
    WRITE sy-datum TO wrk_date USING EDIT MASK '__.__.____' .
    Regards,
    Kittu

  • Formatting a telephone number

    How can I display a telephone number in the US format (xxx) xxx-xxxx? I can't find a property similar to MASK in Jdeveloper. Is this formatting even possible? I tried to change the display on the view object but it is disabled.
    Thanks

    We don't yet support formatted phone fields. You can vote on this feature request here: http://forums.adobe.com/ideas/1062
    Randy

  • If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it !

    If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it ! It wont activate. I just recentely got AT&T.  When I had verizon before and my phone got disconnected it allowed me to still iMessage off my number.

    If your phone service is disconnected, it's not your number any more.
    If you "just got AT&T", how can it be disconnected?

  • Skype account yearly telephone number charge

    Hi,
    On Dec 19, 2014 Skype charged me $30.00 for the yearly telephone number, on Dec 22, 2014 Skype charged me $30.05 stating it was for the yearly telephone number.  I had PayPal reverse the charge of $30.00 for the Skype number and received an email from Skype stating that my number will expire in Dec 30, 2014.  I go to my Skype account and it says that my telephone number has expired, so Skype what is up???  Are you trying to say that you’re yearly charge for a Skype telephone number is $60.05?  It was my understanding from Skype that a Skype yearly telephone number was $30.00 per year, yet when I ask PayPal to return one of your charges of $30.00 your email to me and my account says it will be expiring soon, so what is going on????   

     Hello and welcome to the Skype Community.
    You've been flagged for posting a duplicate message which has been removed. Please avoid in future. Due to the chargeback your account has been blocked as a precaution to protect your assets. To arrange unblocking please contact Skype customer service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • HT5622 How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    Create a new Apple ID for the second phone. If you are setting the phones up as new phone enter the ID you want to use on each phone.
    If both phones are already signed in to one Apple ID then use the settings app to change Apple IDs on one phone.
    Settings > iTunes and App Store > tap on the Apple ID > sign out > sign in with alternate Apple ID.
    Note that if you have downloaded apps with the original Apple ID on the phone with the new Apple ID, those apps will still be associated with the old Apple ID and will require the old ID and password in order to update them.

Maybe you are looking for

  • How do I drag open and close on release?

    Ok here is what I am trying to do. I have an HD video that I shot of curtains or drapes opening and closing. I would like to make something in Flash where someone could click one side of the curtain and pull it open. When they release the mouse it sh

  • New IOS 7 Design in apps

    After updating new IOS 7, the background colors on Notes, Calendar, Contact are impossible to look at? Is there any way to change it, or should I just look to change from ipad, iphone to Google Nexus or Samsung Galaxy? which are getting better and be

  • Capitalization of Down-payments against AUC

    Dear Experts, Please help me in knowing that when do we use the following GLs assignments in T-Code AO90 : 1. Acquisition: down payments 2. Down-payments clearing account How do these operate, I believe : 1. when a down-payment is posted with a Purch

  • Eul5 tables worksheet parameters

    Hi, I have been asked to define an sql that will retrieve records that include: workbook name, worksheet name, param1 workbook name, worksheet name, param2 etc. The purpose is for a user of Oracle Forms to choose a workbook from the list of all workb

  • False warning C4389 with Microsoft compiler

     UINT uLong = 0;  WORD byVal = 1;  WORD byVal1 = 3;  if (uLong != (byVal * byVal1))   printf("Correct");  else   printf("Incorrect"); Above code gives me "warning C4389: '!=' : signed/unsigned mismatch" As all the variables involved in expression are