How can I have popup text when user types something wrong?

I have some textarea and textfields created dynamically. I have set of rules in a text file. How can I have these rules popup when users make mistakes(e.g., forgets to capitalize the name)?
Please provide your input.
Thx.
M

Mike
From your addendum I'm guessing you are wanting to do this with a JSP or servlet. If so Ali's suggestion won't work becuase he's working with Swing components. It is always helpful if you specify the technology you're using: JDeveloper is a tool for writing many different types of Java programs.
If you want to produce pop-up windows in JSP then you have to use JavaScript.
If you're using DataWebBeans and want to use JavaScript you have to change (ie subclass) the WebBeans so that they have HTMLFieldRenderers that allow you to attach Javacript to a TextField (or whatever). This is not a small job but is worth it for the flexibility you'll gain.
If you're using datatags I should imagine it's easier because you can add JavaScript functionality directly to the HTML input fields e.g. in the Input page, but I imagine you'll still have to subclass your own datatags to do the same for the Update pages.
GoodLuck().youllNeedIt, APC
null

Similar Messages

  • How can we enable tick icon when user click any button

    how can we enable tick icon when user click any button in captivate 6@

    hi first of all thanks for imitate action.
    actually i want to make a menu (TOC) with tick icons, on starting all ticks are disabled but when i click on any button from my menu i want to enable tick for that particular button so that user can know easily the visited button.

  • How can I have Tibetan text correctly displayed on firefox?

    I would like to view websites with tibetan unicode text displayed. how can I view this text correctly, rather than just squares and muddled bits of letters? I've tried downloading tibetan fonts from Play, but they don't work. Thanks.

    I could only find a Tibetan Spellchecker add on firefox. But have you tried the keyboard: [https://play.google.com/store/apps/details?id=org.ironrabbit.bhoboard]
    [http://en.ironrabbit.org/howto]

  • I am 63 yrs. old and I just want to use my iPod for music.  As soon as I turn my iPod on, it connects to the internet.  How can I have control over when I do or do not connect to the internet?  (I have wifi)

    Help!  I have an iPod Touch 5th generation with iOS 8.1 that I just purchased two days ago.  I am of the early 70's generation and this is all new to me.  I have wifi at home because i have a laptop.  I want to use my iPod mainly for creating playlists and then playing it through my stereo.  When I turn my iPod on, it automatically connects to the internet.  How can I control when I connect to the internet?  I am not a kid wanting to use all the "gadgets" please help me so I don't feel that I've totally wasted all of this money on this purchase!  Thank you so much for your help!.

    Hey Evawantsin, turning off Wi-Fi as suggested by Illaass will do the trick, but how are you connecting to your stereo? If it uses Wi-Fi, then you need to turn the Wi-Fi on for music sessions. If through Bluetooth your fine, or do you use a physical connection like a dock, USB to lighting cable or do you just plug in through the headphone port with a patch cable? Also, you can down load the iPod Touch Users Guide for iOS 8 for free from iTunes. It will answer most questions, or at least point you in a direction. Hope this helps. Good luck, Cheers.

  • How can I configure EP for when user couldn't logon on if a session exists?

    Hi everybody
    I need configure on SAP EP this condition, but I don't know how can I do it?
    1. User 1, logon to SAP EP on computer 1.
    2. Then the user changes the ubication, then the user try to logon on computer 2, when he try to log on SAP EP. It returns and error because, a session of logon is on.
    Note: SAP EP can't permit, that any user can logon for more two times on server.

    I don't think you can quiet achive that. Reason being portal is a stateless. That means when you make initial request to portal, make a logon and then land at the page having some roles, navigation menus, content area etc all it store is a cookie. It neither store any information of who has just logged on nor who navigated from Role A to Role B.
    When you navigate through TLN or call an iView, portal consider it as a new request. This time too portal does not know who has made a request. Now the question is how does it know if a specific iView is to be displayed as it is assigned to you or not? This is done using a cookie named saplogon ticket. When you make a request inside portal, all it have is this cookie and no information of who you are? So it just checks the cookie for the authorization and OKs the request and hence you get access to iView or a role or whatever.
    Now coming back to your scenario, when user has already logged on from computer 1, say saplogon ticket1 is created and is used for further navigation and authnetication. However, when you try to logon from computer 2, your portal session does not have any information about saplogon ticket1, instead it generates its own cookie say saplogon ticket2.
    That means, portal cannot retain the state of the earlier request made by you from computer 1.
    I hope this clears your question.
    Ameya

  • How can i show input text when no row present in database.

    Hi All,
    I am using Jdeveloper 11g Release1(11.1.1.4.0)
    I have created EO and VO which is based on that EO.
    By using Vo i have designed .jspx page ,on that page i have taken adf form which is based on that VO.
    My problem is when database table is blank (i.e zero row) then input text on page not displayed.
    I want to show blank input text when such condition occurs.
    Thanks
    Imran.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • How can I have a text field that auto detects a previous entry?

    Like I have a text field example "First Name" and I want to be able to add another text field that will auto detect that input.

    Hi,
    Sorry we do not support this.
    To add a feature request please go to http://forums.adobe.com/community/formscentral?view=overview and click on "Submit Feature Request" in the Resources section on the right.
    To vote for an existing feature request already entered in our database, please go to  http://forums.adobe.com/community/formscentral?view=overview and click on "View Feature Request" in the Resources section on the right.
    Thanks,
    Lucia

  • Is there a fax cover template?  If not, how can I have 2 text fields on one line?

    Is there a fax cover template?  If not, how do you add two text fields on one line?    

    No fax cover template. This forum posts explains how to put multiple fields on one line:
    http://forums.adobe.com/message/5032849

  • How can i delete auto predict when i type my login id for gmail?

    i don want auto predict to turn on

    See:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=405630 Bug 405630] – <input type="file"> .value doesn't show full path name any more
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=143220 Bug 143220] – [FIX]Script can get the value of a file control, including the path

  • How can I have a checkbox that a user checks and populates a field with read only text, then if another checkbox is checked it will allow user text input

    Hi
    How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
    var a ="Not Applicable"
    if (this.getField("Do").value == "Yes")
    a=""
    if (this.getField("DoNot").value =="Yes")
    a=a + ""
    event.value=a
    say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
    thanks for any help I am new to javascript

    Are these fields mutually exclusive?

  • I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    That is becuase Pages 5.1 has numerous unnounced surprises for the unwary user.  Among the surprises:
    - it strips out images from headers and footers without warning
    - it strips out bookmarks without wanring (yes, all those bookamrks you laboriously put into a document: poof! Gone.)
    - it strips out alternating left/right margins, without warning.
    There are many more suprises, as you'll see from glancing through these discussions. They fall into two main categories: things that are present in version 4.3 but that are missing in 5.1, things like
    -mail merge
    -meaningful Applescript/Services support
    -non-contiguous text selection
    -ability to set defaul zoom
    -ability to see comments while editing
    -ability to print comments
    -ability to read RTF files
    -ability to drag in hyperlinked ted from a browser
    These about about 90 other features are gone.
    Then there are the bugs.  Hyperlinks do not reliably export to a PDF file any longer. There have been multiple problems with printing report. Some fonts place stray characters in the headers.  Many reports of the program crashing, courrupting files, etc.
    Fortunately for you, the previous version of Pages is still on your system.  Export any documents you may have created or edited with Pages 5.1 (another great surprise: files created with version 5.1 cannot be read by any previous version of Pages: not just 4.3 but even 5.01!).  Then trash 5.1 and use 4.3 until (unless?) it is stable and has a reasonably robust feature set.

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the office) to work on my machine. Even when I login as "the office", my personal library is still showing. Additionally, when I try to setup with a first-time use in iTunes, I get an error that I don't meet the minimum age requirement - no matter what birthdate I enter!

    The library exists regardless of which user is logged in.
    The only way around that is to create different user accounts on the computer.
    There is no way to have 20 unique iTunes users access a shared iTunes under a single login on the computer.

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • How can I have a standard text block appear on the last page of my documents?

    How can I have a standard text block appear on the last page of my documents without having to type it in all the time? I have a terms statement with a line for a customer’s signature which I want on the last page of my invoices and right now I have to type it in each time or cut and paste it from a previous invoice. I already have a Master Page that includes the customer information and my company information at the top of each page and I am using data merge to fill each page with the items ordered and their pictures etc. I would just like to have this standard terms block automatically show up on the last page after the last item in the data merge.
    Thank you all in advance for your help.

    Thank you Peter. This works. I have the text block now at the bottom of a second master page which I apply to the last page. For aesthetics I can modify the position of the text block in the new master page to bring it up from the bottom under the last item ordered when there is less than 4 items on the page. (my data merge fits up to 4 items with their images on a page).  If the last page is full I’ll insert a final page using the second master and also bring it up to the top of the page.

Maybe you are looking for