Creating a Custom Pop-up Message?

I would like to create a custom pop-up message for a form.  What I'm looking for is when the user types in a series of numbers and if the total is under 650,000 a pop-up message will appear explaining what to do next and then the user clicks okay and the box disappears.  Thanks in advance for any help.

For the messageBox method see http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=001368.html
The attached contains the following logic on the calculate event on the field 'total'
// form1.page1.subform1.total::calculate - (JavaScript, client)
if (form1.page1.subform1.nf1.isNull || form1.page1.subform1.nf2.isNull || form1.page1.subform1.nf3.isNull || form1.page1.subform1.nf4.isNull) {
  this.rawValue = null;
else {
  var total_ = form1.page1.subform1.nf1.rawValue +
      form1.page1.subform1.nf2.rawValue +
      form1.page1.subform1.nf3.rawValue +
      form1.page1.subform1.nf4.rawValue;
  if (total_ < 650000) {
    xfa.host.messageBox("The total must be 650,000 or greater. Please review...","Total LT 650,000",1);
  this.rawValue = total_;
The code assumes that fields n1 - nf4 are mandatory. If you need to do the validation prior to an action such as print or save, you will need additional logic to force the calculate to fire.
Steve

Similar Messages

  • Create a custom pop up text (warning) while entering a specific Vendor.

    Hi all,
    I would like know the steps to create a custom pop up text (warning message) while entering a specific Vendor number in the ME51 or ME51N screen. This test would be an instruction or a text for user to be aware off.
    Is it even feasible?...if so can someone please provide me with some steps or instructions on how to proceed?
    Thanks,
    El Matador.

    >
    matador wrote:
    > Hi all,
    >
    > I would like know the steps to create a custom pop up text (warning message) while entering a specific Vendor number in the ME51 or ME51N screen. This test would be an instruction or a text for user to be aware off.
    >
    > Is it even feasible?...if so can someone please provide me with some steps or instructions on how to proceed?
    >
    > Thanks,
    > El Matador.
    Hi
    In PR Vendor is not a mandatory to enter and even you can add warning message Go to SE91 and select appropriate message and activate for PR

  • How to create a verification pop-up message for queries executed on Web

    I have implemented the function RRMS_MESSAGE_HANDLING in my customer exit variable code for step 2  in the customer include ZXRSRU01.  I am able to get warning and error messages to appear in Bex Excel queries, but not queries executed on the Web.  I have also tried implementing these queries in a Web Template which allows system messages and warning messages, but still these messages are suppressed.
    Is anyone aware of how to create warning messages that appear both in Bex Excel and Bex Web queries?
    Thanks for you help,
    Curt Timmerman

    On the Comments screen, just select the notes tool to add the note. When you are done, click to close the note.

  • Message on a custom pop-up

    Hi Experts,
      I have created a custom pop-up which acts like a search for contracts. This opens when i click a custom button on the standard screen. But I need to display some information on the pop-up on how to enter  the search criteria and if there is any error in the entry. If I use 'add message' , I see the messages on the standard screen after I close the pop up. But when I directly execute the pop up component , I see the messages on the component itself on the right corner. Can you please let me know how should i get the messages.
    Thank you,
    Geetha

    Hi Geetha,
    Before open the popup you need to change the display mode. Try this code:
    gr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
    gr_popup->open( ).
    Regards,
    Isaac

  • Re-designing Browser Pop up Messages

    Is there a way you can redesign pop up mesages. E.g. when a user submits a form, or has submitted invalid information you get that defualt browser pop up message. However on some websites I have seen custom pop up messages.
    Is there an extension out there that can create custom pop ups, for things like forms, or is there a way you can do it in dreamweaver?

    Hi,
    Sorry I think I am describing by problem in the wrong way. I have attached a sample of something I would like to achieve.
    However I would like my error message (describing form fields the user failed to fill in) to appear as an customised pop up message, or a pop up window.
    I know that most of this can be achieved using spry validation tool's, but as shown in the example can it create a error message at the top of the form after a user has submitted an incomplete form, or a self-designed pop up message/ window (something that looks like the the error message in the example)

  • Custom Pop Up in SAP CRM

    Hi Guys,
    I have 1 query. I am creating a custom pop up on web ic screen
    I have added 2 radio buttons on screen. I am having issue in capture the checked radio button on event handler.
    Please suggest. Thanks in advance.
    Regards,
    Nitin

    Hi Pankaj,
    did you already check the guide in the CRM Wiki:
    https://wiki.sdn.sap.com/wiki/display/CRM/WelcomeUserMessageinWeb+UI
    Hope this answers your question.
    Best Regards,
    Michael

  • Creation of Custom IDoc with Message control for sales Order

    Hi all,
    I am trying to create custom Outbound IDoc with message control.
    I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
    Please list me the steps to create a custom IDoc for Message control.
    Thanks in advance,
    Regards,
    John.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • Seeking examples of custom XML Gateway message map

    I've been asked to create some custom XML Gateway message maps for inbound/outbound XML data feeds.
    I've followed along at [this tutorial|http://docs.oracle.com/cd/E12839_01/integration.1111/e10537/T430238T430339.htm#T430357], but it stops short of telling me how to define a custom message map.
    Does anyone know of a resource I could look at - a web site, book, etc., that would cover the creation of a custom message map?

    Have a look
    http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319778.htm

  • How can I create a pop up message in MULTILINE on WEB GUI?

    Hi Experts,
    I have gone through several thread to search if I can write pop up message in more than in one line.
    for example...
    title: continue ?
    SDD no12366
    customer name: abc ltm
    lines: 2 lines records
    gr_pers_popup = comp_controller->window_manager->create_popup_2_confirm(
                        iv_title = 'CAUTION - Continue Import ?'
                        iv_text = lv_text "'SDD-1234676; Cust - ABSOLUTE GLASS WORKS; Lines - 2'
                        iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno
        gr_pers_popup->open( ).
        gr_pers_popup->set_on_close_event( iv_event_name = 'Confirm' iv_view = me ).
    Please advise, if any work around available to display multiple line on pop_up_confirm text on WEB UI .
    Thanks in advance.

    Multiline messages cannot be shown on standard Pop Up. In case you need multiline messages then create a new view, use it as a pop up and then you can show text messages as per the business requirement.
    The blog mentioned above (http://wiki.sdn.sap.com/wiki/display/CRM/CallingCustomcomponentaspopupfromastandardcomponentinCRMWEBUI-Part+2) will definately help you
    Rg,
    Harshit

  • How to configure a pop up message when creating an appraisal?

    Hi All,
    I have a question.
    When the supervisor creates an appraisal for an employee, the supervisor is obligated to create Objectives for the employee but creating Competencies are only optional for executives (people group). When the supervisor has finished creating the appraisal and wants to review it, he will need to click on a Continue button.
    When the continue button is pressed, a warning pop up message will appear if the competencies created was null. As it is only a warning pop up message the supervisor can just click ok and continue to the review page.
    Now I am needed to configure this pop up message for the appraisal creation page and I would like to know how do I go about in searching for it? Should it be in the OAF java files or is the pop up message can be configured using personalization? I just want to know how to search for the configuration of this pop up message. Thank you
    regards,
    Ilham

    Hi Sheela,
    Though you made 'Dataline' field as mandatory, system will throw an error message and will put MOUSE CURSOR on that missing field. So ultimately user would come to know that a particular field is missing.
    And in SAP there would be lots of mandatory fields and it's really not feasible to put pop-up messages for such requirements and that too in transactions like CMR. 
    Tell user that system will automatically put MOUSE CURSOR on a particular mandatory field anytime anybody misses to maintain it. As a SAP consultant, your job is to convince the user with such standard functions.
    If at all you want to put pop-up message for it, then you need to go for User Exit development.
    Revert back if any further issue.
    Regards,
    Anup

  • Pop up message in custom infotype screen

    Hi Expert,
    I have one custom infotype with field zzdest ( destination airport) which show all destination airport like mumbai,delhi etc.this
    airpot are mainatin in an ztable  ZR_HR_DES. while user selecting destination some name will be wrong like mumbay instead of mumbai  in the custom table at that time it should show the pop up message that please select mumbai instead of mumbay.
    can any one suggest me how to do this.
    Regards,
    Mdaddu

    When user give a text that is not in your table, you may try to fill an internal table with similar text and then use this internal table in a popup select FM like REUSE_ALV_POPUP_TO_SELECT.
    Some way to fill the internal table
    - with leftmost part of the name removing rightmost character until you get some records (remove right most character and add wildcard til select returns some records) (will identify incomplete text or error at rightmost characters)
    - converting erroneous input to a range replacing every character by a wildcard (DO length(str)/replace sy-tabix character by wildcard and append to a range) (identify a single mistake on a character)
    - wait til SAP implements a [Levenshtein distance|http://en.wikipedia.org/wiki/Levenshtein_distance] rule in SQL...
    Remarks: why don't you use an "official" airport code like ICAO or IATA to identify an airport, a text like "Bombay",  "Mumbai", "Sahar" or even "Chhatrapati Shivaji" can refer to the same airport, and many cities have more than one airport (eg. Juhu for small private aircraft)
    Regards,
    Raymond

  • [CLOSED]How to create a custom messages

    Hi All,
    I have a page and one save button .on press of save button, i want to show a custom message like "Applied changes are saved."
    Can anybody please elaborate how to create a custom message and how to show it through Controller.
    may i use
    OAException message = new OAException("AK",
    "FWK_TBX_T_EMP_DELETE_CONFIRM", tokens, INFORMATION, null);
    -Thanks,
    Avinash
    Message was edited by:
    user624747

    When i used the code
    OAException confirmMessage = new OAException("JTM","JTM_SAVE_SUCCESSFULL",null, OAException.CONFIRMATION,null);
    throw confirmMessage ;
    i am getting following error :
    Error :
    Application: JTM, Message Name: JTM_SAVE_SUCCESSFULL.
    I have created the message "JTM_SAVE_SUCCESSFULL" through
    Application Developer --> Application --> messages responsibility and given its type as error , application as "mobile application foundation" and then "ran the generate message" program.
    After that i checked the fnd_new_message table . the message is there.

  • Creating a custom 404 message

    This is somewhat beyond an iWeb topic, but I thought I'd try. ..
    I would like to create a custom 404 message because Google picked up on some of the pages that I have since deleted. My webhost says to create my custom error html page and to also create a text file called .htaccess, in which I have the following message:
    ErrorDocument 404 /MyCustomErrorPage.html
    I put both the custom page and the text file in with the other html files as directed, which gave me a different message (405, was it?), but it didn't show my custom page.
    Does anyone else have good instructions on how to do this?
    Thanks,
    roxpat

    Not all servers will let you put an .htaccess file in your space, so you may need to check that. Also it has to be at the topmost level of your space. The reference to your custom error page has to be accurately reflect where that page is in the file structure of your space.

  • I would like to create a custom Logout Message for users

    I would like to create a custom Logout Message for users.
    When users click the Logout button, I would like a message appear saying have they made a backup of their data.
    I know I could use LogoutHook script but I will need some help in creating one to do the above

    Can't help with that. You might post to the AppleScript forum.

  • Create a pop up message on WAD using Javascipt

    Can someone explain me or give me samples to create a simple pop up msg upon user click on the report (before variable scree).  It can also be after the variable screen.
    I was trying to use the Javascript with Alert function but so far no luck. I need to know the steps as well.
    Thanks

    Hello,
    What i can recommend is to create a HTML pop up box and provide its link for the report instead of report link.
    Now when they click on the report link it will open the popup. Now in the popup provide a button titled continue.
    now for this continue button provide on click event to call the report link.
    Regards,
    Shashank

Maybe you are looking for

  • Having 2 i-tunes accounts on one device

    I have a Mac Book Pro with an I-tunes acct.  We have several Apple devices such as i-pads, i-pods and phones and we all share one I-Tunes account.  My daughter just got her first i-phone and wants her own i-tunes account.  My question is:  Can I have

  • Cisco Call Manager Question

    Hi, I have a quick question on the Cisco Call Manger.  Is it possible to have a Cisco call manager store a list of contacts, and then transfer all the list to any phone that registers to it?  Furthermore, if this is possible, will the contacts be sto

  • Snow Leopard 10.6.8 and Creative Cloud.

    I have a CC membership and would like to put Premiere & After Effects on my older Mac (10.6.8).  I am having issues finding a way to do that.  Any help would be great.

  • Is OMS required?

    OS: W2K server. I've decided to go 2 tier approach so, my IFS and DB are running in the same machine which is server and domain controller. I hope I'm not makning any mistake on the terminology here. Eventually my DB up and IFS runs, but I cant disco

  • I have a MacBook Air with iPhoto 9.2

    I have a MacBook Air with iPhoto 9.2 and am unable to open my iPhoto library.  It opens and closes immediately.  The software is updated.  I recently attempted to migrate my software off my old macbook pro, could this have caused the problem?