Best Way to Pop-Up Dialog Box Based on Form Data

Hi,
I'm using InfoPath 2010 to create a submission form in SharePoint 2010.  During the form submission process I'd like to pop up a dialog box if the difference between today's date and the service request date (which is provided by the user) is less than
7 days.  The user only has to acknowledge the dialog box.  What is the best way to accomplish this?
Thanks,
Kevin

Hi,
What is the kind of your form : InfoPath (with InfoPath client on the machine) or InfoPath Form Services (web browser)?
Is this is a an InfoPath form, you can add an action on a button of type "Show message". You can add too a condition on this.
If you use InfoPath Form Services, there is two solution:
- Use managed code to call an alert javascript where you respect your condition,
- Create a new InfoPath View with the message and add an action "swith view" when you click on the button if you respect your condition.
Hope this help.
HI! Could you clarify please, how the 'Switch view' action could be called? I don't see such an option within Rules setup at Infopath 2010.

Similar Messages

  • Printer Pop-up Dialog box

    Hi
    I encounter the printer Pop-up Dialog Box appear upon a
    PrintJob is sent.
    Is there a way to ignore or escape this pop up box?
    Regards

    We have currently upgraded 3 instances and it is happening in all 3 on all PC's. Appears that Oracle has it's own pop-up printer window it uses when printing from the PC instead of using the standard one. I imagine it is slow because of it being java. I'd open an SR but they will just say to update to today's version of java. We can't test in other browsers since IE8 is our standard company wide. I haven't got any hits searching MOS or Google on this so was just wondering if others are seeing the same thing. BTW - Our 11i instances work fine and load quick even on the first print but then 11i is using the PC's standard print pop-up window and not a java based one from the applications.
    FYI - Fuound Bug 9202075 which seems to be the same issue except that we are on java 1.6.07. I have opened an SR.
    Edited by: user649511 on May 20, 2011 7:18 AM

  • Photoshop CS5 pop-ups (Dialog boxes) will not stay / stick in place

    My pop-up / dialog boxes have always opened in the same place as I had placed them from the previous time I had used them. All of a sudden they will no longer stick / stay, they open in the center of the page.
    For example when I first open PS and I click Ctrl > C for Brightness / Contrast the box will open in the center of the page. If I move it to the side (so its not in the working area) it should open in that spot the next time I use it.
    But now it will always open in the center of the page regardless of where I have placed it before. Very annoying it have to move the dialog boxes all the time.

    What OS are you running?
    I know of no way Windows can cause that, but I don't know about OS X.
    If you can't find a direct solution, it might be a case where a complete Photoshop preferences reset to defaults could help...  Press and hold Control - Shift - Alt simultaneously (or Command - Shift - Option if on a Mac) immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set. If it does not prompt you, you haven't been quick enough to get the keys down.
    -Noel

  • How can I Create custom pop up dialog box with question/answer

    I need to create a pop up dialog box that asks a question and accepts an answer input.  The form needs to be able to be emailed out (not server based)  Can someone help me do this?  I am a designer,  with very (Very!) limited coding skills.   Looks like the windjack program that I keep running into does not work with Acrobat X.
    Thanks for any help you may have

    I am not able to help you with the current method you are using - which seems an odd one in that you are using a menu script to do this????
    I would have done the page completely differently - instead of slicing it up into a vastly complex table, I'd have added the image to the page and then used an imagemap.  Then I'd have used this script to add the popups (as toolitps) that you can be as simple or as complex as you wish: http://boxover.swazz.org/.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Move an application "pop-up" (dialog box) with keyboard possible?

    Is there a way to move an application's pop up (dialog box) with a keyboard command/shortcut? I had a situation where I was not connected to my 2nd monitor and an application popup box was opening on that 2nd (*not connected*) monitor.
    I hate to say this; but on a PeeCee, a user can move a window via the keyboard. Is this possible on a Mac? Thanks!

    no, it's not possible on a mac. if the popup open on the other monitor connect the second monitor and move the popup with a mouse. it should open on the main monitor form now on.
    If you don't have a second monitor at all do the following.
    1) goto System Prefs - universal access - enable access for assistive devices.
    Paste the following into Script Editor and press run. This will move all offscreen windows currently open on the second monitor to the main screen.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    –– Example list of processes to ignore: {"xGestures"} or {"xGestures", "OtherApp", ...}
    property processesToIgnore : {}
    –– Get the size of the Display(s), only useful if there is one display
    –– otherwise it will grab the total size of both displays
    tell application "Finder"
    set _b to bounds of window of desktop
    set screen_width to item 3 of _b
    set screen_height to item 4 of _b
    end tell
    tell application "System Events"
    set allProcesses to application processes
    set _results to ""
    repeat with i from 1 to count allProcesses
    set doIt to 1
    repeat with z from 1 to count processesToIgnore
    if process i = process (item z of processesToIgnore) then
    set doIt to 0
    end if
    end repeat
    if doIt = 1 then
    tell process i
    repeat with x from 1 to (count windows)
    set winPos to position of window x
    set _x to item 1 of winPos
    set _y to item 2 of winPos
    if (_x < 0 or _y < 0 or _x > screen_width or _y > screen_height) then
    set position of window x to {0, 22}
    end if
    end repeat
    end tell
    end if
    end repeat
    end tell
    </pre>

  • BDC for pop up dialog box.....

    Hi Experts,
                 I need urgent help in BDC.
    I want to handle BDC for the pop up dialog box.
    Please help.

    hi
    can u he a bit clear

  • The pop-up dialog box, such as on Facebook, is truncated. It chops off the command buttons.

    The pop-up dialog boxes, such as those on Facebook, are truncated. The boxes are 1/2 of normal size with the bottom 1/2 gone, including the command buttons, making it useless. Since yesterday evening, ALL dialog boxes on Facebook and Zynga are affected. I can't post anything from the pop-up boxes.
    == This happened ==
    Every time Firefox opened
    == yesterday evening

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Open pop up dialog box

    I read on article i.e to create new pop up dialog box. We have to use launchListener"#{backing_bean.handleLaunch}" to pass parameter to corresponding pop up dialog box.
    Anyway I tried to do the same job declaratively by using setActionListener instead of launchListener. The pop up dialog box gets the passed parameter using EL #{prossesScope.param} And it works.
    Is this fine technique or not recommended at all?
    Regards
    Eric H

    Hi,
    its fine as well. As soon as the dialog is opened the process scope becomes accessible. With multiple parameters you will however find it more convenient to use the launch listener as describe in
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex003.htm#CEGDAHEA
    because a setActionListener can only set one parameter at a time
    Frank

  • Confirmation Pop up dialog box

    Hi All,
    I want a pop up dialog box to be open on click of my create button asking "whether you want to submit the page"
    Need help
    Regards

    Hi Trent
    I have a create button. On the button optional URL target section, changes the Target as URL and the URL Target as
    javascript:apex.confirm('Are you sure you want to submit?', 'CREATE');
    I tried with this even
    javascript:apex.confirm('Are you sure you want to submit?', 'SUBMIT');
    But in both the cases the funtion is not calling.
    Regards

  • Please help!! How to communicate between applet and pop up dialog box

    Hi friend,
    I have done a AWT pop up dialog box from Applet. In this pop up dialog box, I want get user name, and display on an Applet, anyone can tell me how to do? Thanks a lot!!!!
    Alva

    You need to create two methods in your applet, getName and setName as well as a name field.
    private name = "";
    public void setName(String n)
        name = n;
    public void getName()
        return name;
    }The various constructor methods for Dialog already take the owner of the Dialog (your applet) as a parameter, so in your applet's ActionEvent handler, all you have to do is call
        name = textName.getText().trim();
        owner.setName(name);Yes, it's that easy.

  • Best way to fill a datagird with A LOT of data?

    What's the best way to fill a datagrid with A LOT of data.
    I'm talking about something like 10,000 rows. Can the datagrid
    handle it? No screen is large enough to show 10,000 records..... is
    there a way to load 50, and then when a user scrolls down it loads
    the next 50 etc...?

    Right. It's not recommended that you load 10,000 rows into
    the datagrid at once. Using the data management service with paging
    enabled is a much better solution. See the Configuring the Data
    Management Service chapter in the Flex2 Developer's Guide for more
    info.

  • EMail Submit button with mailto: based on form data

    Based on form data, I would like to have an email button that sends mail to the email address identified in the email field. Obviously this can change, how would one go about programming a button to send to email based on field data?
    Thx...
    /cw

    Hi Chris,
    Yes this can be easily done. I gathered the following solutions from various threads and so I am not claiming any originality here...
    Set up a textfield "Email", with a tooltip telling users to separate email addresses with a ";".
    Next set up a regular button with the following Javascript in the click event:
    var email = xfa.resolveNode("form1.#subform.Email").rawValue;
    var subject = "Specify your subject line here"
    event.target.submitForm({cURL:"mailto: "+ email +"?subject=" + subject +"&body=You can also input some standard text to appear in the body of the email.",cSubmitAs:"PDF",cCharset:"utf-8"});
    You might want to put an if statement that if the "Email" textfield is blank/null that an app.alert comes up informing the user to input at least one email address.
    We took it a stage further on one of our forms. We set up three checkboxes with people's names who are regularly sent the form (nod and cc1 and cc2) and then a textfield "additional" for additional addresses.
    Each checkbox had an associated Textfield (EM1_email, cc1_email, and cc2_email) that were invisible. Each checkbox had similar Javascript in the mouse up event:
    if (this.rawValue == 0) {
    EM1_email.rawValue = null;
    else {
    EM1_email.rawValue = "[email protected];";
    Then we set up another invisible textfield (Email) which had the following Formcalc in the calculate event:
    if (nod.rawValue == 0 & cc1.rawValue == 0 & cc2.rawValue == 0) then
    $ = null
    else
    $ = Concat(EM1_email, cc1_email, cc2_email, additional)
    endif
    This basically pulled the email addresses from the ticked checkboxes and the additional user inputted email addresses into one text field. From there the regular button with the script above send the email. This speeded up the process for regular reciptents.
    If you search the forum for topics such as cURL:"mailto: you should see lots of other examples.
    Good luck,
    Niall

  • Is there any way to popup a dialog box when user try to create a new folder?

    Hi
    I want to add a pop up dialog ,using Flex custom UI dialog, when use click "New Folder" in Adobe Bridge ? Then user can input folder name in this dialog.
    Or I want to put this way,  is there any way to display Flex custom UI dialog and get user's input in my CreateDirectoryHandler implementation?
    The Adobe Drive SDK doesn't elaborate clearly about how to interact with custom UI dialog.
    Thanks a lot!

    Hi jmc,
                 See the links below.This will be helpful to you.
                 http://forums.ni.com/t5/LabVIEW/A-picture-as-a-dialog-box/td-p/236851
                 http://forums.ni.com/t5/LabVIEW/Dialogbox-with-user-input-and-image/td-p/1601214
    Thanks as kudos only

  • Create shape pop-up dialog box

    I am trying to determine what I perceive as a quirk in the Draw Shpe tool (Rectangle, Ellipse, etc.). Usually, I touch the tool, draw my shape and... done! But occasionally through some accidental mouse-motion that I cannot determine, I get the shape plus the pop-up dialog shown below. Can anyone tell me
    What mouse-movement, apparently just as I have completed the shape, is bringing up the dialog box?
    Is there a way to prevent this from happening in Preferences?
    Is this new to Photoshop CC? I have been a casual Photoshop user since Version 2, but I have only seen this in CC, and then, only in the last month or two.
    Thanks to all who can shed some light!

    I solved the problem, and, as it turns out, it had nothing to do with Photoshop, but rather with a mouse that had started to go bad. I replaced the mouse and all mouse-motion behaviors returned to normal.

  • How do I delete items in the autofill pop up dialog box?

    I have been looking for a way to delete the information in the dialog box that pops up when filling in the subject line of emails, or performing web searches, that saves earlier entries for re-use. It is annoying to me and I'd love to turn off this function if possible.
    Any ideas or suggestions?
    I can't seem to find where this function is controlled from.
    Thank you-
    Power Mac G4   Mac OS X (10.3.9)   Airport extreme

    Thank you Kappy,
    That worked. I had never opened the edit function of the Other Forms listing before. I appreciate your help. Problem solved.
    Jim
    If you are referring to the function Safari it is
    controlled in Safari's preferences. I'm not aware of
    any such autofill in Mail except for the addressee.
    That is controlled in Mail's preferences (Composing
    icon in toolbar.) Mail also fills in addressee
    information from its Previous Recipients database.
    You can view and edit it by selecting it from the
    Window menu in Mail's menubar.

Maybe you are looking for

  • ITunes Match wants to realce my library by a empty new library

    I am trying to add my iTunes Mac to a new Mac, but when I turn on iTM it says that it will realce my library with the new Macs library. I can only accept or cancel.. Please help me...

  • Problem in starting the bi services

    hi Friends, i got a problem while running BI services. Shared services, Analytic services and the License manager are running . i have not configured any database in hyperion configuration utility. here is what I get when I run startCommonServices.ba

  • Having trouble seeing tree on the publish page.

    After creating my policy I click on the publish tab. All is see is the o=domain, and cn=server,o=domain . I authenticated to edir. Not sure why I cannot see the rest of my tree. My authenticated user has full rights to the edir tree. I am logged into

  • ESB Console: No Instances after reset.sh

    Hi I recently ran reset.sh on my 10.1.3.3 instance. Since then I cannot see any instances in the ESB Console. Also, there are no records in any of the ESB tables I expect, such as ESB_FAULTED_INSTANCE The reset.sh ran successfully and I was careful t

  • How to make letter profile picture?

    How do I make photos like this? Help would really be appreaciated. The pictures and profile picture of twitter @slollz